/* ============================================
   MODERN DARK THEME - Inspired by SieuThiCode
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --primary-bg: #000000;
    --secondary-bg: #0a0a0a;
    --card-bg: rgba(15, 23, 42, 0.8);
    --accent-blue: #0ea5e9;
    --accent-blue-light: #38bdf8;
    --accent-gradient: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --border-color: rgba(14, 165, 233, 0.3);

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 56px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(14, 165, 233, 0.5), 0 0 80px rgba(14, 165, 233, 0.2);
}

/* ============================================
   AUTH PAGES (Login & Register)
   ============================================ */

/* Body & Wrapper with Grid Pattern */
body.auth-page {
    background: #000000 !important;
    background-image:
        linear-gradient(rgba(14, 165, 233, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 20% 30%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(56, 189, 248, 0.08) 0%, transparent 50%) !important;
    background-size: 50px 50px, 50px 50px, 100% 100%, 100% 100% !important;
    background-position: 0 0, 0 0, 0 0, 0 0 !important;
    min-height: 100vh;
    position: relative;
}

.auth-page .wrap-login-page {
    background: transparent !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-lg);
}

/* Login Box */
.auth-page .login-box {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 2px solid var(--border-color) !important;
    border-radius: var(--radius-xl) !important;
    padding: var(--spacing-xl) !important;
    max-width: 300px;
    width: 100%;
    box-shadow:
        0 0 0 1px rgba(14, 165, 233, 0.1),
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(14, 165, 233, 0.15) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    position: relative;
}

.btn-pro {
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
    backdrop-filter: blur(4px);
}

/* Hiệu ứng hover nâng cao */
.btn-pro:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* Gradient chạy */
.btn-pro::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.btn-pro:hover::before {
    transform: translateX(100%);
}

/* Ripple effect khi click */
.btn-pro:active {
    transform: scale(0.96);
}

/* Icon nhẹ */
.btn-pro span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.auth-page .login-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.5), transparent);
}

.auth-page .login-box h3 {
    color: #38bdf8 !important;
    font-size: 42px !important;
    font-weight: 800 !important;
    margin-bottom: var(--spacing-sm) !important;
    padding-bottom: 4px !important;
    text-align: center;
    letter-spacing: -0.5px !important;
    line-height: 1.2 !important;
    -webkit-text-fill-color: #38bdf8 !important;
    background: none !important;
}

.auth-page .login-box .body-text {
    color: var(--text-secondary) !important;
    font-size: 16px !important;
    margin-bottom: var(--spacing-lg) !important;
    text-align: center;
    line-height: 1.6 !important;
}

/* Form Fields */
.auth-page .form-login fieldset {
    margin-bottom: var(--spacing-sm) !important;
}

.auth-page .form-login .body-title {
    color: var(--text-primary) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-bottom: var(--spacing-sm) !important;
    letter-spacing: 0.3px !important;
}

.auth-page .form-login .tf-color-1 {
    color: #f43f5e !important;
}

.auth-page .form-login input {
    width: 100% !important;
    padding: 16px 20px !important;
    background: rgba(15, 23, 42, 0.5) !important;
    border: 1.5px solid rgba(14, 165, 233, 0.2) !important;
    border-radius: var(--radius-md) !important;
    color: var(--text-primary) !important;
    font-size: 16px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.auth-page .form-login input:focus {
    outline: none !important;
    border-color: var(--accent-blue-light) !important;
    background: rgba(15, 23, 42, 0.7) !important;
    box-shadow:
        0 0 0 3px rgba(14, 165, 233, 0.1),
        0 0 20px rgba(14, 165, 233, 0.2) !important;
    transform: translateY(-1px) !important;
}

.auth-page .form-login input::placeholder {
    color: var(--text-secondary) !important;
    opacity: 0.5 !important;
}

/* Password Field */
.auth-page .form-login .password {
    position: relative;
}

.auth-page .form-login .show-pass {
    position: absolute;
    right: 20px;
    bottom: 16px;
    cursor: pointer;
    color: var(--text-secondary) !important;
    transition: all 0.3s ease;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-page .form-login .show-pass:hover {
    color: var(--accent-blue-light) !important;
    transform: scale(1.1);
}

/* Forgot Password Link */
.auth-page .forgot-wrap {
    display: flex;
    justify-content: flex-end;
    margin: 2px 0 0 0 !important;
    padding: 0 !important;
}

.auth-page .forgot-link,
.auth-page .forgot-wrap a {
    color: var(--accent-blue-light) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.auth-page .forgot-link:hover,
.auth-page .forgot-wrap a:hover {
    color: var(--accent-blue) !important;
    text-decoration: underline !important;
}

/* Form gap override */
.auth-page .form-login.gap24 {
    gap: 16px !important;
}

/* Button */
.auth-page .tf-button.w-full,
.auth-page button.tf-button {
    width: 100% !important;
    padding: 18px 28px !important;
    background: var(--accent-gradient) !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    color: #000000 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow:
        0 4px 20px rgba(14, 165, 233, 0.4),
        0 0 40px rgba(14, 165, 233, 0.2) !important;
    margin: 8px 0 8px 0 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase;
}

.auth-page .tf-button.w-full:hover,
.auth-page button.tf-button:hover {
    transform: translateY(-3px) !important;
    box-shadow:
        0 8px 30px rgba(14, 165, 233, 0.5),
        0 0 60px rgba(14, 165, 233, 0.3) !important;
}

.auth-page .tf-button.w-full:active,
.auth-page button.tf-button:active {
    transform: translateY(-1px) !important;
}

/* Contact Links */
.auth-page .contact-links {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: var(--spacing-md) !important;
    margin-top: var(--spacing-xl) !important;
    padding: var(--spacing-md) var(--spacing-lg) !important;
    background: rgba(15, 23, 42, 0.4) !important;
    border: 1.5px solid rgba(14, 165, 233, 0.2) !important;
    border-radius: var(--radius-lg) !important;
    backdrop-filter: blur(20px) !important;
}

.auth-page .contact-links p {
    color: var(--text-primary) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
    letter-spacing: 0.5px !important;
}

.auth-page .contact-links a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 52px !important;
    height: 52px !important;
    background: rgba(14, 165, 233, 0.1) !important;
    border-radius: 50% !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1.5px solid rgba(14, 165, 233, 0.3) !important;
    padding: 0 !important;
}

.auth-page .contact-links a:hover {
    transform: translateY(-5px) scale(1.05) !important;
    background: rgba(14, 165, 233, 0.2) !important;
    border-color: var(--accent-blue-light) !important;
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.4) !important;
}

.auth-page .contact-links .app-logo {
    width: 26px !important;
    height: 26px !important;
    object-fit: contain !important;
    filter: brightness(1.2);
}

/* Footer Text */
.auth-page .wrap-login-page>.text-tiny {
    color: var(--text-secondary) !important;
    font-size: 14px !important;
    margin-top: var(--spacing-xl) !important;
    text-align: center !important;
}

.auth-page .wrap-login-page>.text-tiny a {
    color: var(--accent-blue-light) !important;
    text-decoration: none !important;
    font-weight: 500;
}

.auth-page .wrap-login-page>.text-tiny a:hover {
    text-decoration: underline !important;
}

/* Register Link */
.auth-page .login-box .body-text.text-center {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    color: var(--text-secondary) !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
}

.auth-page .login-box .body-text.text-center a,
.auth-page .login-box .body-text.text-center .tf-color {
    color: var(--accent-blue-light) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.auth-page .login-box .body-text.text-center a:hover,
.auth-page .login-box .body-text.text-center .tf-color:hover {
    text-decoration: underline !important;
    color: var(--accent-blue) !important;
}

/* fix lỗi bị che chữ */
.tf-color::after {
    display: none !important;
}

/* layout */
.login-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 14px;
}

/* text */
.login-links span {
    color: #94a3b8;
}

/* link */
.login-links a {
    color: #38bdf8;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

/* hover */
.login-links a:hover {
    color: #0ea5e9;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .auth-page .login-box {
        padding: var(--spacing-lg) !important;
        max-width: 95%;
    }

    .auth-page .login-box h3 {
        font-size: 32px !important;
    }

    .auth-page .contact-links {
        flex-wrap: wrap !important;
        gap: var(--spacing-sm) !important;
    }

    .auth-page .contact-links p {
        width: 100% !important;
        text-align: center !important;
        margin-bottom: var(--spacing-sm) !important;
    }
}

/* ============================================
   AUTH PAGES (Login & Register)
   ============================================ */

/* Body & Wrapper */
body.auth-page {
    background: var(--primary-bg) !important;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(13, 71, 161, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(66, 165, 245, 0.15) 0%, transparent 50%) !important;
    min-height: 100vh;
}

.auth-page .wrap-login-page {
    background: transparent !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-lg);
}

/* Login Box */
.auth-page .login-box {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-xl) !important;
    padding: var(--spacing-xl) !important;
    max-width: 480px;
    width: 100%;
    box-shadow: var(--shadow-lg), var(--shadow-glow) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}

.auth-page .login-box h3 {
    color: var(--text-primary) !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    margin-bottom: var(--spacing-sm) !important;
    background: var(--accent-gradient) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-align: center;
}

.auth-page .login-box .body-text {
    color: var(--text-secondary) !important;
    font-size: 15px !important;
    margin-bottom: var(--spacing-lg) !important;
    text-align: center;
}

/* Form Fields */
.auth-page .form-login fieldset {
    margin-bottom: var(--spacing-md) !important;
}

.auth-page .form-login .body-title {
    color: var(--text-primary) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-bottom: var(--spacing-xs) !important;
}

.auth-page .form-login .tf-color-1 {
    color: #ff5252 !important;
}

.auth-page .form-login input {
    width: 100% !important;
    padding: 14px 18px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    color: var(--text-primary) !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
}

.auth-page .form-login input:focus {
    outline: none !important;
    border-color: var(--accent-blue-light) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 0 0 3px rgba(66, 165, 245, 0.15) !important;
}

.auth-page .form-login input::placeholder {
    color: var(--text-secondary) !important;
    opacity: 0.6 !important;
}

/* Password Field */
.auth-page .form-login .password {
    position: relative;
}

.auth-page .form-login .show-pass {
    position: absolute;
    right: 18px;
    top: 38px;
    cursor: pointer;
    color: var(--text-secondary) !important;
    transition: color 0.3s ease;
}

.auth-page .form-login .show-pass:hover {
    color: var(--accent-blue-light) !important;
}

/* Forgot Password Link */
.auth-page .forgot-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: var(--spacing-sm);
}

.auth-page .forgot-link,
.auth-page .forgot-wrap a {
    color: var(--accent-blue-light) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.auth-page .forgot-link:hover,
.auth-page .forgot-wrap a:hover {
    color: var(--accent-blue) !important;
    text-decoration: underline !important;
}

/* Button */
.auth-page .tf-button.w-full,
.auth-page button.tf-button {
    width: 100% !important;
    padding: 16px 24px !important;
    background: var(--accent-gradient) !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    color: var(--text-primary) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 16px rgba(13, 71, 161, 0.4) !important;
    margin-top: var(--spacing-md) !important;
}

.auth-page .tf-button.w-full:hover,
.auth-page button.tf-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-glow) !important;
}

.auth-page .tf-button.w-full:active,
.auth-page button.tf-button:active {
    transform: translateY(0) !important;
}

/* Contact Links */
.auth-page .contact-links {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: var(--spacing-md) !important;
    margin-top: var(--spacing-lg) !important;
    padding: var(--spacing-md) var(--spacing-lg) !important;
    background: rgba(26, 35, 50, 0.4) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-lg) !important;
    backdrop-filter: blur(10px) !important;
}

.auth-page .contact-links p {
    color: var(--text-primary) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
}

.auth-page .contact-links a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    background: rgba(66, 165, 245, 0.1) !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    border: 1px solid var(--border-color) !important;
    padding: 0 !important;
}

.auth-page .contact-links a:hover {
    transform: translateY(-4px) !important;
    background: rgba(66, 165, 245, 0.2) !important;
    border-color: var(--accent-blue-light) !important;
    box-shadow: 0 8px 16px rgba(66, 165, 245, 0.3) !important;
}

.auth-page .contact-links .app-logo {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain !important;
}

/* Footer Text */
.auth-page .wrap-login-page>.text-tiny {
    color: var(--text-secondary) !important;
    font-size: 13px !important;
    margin-top: var(--spacing-lg) !important;
    text-align: center !important;
}

.auth-page .wrap-login-page>.text-tiny a {
    color: var(--accent-blue-light) !important;
    text-decoration: none !important;
}

.auth-page .wrap-login-page>.text-tiny a:hover {
    text-decoration: underline !important;
}

/* Register Link */
.auth-page .login-box .body-text.text-center {
    margin-top: var(--spacing-md) !important;
    margin-bottom: 0 !important;
    color: var(--text-secondary) !important;
}

.auth-page .login-box .body-text.text-center a,
.auth-page .login-box .body-text.text-center .tf-color {
    color: var(--accent-blue-light) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.auth-page .login-box .body-text.text-center a:hover,
.auth-page .login-box .body-text.text-center .tf-color:hover {
    text-decoration: underline !important;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-page .login-box {
        padding: var(--spacing-lg) !important;
    }

    .auth-page .login-box h3 {
        font-size: 28px !important;
    }

    .auth-page .contact-links {
        flex-wrap: wrap !important;
    }

    .auth-page .contact-links p {
        width: 100% !important;
        text-align: center !important;
        margin-bottom: var(--spacing-sm) !important;
    }
}


/* ============================================
   ANIMATIONS & EFFECTS
   ============================================ */

/* Canvas Background */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Ensure login box is above canvas */
.auth-page .wrap-login-page {
    position: relative;
    z-index: 10;
}

/* Login Box Animation */
.auth-page .login-box {
    animation: fadeInUp 0.8s ease-out, boxGlowPulse 3s ease-in-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes boxGlowPulse {

    0%,
    100% {
        box-shadow:
            0 0 0 1px rgba(14, 165, 233, 0.2),
            0 20px 60px rgba(0, 0, 0, 0.6),
            0 0 60px rgba(14, 165, 233, 0.2),
            inset 0 0 60px rgba(14, 165, 233, 0.05);
    }

    50% {
        box-shadow:
            0 0 0 1px rgba(14, 165, 233, 0.4),
            0 25px 70px rgba(0, 0, 0, 0.7),
            0 0 100px rgba(14, 165, 233, 0.4),
            inset 0 0 80px rgba(14, 165, 233, 0.1);
    }
}

/* Input Focus Animation */
.auth-page .form-login input:focus {
    animation: inputGlowStrong 0.6s ease-out !important;
    border-color: var(--accent-blue-light) !important;
    box-shadow:
        0 0 0 4px rgba(14, 165, 233, 0.2),
        0 0 30px rgba(14, 165, 233, 0.4),
        inset 0 0 20px rgba(14, 165, 233, 0.1) !important;
}

@keyframes inputGlowStrong {
    0% {
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.6);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(14, 165, 233, 0);
    }

    100% {
        box-shadow:
            0 0 0 4px rgba(14, 165, 233, 0.2),
            0 0 30px rgba(14, 165, 233, 0.4),
            inset 0 0 20px rgba(14, 165, 233, 0.1);
    }
}

/* Typing Effect */
.auth-page .form-login input:not(:placeholder-shown) {
    border-color: rgba(14, 165, 233, 0.5) !important;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.2) !important;
}

/* Button Ripple */
.auth-page .tf-button.w-full,
.auth-page button.tf-button {
    position: relative;
    overflow: hidden;
}

.auth-page .tf-button.w-full::before,
.auth-page button.tf-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.auth-page .tf-button.w-full:active::before,
.auth-page button.tf-button:active::before {
    width: 400px;
    height: 400px;
}

/* Link Underline Animation */
.auth-page .forgot-link,
.auth-page .forgot-wrap a,
.auth-page .login-box .body-text.text-center a {
    position: relative;
}

.auth-page .forgot-link::after,
.auth-page .forgot-wrap a::after,
.auth-page .login-box .body-text.text-center a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-page .forgot-link:hover::after,
.auth-page .forgot-wrap a:hover::after,
.auth-page .login-box .body-text.text-center a:hover::after {
    width: 100%;
}

/* Contact Links Rotating Border */
.auth-page .contact-links a {
    position: relative;
}

.auth-page .contact-links a::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
            transparent 0deg,
            rgba(14, 165, 233, 0.8) 90deg,
            rgba(56, 189, 248, 0.8) 180deg,
            transparent 270deg);
    opacity: 0;
    transition: opacity 0.3s;
    animation: rotate 3s linear forwards;
}

.auth-page .contact-links a:hover::before {
    opacity: 1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}



/* ============================================
   DASHBOARD & INNER PAGES
   ============================================ */

/* Body for dashboard pages */
body:not(.auth-page) {
    background: #000000 !important;
    background-image:
        linear-gradient(rgba(14, 165, 233, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 20% 30%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(56, 189, 248, 0.08) 0%, transparent 50%) !important;
    background-size: 50px 50px, 50px 50px, 100% 100%, 100% 100% !important;
    background-position: 0 0, 0 0, 0 0, 0 0 !important;
    color: #ffffff !important;
}

/* Override all text colors */
body:not(.auth-page) * {
    color: inherit;
}

body:not(.auth-page) h1,
body:not(.auth-page) h2,
body:not(.auth-page) h3,
body:not(.auth-page) h4,
body:not(.auth-page) h5,
body:not(.auth-page) h6,
body:not(.auth-page) p,
body:not(.auth-page) span,
body:not(.auth-page) div,
body:not(.auth-page) a {}

/* Ensure wrapper and layout are positioned correctly */
body:not(.auth-page) #wrapper,
body:not(.auth-page) .layout-wrap {
    position: relative;
    z-index: 1;
}

/* Sidebar */
.section-menu-left {
    background: rgba(15, 23, 42, 0.95) !important;
    border-right: 1px solid rgba(14, 165, 233, 0.3) !important;
    backdrop-filter: blur(20px) !important;
}

.section-menu-left .box-logo {
    background: rgba(15, 23, 42, 0.8) !important;
    border-bottom: 1px solid rgba(14, 165, 233, 0.3) !important;
    padding: 24px !important;
    margin-bottom: 24px !important;
}

.section-menu-left .box-logo h3,
.section-menu-left .box-logo b {
    color: #38bdf8 !important;
}

.section-menu-left .center {
    padding-top: 24px !important;
}

.section-menu-left .center-item {
    margin-bottom: 32px !important;
}

.section-menu-left .center-heading {
    color: #38bdf8 !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    padding: 16px 16px 12px 16px !important;
    margin-bottom: 8px !important;
}

.section-menu-left i,
.section-menu-left .icon,
.section-menu-left [class*="icon-"],
.section-menu-left .fa,
.section-menu-left .fas {
    color: #38bdf8 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* SVG icons */
.section-menu-left svg {
    opacity: 1 !important;
    visibility: visible !important;
}

.section-menu-left svg path {
    fill: #38bdf8 !important;
}

.section-menu-left .menu-item:hover svg path,
.section-menu-left .menu-item.active svg path {
    fill: #38bdf8 !important;
}

.section-menu-left .center-heading {
    color: #38bdf8 !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

.section-menu-left .menu-list .menu-item>a {
    color: #cbd5e1 !important;
    transition: all 0.3s ease !important;
    border-radius: 12px !important;
    margin: 4px 8px !important;
}

.section-menu-left .menu-list .menu-item>a:hover,
.section-menu-left .menu-list .menu-item>a.active {
    background: rgba(14, 165, 233, 0.2) !important;
    color: #38bdf8 !important;
    transform: translateX(4px) !important;
}

.section-menu-left .menu-list .menu-item>a .icon {
    color: #38bdf8 !important;
    opacity: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.section-menu-left .menu-list .menu-item>a .icon i {
    color: #38bdf8 !important;
    font-size: 18px !important;
    opacity: 1 !important;
}

.section-menu-left .menu-list .menu-item>a .icon svg {
    fill: #38bdf8 !important;
    opacity: 1 !important;
}

.section-menu-left .menu-list .menu-item>a .text {
    color: #cbd5e1 !important;
}

.section-menu-left .menu-list .menu-item>a:hover .text,
.section-menu-left .menu-list .menu-item>a.active .text {
    color: #38bdf8 !important;
}

.section-menu-left .menu-list .menu-item>a:hover .icon,
.section-menu-left .menu-list .menu-item>a.active .icon,
.section-menu-left .menu-list .menu-item>a:hover .icon i,
.section-menu-left .menu-list .menu-item>a.active .icon i {
    color: #38bdf8 !important;
    opacity: 1 !important;
}

.section-menu-left .sub-menu {
    background: rgba(15, 23, 42, 0.5) !important;
}

/* Dropdown arrow icon */
.section-menu-left .menu-item.has-children::after,
.section-menu-left .menu-item.has-children>a::after,
.section-menu-left .menu-item-button::after {
    color: #38bdf8 !important;
    opacity: 1 !important;
    border-color: #38bdf8 !important;
}

.section-menu-left .menu-item.has-children.active::after,
.section-menu-left .menu-item.has-children.active>a::after,
.section-menu-left .menu-item.has-children:hover::after,
.section-menu-left .menu-item.has-children:hover>a::after {
    color: #38bdf8 !important;
    border-color: #38bdf8 !important;
}

/* Override dark theme arrow color */
.dark-theme .section-menu-left .menu-item.has-children::after,
[data-colors-menu] .section-menu-left .menu-item.has-children::after {
    color: #38bdf8 !important;
}

/* Force all pseudo elements to be visible */
.section-menu-left *::before,
.section-menu-left *::after {
    opacity: 1 !important;
}

/* Chevron/Arrow icons */
.section-menu-left .icon-chevron-down,
.section-menu-left .icon-chevron-up,
.section-menu-left [class*="chevron"],
.section-menu-left [class*="arrow"] {
    color: #38bdf8 !important;
    opacity: 1 !important;
}

.section-menu-left .sub-menu .sub-menu-item>a {
    color: #cbd5e1 !important;
    padding-left: 48px !important;
    transition: all 0.3s ease !important;
}

.section-menu-left .sub-menu .sub-menu-item>a:hover {
    color: #38bdf8 !important;
    background: rgba(14, 165, 233, 0.15) !important;
}

.section-menu-left .sub-menu .sub-menu-item>a .text {
    color: #cbd5e1 !important;
}

.section-menu-left .sub-menu .sub-menu-item>a:hover .text {
    color: #38bdf8 !important;
}

/* Header/Navbar */


.header-dashboard input,
.header-dashboard button,
.header-dashboard a {
    color: #ffffff !important;
}

.header-dashboard input::placeholder {
    color: #cbd5e1 !important;
    opacity: 0.7 !important;
}

/* Search box styling */
.search-box input {
    background: rgba(15, 23, 42, 0.8) !important;
    border: 1.5px solid rgba(14, 165, 233, 0.3) !important;
    color: #ffffff !important;
}

.search-box input:focus {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2) !important;
}

/* Language button */
.language-btn {
    background: rgba(14, 165, 233, 0.15) !important;
    border: 2px solid rgba(14, 165, 233, 0.5) !important;
    color: #38bdf8 !important;
}

.language-btn:hover {
    background: rgba(14, 165, 233, 0.25) !important;
    border-color: #38bdf8 !important;
}

#google_translate_element select,
#google_translate_element .goog-te-combo {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(14, 165, 233, 0.4) !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
}

#google_translate_element select option {
    background: #1e293b !important;
    color: #ffffff !important;
}

.goog-te-banner-frame,
.goog-te-menu-frame {
    background: rgba(15, 23, 42, 0.95) !important;
}

.goog-te-menu2 {
    background: rgba(15, 23, 42, 0.95) !important;
    border: 1px solid rgba(14, 165, 233, 0.4) !important;
}

.goog-te-menu2-item div,
.goog-te-menu2-item span {
    color: #ffffff !important;
}

.goog-te-menu2-item:hover {
    background: rgba(14, 165, 233, 0.2) !important;
}

.goog-te-gadget {
    color: #ffffff !important;
}

.goog-te-gadget span {
    color: #ffffff !important;
}

.goog-te-gadget a {
    color: #38bdf8 !important;
}

/* Main Content Area */
.main-content {
    background: transparent !important;
}

/* Hide preloader */
#preload,
.preload-container,
.preloading {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Stats Cards */
.wg-chart-default {
    background: rgba(15, 23, 42, 0.8) !important;
    border: 2px solid rgba(14, 165, 233, 0.4) !important;
    border-radius: 20px !important;
    padding: 24px !important;
    backdrop-filter: blur(20px) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
    overflow: hidden !important;
    min-width: 0 !important;
}

.wg-chart-default:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(14, 165, 233, 0.5) !important;
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(14, 165, 233, 0.2) !important;
}

.wg-chart-default .body-text {
    color: #cbd5e1 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.wg-chart-default h4 {
    color: #ffffff !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    margin-top: 8px !important;
    text-shadow: 0 2px 10px rgba(14, 165, 233, 0.3) !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    line-height: 1.2 !important;
}

.wg-chart-default .image {
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%) !important;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4) !important;
    border-radius: 16px !important;
    width: 56px !important;
    height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: visible !important;
}

.wg-chart-default .image::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #0ea5e9, #38bdf8, #0ea5e9);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    filter: blur(8px);
}

.wg-chart-default:hover .image::before {
    opacity: 0.6;
}

.wg-chart-default .image i {
    color: #000000 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
}

.wg-chart-default .image svg {
    display: none !important;
}

/* Icon colors for different stats */
.wg-chart-default:nth-child(1) .image {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%) !important;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4) !important;
}

.wg-chart-default:nth-child(2) .image {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%) !important;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4) !important;
}

.wg-chart-default:nth-child(3) .image {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%) !important;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4) !important;
}

.wg-chart-default:nth-child(4) .image {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%) !important;
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.4) !important;
}

/* Product Cards */
.card {
    background: rgba(15, 23, 42, 0.8) !important;
    border: 2px solid rgba(14, 165, 233, 0.4) !important;
    border-radius: 20px !important;
    backdrop-filter: blur(20px) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

.card:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(14, 165, 233, 0.6) !important;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(14, 165, 233, 0.3) !important;
}

.card-img-top {
    border-radius: 20px 20px 0 0 !important;
    transition: all 0.4s ease !important;
}

.card:hover .card-img-top {
    transform: scale(1.05) !important;
}

.card-body {
    padding: 24px !important;
}

.card-title {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    text-align: center !important;
}

.card-text {
    color: #94a3b8 !important;
    font-size: 15px !important;
    margin-bottom: 16px !important;
}

.card-text font[color="red"] {
    color: #ff5252 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
}

/* Animated Title */
.animate-charcter {
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 50%, #0ea5e9 100%) !important;
    background-size: 200% auto !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    animation: textShine 3s ease-in-out forwards !important;
    font-weight: 800 !important;
    font-size: 28px !important;
    letter-spacing: 0.5px !important;
}

@keyframes textShine {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Product Card Button - Force override all styles */
.card .product-action {
    margin-top: 16px !important;
}

.card .product-action .button,
.card .button,
button.button {
    width: 100% !important;
    padding: 10px 20px !important;
    background: rgba(14, 165, 233, 0.15) !important;
    border: 2px solid rgba(14, 165, 233, 0.5) !important;
    border-radius: 10px !important;
    color: #38bdf8 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.card .product-action .button::before,
.card .product-action .button::after,
.card .button::before,
.card .button::after {
    display: none !important;
    content: none !important;
}

.card .product-action .button:hover,
.card .button:hover {
    background: rgba(14, 165, 233, 0.25) !important;
    border-color: #38bdf8 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4) !important;
}

.card .product-action .button:focus,
.card .product-action .button:active,
.card .button:focus,
.card .button:active {
    outline: none !important;
    border: 2px solid #38bdf8 !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2) !important;
}

/* Alert/Notification Box */
.text-bg-danger {
    background: rgba(244, 63, 94, 0.2) !important;
    border: 2px solid rgba(244, 63, 94, 0.5) !important;
    border-radius: 16px !important;
    backdrop-filter: blur(10px) !important;
}

.text-bg-danger,
.text-bg-danger * {
    color: #fca5a5 !important;
}

/* Buttons in notification */
button[style*="background: linear-gradient(90deg, #0d47a1, #42a5f5)"] {
    color: #ffffff !important;
}

/* Section Spacing */
.tf-section-4,
.tf-section-12,
.tf-section-14 {
    margin-bottom: 32px !important;
}

/* Responsive */
@media (max-width: 768px) {
    .wg-chart-default {
        padding: 20px !important;
    }

    .wg-chart-default h4 {
        font-size: 24px !important;
    }

    .card-body {
        padding: 16px !important;
    }

    .animate-charcter {
        font-size: 22px !important;
    }
}


/* ============================================
   NOTIFICATION SECTION
   ============================================ */

.notification-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
    align-items: start;
}

.notification-card {
    background: rgba(15, 23, 42, 0.8) !important;
    border: 2px solid rgba(14, 165, 233, 0.4) !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

.notification-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(14, 165, 233, 0.3);
}

.notification-header i {
    font-size: 18px !important;
}

.notification-header h3 {
    color: #38bdf8 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    letter-spacing: 0.5px !important;
}

.notification-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-box {
    background: rgba(14, 165, 233, 0.1) !important;
    border: 1.5px solid rgba(14, 165, 233, 0.3) !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
}

.info-title {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 4px !important;
}

.info-title i {
    color: #38bdf8 !important;
    font-size: 13px !important;
}

.info-value {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    font-family: 'Courier New', monospace !important;
    letter-spacing: 0.5px !important;
}

.password-display {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.password-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 6px;
    padding: 8px 12px;
    flex: 1;
    min-width: 200px;
}

.password-input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
    outline: none;
    flex: 1;
    cursor: text;
}

.password-or {
    color: #9ca3af;
    font-size: 12px;
    font-weight: 600;
}

.copy-btn {
    background: #0ea5e9;
    border: none;
    border-radius: 4px;
    padding: 6px 10px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background: #0284c7;
    transform: scale(1.05);
}

.copy-btn i {
    font-size: 14px;
}

.action-buttons {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.action-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
    flex: 1 !important;
    white-space: nowrap !important;
}

.action-btn i {
    font-size: 15px !important;
}

.btn-telegram {
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%) !important;
    color: #000000 !important;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.4) !important;
}

.btn-telegram:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.6) !important;
}

.btn-youtube {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4) !important;
}

.btn-youtube:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.6) !important;
}

.warning-card {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 2px solid rgba(239, 68, 68, 0.4) !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.2) !important;
}

.warning-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.warning-header i {
    color: #fca5a5 !important;
    font-size: 18px !important;
}

.warning-header h4 {
    color: #fca5a5 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.warning-content {
    color: #fecaca !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

.warning-content br {
    display: none !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .notification-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .notification-card,
    .warning-card {
        padding: 16px !important;
    }

    .action-buttons {
        gap: 8px;
    }

    .action-btn {
        padding: 10px 16px !important;
        font-size: 12px !important;
    }
}


/* ============================================
   TABLES & DATA DISPLAY
   ============================================ */

/* Table Container */
.wg-table,
.wg-box,
.table-responsive {
    border-radius: 20px !important;
    padding: 24px !important;
    backdrop-filter: blur(20px) !important;
}

/* Table */
table,
.table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 8px !important;
    color: #ffffff !important;
}

/* Table Header */
table thead,
.table thead {
    background: rgba(14, 165, 233, 0.15) !important;
    border-radius: 12px !important;
}

table thead th,
.table thead th {
    color: #38bdf8 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 16px 20px !important;
    border: none !important;
    background: transparent !important;
}

table thead th:first-child {
    border-radius: 12px 0 0 12px !important;
}

table thead th:last-child {
    border-radius: 0 12px 12px 0 !important;
}

/* Table Body */
table tbody tr,
.table tbody tr {
    background: rgba(15, 23, 42, 0.6) !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
}

table tbody tr:hover,
.table tbody tr:hover {
    background: rgba(14, 165, 233, 0.15) !important;
    transform: translateX(4px) !important;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3) !important;
}

table tbody td,
.table tbody td {
    color: #cbd5e1 !important;
    font-size: 14px !important;
    padding: 16px 20px !important;
    border: none !important;
    vertical-align: middle !important;
}

table tbody td:first-child {
    border-radius: 12px 0 0 12px !important;
}

table tbody td:last-child {
    border-radius: 0 12px 12px 0 !important;
}

/* Table Badges/Status */
.badge,
.status-badge {
    padding: 6px 14px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.badge-success,
.status-success {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #34d399 !important;
    border: 1.5px solid rgba(16, 185, 129, 0.4) !important;
}

.badge-danger,
.status-danger,
.badge-error {
    background: rgba(239, 68, 68, 0.2) !important;
    color: #fca5a5 !important;
    border: 1.5px solid rgba(239, 68, 68, 0.4) !important;
}

.badge-warning,
.status-warning {
    background: rgba(245, 158, 11, 0.2) !important;
    color: #fbbf24 !important;
    border: 1.5px solid rgba(245, 158, 11, 0.4) !important;
}

.badge-info,
.status-info {
    background: rgba(14, 165, 233, 0.2) !important;
    color: #38bdf8 !important;
    border: 1.5px solid rgba(14, 165, 233, 0.4) !important;
}

.badge-primary {
    background: rgba(139, 92, 246, 0.2) !important;
    color: #a78bfa !important;
    border: 1.5px solid rgba(139, 92, 246, 0.4) !important;
}

/* ============================================
   FORMS & INPUTS
   ============================================ */

/* Form Groups */
.form-group,
.wg-box,
fieldset {
    margin-bottom: 24px !important;
}

/* Labels */
label,
.form-label,
.body-title {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    display: block !important;
    letter-spacing: 0.3px !important;
}

/* Input Fields */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
textarea,
select,

input:focus,
textarea:focus,
select:focus,
.form-control:focus {
    outline: none !important;
    border-color: #38bdf8 !important;
    background: rgba(15, 23, 42, 0.8) !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2) !important;
}

input::placeholder,
textarea::placeholder {
    color: #94a3b8 !important;
    opacity: 0.6 !important;
}

/* Select Dropdown */
select option {
    background: #1e293b !important;
    color: #ffffff !important;
    padding: 10px !important;
}

/* Textarea */
textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

/* ============================================
   BUTTONS
   ============================================ */

/* Primary Button */
.btn,
.tf-button,
button[type="submit"],
.button-primary {
    padding: 14px 28px !important;
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    color: #000000 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.4) !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.btn:hover,
.tf-button:hover,
button[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.6) !important;
}

/* Secondary Button */
.btn-secondary,
.button-secondary {
    background: rgba(14, 165, 233, 0.15) !important;
    border: 2px solid rgba(14, 165, 233, 0.5) !important;
    color: #38bdf8 !important;
}

.btn-secondary:hover {
    background: rgba(14, 165, 233, 0.25) !important;
    border-color: #38bdf8 !important;
}

/* Danger Button */
.btn-danger,
.button-danger {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4) !important;
}

.btn-danger:hover {
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.6) !important;
}

/* Success Button */
.btn-success,
.button-success {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%) !important;
    color: #000000 !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4) !important;
}

.btn-success:hover {
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.6) !important;
}

/* Small Button */
.btn-sm,
.button-small {
    padding: 8px 16px !important;
    font-size: 13px !important;
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
    display: flex !important;
    gap: 8px !important;
    justify-content: center !important;
    margin-top: 24px !important;
}

.pagination a,
.pagination span {
    padding: 10px 16px !important;
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1.5px solid rgba(14, 165, 233, 0.3) !important;
    border-radius: 10px !important;
    color: #cbd5e1 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.pagination a:hover {
    background: rgba(14, 165, 233, 0.2) !important;
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
    transform: translateY(-2px) !important;
}

.pagination .active,
.pagination span.current {
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%) !important;
    border-color: transparent !important;
    color: #000000 !important;
}

/* ============================================
   ALERTS & MESSAGES
   ============================================ */

.alert,
.message-box,
.notification-box {
    padding: 16px 20px !important;
    border-radius: 12px !important;
    margin-bottom: 20px !important;
    backdrop-filter: blur(10px) !important;
    border: 2px solid !important;
}

.alert-success {
    background: rgba(16, 185, 129, 0.15) !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
    color: #34d399 !important;
}

.alert-danger,
.alert-error {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
    color: #fca5a5 !important;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.15) !important;
    border-color: rgba(245, 158, 11, 0.4) !important;
    color: #fbbf24 !important;
}

.alert-info {
    background: rgba(14, 165, 233, 0.15) !important;
    border-color: rgba(14, 165, 233, 0.4) !important;
    color: #38bdf8 !important;
}

/* ============================================
   MODALS & POPUPS
   ============================================ */

.modal,
.popup-container {
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(10px) !important;
}

.modal-content,
.popup-content {
    background: rgba(15, 23, 42, 0.95) !important;
    border: 2px solid rgba(14, 165, 233, 0.4) !important;
    border-radius: 20px !important;
    padding: 32px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6) !important;
}

.modal-header,
.popup-header {
    border-bottom: 1.5px solid rgba(14, 165, 233, 0.3) !important;
    padding-bottom: 16px !important;
    margin-bottom: 24px !important;
}

.modal-title,
.popup-title {
    color: #38bdf8 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
}

.modal-body,
.popup-body {
    color: #cbd5e1 !important;
}

.modal-footer,
.popup-footer {
    border-top: 1.5px solid rgba(14, 165, 233, 0.3) !important;
    padding-top: 16px !important;
    margin-top: 24px !important;
}

/* Close Button */
.close,
.btn-close {
    color: #cbd5e1 !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
}

.close:hover,
.btn-close:hover {
    color: #38bdf8 !important;
    transform: rotate(90deg) !important;
}

/* ============================================
   BREADCRUMB
   ============================================ */

.breadcrumb,
.breadcrumb-wrap {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1.5px solid rgba(14, 165, 233, 0.3) !important;
    border-radius: 12px !important;
    padding: 12px 20px !important;
    margin-bottom: 24px !important;
}

.breadcrumb-item,
.breadcrumb a {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.breadcrumb-item:hover,
.breadcrumb a:hover {
    color: #38bdf8 !important;
}

.breadcrumb-item.active {
    color: #38bdf8 !important;
    font-weight: 600 !important;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #94a3b8 !important;
}

/* ============================================
   TABS
   ============================================ */

.nav-tabs {
    border-bottom: 2px solid rgba(14, 165, 233, 0.3) !important;
    margin-bottom: 24px !important;
}

.nav-tabs .nav-link {
    color: #cbd5e1 !important;
    background: transparent !important;
    border: none !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.nav-tabs .nav-link:hover {
    color: #38bdf8 !important;
    background: rgba(14, 165, 233, 0.1) !important;
}

.nav-tabs .nav-link.active {
    color: #38bdf8 !important;
    background: rgba(14, 165, 233, 0.2) !important;
    border-bottom: 3px solid #38bdf8 !important;
}

/* ============================================
   PROFILE PAGE
   ============================================ */

.profile-card,
.user-info-card {
    background: rgba(15, 23, 42, 0.8) !important;
    border: 2px solid rgba(14, 165, 233, 0.4) !important;
    border-radius: 20px !important;
    padding: 32px !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

.profile-avatar,
.user-avatar {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    border: 4px solid rgba(14, 165, 233, 0.5) !important;
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.4) !important;
}

.profile-name,
.user-name {
    color: #ffffff !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    margin-top: 16px !important;
}

.profile-email,
.user-email {
    color: #94a3b8 !important;
    font-size: 16px !important;
}

/* ============================================
   RECHARGE PAGES
   ============================================ */

.payment-method-card {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 2px solid rgba(14, 165, 233, 0.3) !important;
    border-radius: 16px !important;
    padding: 24px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.payment-method-card:hover {
    border-color: #38bdf8 !important;
    background: rgba(14, 165, 233, 0.15) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3) !important;
}

.payment-method-card.active {
    border-color: #38bdf8 !important;
    background: rgba(14, 165, 233, 0.2) !important;
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.4) !important;
}

.qr-code-container {
    background: #ffffff !important;
    padding: 20px !important;
    border-radius: 16px !important;
    display: inline-block !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

/* ============================================
   TOOL & SOURCE DETAIL PAGES
   ============================================ */

.product-detail-card {
    background: rgba(15, 23, 42, 0.8) !important;
    border: 2px solid rgba(14, 165, 233, 0.4) !important;
    border-radius: 20px !important;
    padding: 32px !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

.product-image {
    border-radius: 16px !important;
    border: 2px solid rgba(14, 165, 233, 0.3) !important;
    overflow: hidden !important;
}

.product-title {
    color: #ffffff !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    margin-bottom: 16px !important;
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.product-price {
    color: #38bdf8 !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    margin: 16px 0 !important;
}

.product-description {
    color: #cbd5e1 !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
}

.feature-list {
    list-style: none !important;
    padding: 0 !important;
}

.feature-list li {
    color: #cbd5e1 !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(14, 165, 233, 0.2) !important;
}

.feature-list li:before {
    content: "✓" !important;
    color: #34d399 !important;
    font-weight: 700 !important;
    margin-right: 12px !important;
}

/* ============================================
   LOADING & SPINNERS
   ============================================ */

.loading,
.spinner {
    border: 4px solid rgba(14, 165, 233, 0.2) !important;
    border-top: 4px solid #38bdf8 !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    animation: spin 1s linear forwards !important;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ============================================
   RESPONSIVE FIXES
   ============================================ */

@media (max-width: 1024px) {
    .notification-section {
        grid-template-columns: 1fr;
    }

    .wg-chart-default {
        padding: 20px !important;
    }
}

@media (max-width: 768px) {

    .notification-card,
    .warning-card {
        padding: 16px !important;
    }

    .action-buttons {
        gap: 8px;
    }

    .action-btn {
        padding: 10px 16px !important;
        font-size: 12px !important;
    }

    .wg-chart-default h4 {
        font-size: 24px !important;
    }

    .card-body {
        padding: 16px !important;
    }

    .animate-charcter {
        font-size: 22px !important;
    }

    .product-title {
        font-size: 24px !important;
    }

    .product-price {
        font-size: 22px !important;
    }

    table,
    .table {
        font-size: 13px !important;
    }

    table tbody td,
    .table tbody td {
        padding: 12px 16px !important;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-primary {
    color: #38bdf8 !important;
}

.text-success {
    color: #34d399 !important;
}

.text-danger {
    color: #fca5a5 !important;
}

.text-warning {
    color: #fbbf24 !important;
}

.text-muted {
    color: #94a3b8 !important;
}

.bg-primary {
    background: rgba(14, 165, 233, 0.2) !important;
}

.bg-success {
    background: rgba(16, 185, 129, 0.2) !important;
}

.bg-danger {
    background: rgba(239, 68, 68, 0.2) !important;
}

.bg-warning {
    background: rgba(245, 158, 11, 0.2) !important;
}

.border-primary {
    border-color: rgba(14, 165, 233, 0.4) !important;
}

.shadow-glow {
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.4) !important;
}

.text-gradient {
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}


/* ============================================
   FOOTER
   ============================================ */

.bottom-page {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 24px 20px !important;
    margin-top: 40px !important;
    border-top: 1.5px solid rgba(14, 165, 233, 0.3) !important;
    background: rgba(15, 23, 42, 0.6) !important;
    border-radius: 16px !important;
    backdrop-filter: blur(10px) !important;
}

.bottom-page .body-text {
    color: #cbd5e1 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

.bottom-page .icon-heart {
    color: #f43f5e !important;
    font-size: 16px !important;
    animation: heartbeat 1.5s ease-in-out forwards !important;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.bottom-page a {
    color: #38bdf8 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.bottom-page a:hover {
    color: #0ea5e9 !important;
    text-decoration: underline !important;
}

/* Footer responsive */
@media (max-width: 768px) {
    .bottom-page {
        flex-wrap: wrap !important;
        text-align: center !important;
        padding: 20px 16px !important;
    }

    .bottom-page .body-text {
        font-size: 13px !important;
    }
}


/* ============================================
   SECURITY / 2FA SECTION
   ============================================ */

.wg-box {
    background: rgba(15, 23, 42, 0.8) !important;
    border: 2px solid rgba(14, 165, 233, 0.4) !important;
    border-radius: 20px !important;
    padding: 32px !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
    margin-bottom: 24px !important;
}

.wg-box .left h5 {
    color: #38bdf8 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
}

.wg-box .left .body-text {
    color: #94a3b8 !important;
    font-size: 14px !important;
    font-style: italic !important;
}

/* Security Cards Container */
.security-col {
    margin-top: 24px !important;
}

/* Security Card */
.security-card {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 2px solid rgba(14, 165, 233, 0.3) !important;
    border-radius: 16px !important;
    padding: 24px !important;
    margin-bottom: 20px !important;
    transition: all 0.3s ease !important;
}

.security-card:hover {
    border-color: rgba(14, 165, 233, 0.5) !important;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.2) !important;
    transform: translateY(-2px) !important;
}

.security-card .card-title,
.security-card h6 {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid rgba(14, 165, 233, 0.3) !important;
}

.security-card label {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-top: 16px !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.security-card .form-control,
.security-card input[type="password"],
.security-card input[type="text"] {
    width: 100% !important;
    padding: 14px 18px !important;
    background: rgba(15, 23, 42, 0.8) !important;
    border: 1.5px solid rgba(14, 165, 233, 0.3) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    margin-bottom: 12px !important;
}

.security-card .form-control:focus,
.security-card input:focus {
    outline: none !important;
    border-color: #38bdf8 !important;
    background: rgba(15, 23, 42, 0.9) !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2) !important;
}

.security-card .form-control:disabled,
.security-card input:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

/* Token Display Box */
.security-card code {
    display: block !important;
    padding: 16px 20px !important;
    background: rgba(14, 165, 233, 0.1) !important;
    border: 2px dashed rgba(14, 165, 233, 0.4) !important;
    border-radius: 12px !important;
    color: #38bdf8 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: 'Courier New', monospace !important;
    word-break: break-all !important;
    margin: 12px 0 !important;
    line-height: 1.6 !important;
}

/* Button Token */
.btn-token,
button[name="change_token"] {
    padding: 12px 24px !important;
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%) !important;
    border: none !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin: 12px 0 !important;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4) !important;
}

.btn-token:hover,
button[name="change_token"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.6) !important;
}

/* 2FA Buttons */
button[onclick*="enable2FA"],
button[onclick*="disable2FA"] {
    padding: 12px 24px !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

button[onclick*="enable2FA"] {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%) !important;
    color: #000000 !important;
}

button[onclick*="enable2FA"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.6) !important;
}

button[onclick*="disable2FA"] {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%) !important;
    color: #ffffff !important;
}

button[onclick*="disable2FA"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.6) !important;
}

/* Button Group */
.d-flex.align-items-center.gap-2 {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 20px !important;
}

.ms-auto {
    margin-left: auto !important;
}

/* Change Password Button */
button[name="change_password"] {
    padding: 14px 28px !important;
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    color: #000000 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.4) !important;
}

button[name="change_password"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.6) !important;
}

/* Responsive Security Section */
@media (max-width: 768px) {
    .wg-box {
        padding: 20px !important;
    }

    .security-card {
        padding: 20px !important;
    }

    .security-card .card-title,
    .security-card h6 {
        font-size: 16px !important;
    }

    .d-flex.align-items-center.gap-2 {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .ms-auto {
        margin-left: 0 !important;
        width: 100% !important;
    }

    button[onclick*="enable2FA"],
    button[onclick*="disable2FA"],
    .btn-token {
        width: 100% !important;
    }
}


/* ============================================
   SWEETALERT2 DARK THEME
   ============================================ */

/* SweetAlert2 Container */
.swal2-container {
    z-index: 99999 !important;
}

/* SweetAlert2 Popup */
.swal2-popup {
    background: rgba(15, 23, 42, 0.98) !important;
    border: 2px solid rgba(14, 165, 233, 0.5) !important;
    border-radius: 20px !important;
    padding: 32px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(20px) !important;
}

/* SweetAlert2 Title */
.swal2-title {
    color: #38bdf8 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
}

/* SweetAlert2 HTML Content */
.swal2-html-container {
    color: #cbd5e1 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
}

/* SweetAlert2 Input */
.swal2-input {
    background: rgba(15, 23, 42, 0.8) !important;
    border: 2px solid rgba(14, 165, 233, 0.4) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    padding: 14px 20px !important;
    text-align: center !important;
    letter-spacing: 4px !important;
    font-family: monospace !important;
    margin: 16px 0 !important;
}

.swal2-input:focus {
    outline: none !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.3) !important;
}

.swal2-input::placeholder {
    color: #94a3b8 !important;
    opacity: 0.6 !important;
}

/* Hide SweetAlert2 Checkbox (not needed) */
.swal2-checkbox,
.swal2-checkbox input,
.swal2-checkbox label,
input[type="checkbox"].swal2-checkbox,
.swal2-popup input[type="checkbox"],
.swal2-popup .swal2-checkbox {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

/* SweetAlert2 Footer */
.swal2-footer {
    border-top: 1.5px solid rgba(14, 165, 233, 0.3) !important;
    color: #94a3b8 !important;
    padding-top: 16px !important;
    margin-top: 20px !important;
}

/* SweetAlert2 Input Label */
.swal2-input-label {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-bottom: 12px !important;
}

/* SweetAlert2 Validation Message */
.swal2-validation-message {
    background: rgba(239, 68, 68, 0.2) !important;
    border: 2px solid rgba(239, 68, 68, 0.5) !important;
    color: #fca5a5 !important;
    border-radius: 10px !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
}

/* SweetAlert2 Buttons */
.swal2-confirm,
.swal2-cancel {
    padding: 14px 32px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin: 0 8px !important;
}

.swal2-confirm {
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%) !important;
    color: #000000 !important;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.5) !important;
}

.swal2-confirm:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.7) !important;
}

.swal2-cancel {
    background: rgba(71, 85, 105, 0.3) !important;
    color: #ffffff !important;
    border: 2px solid rgba(148, 163, 184, 0.5) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

.swal2-cancel:hover {
    background: rgba(71, 85, 105, 0.5) !important;
    border-color: #94a3b8 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}

/* SweetAlert2 Actions */
.swal2-actions {
    margin-top: 24px !important;
}

/* SweetAlert2 Close Button */
.swal2-close {
    color: #cbd5e1 !important;
    font-size: 32px !important;
    transition: all 0.3s ease !important;
}

.swal2-close:hover {
    color: #38bdf8 !important;
    transform: rotate(90deg) !important;
}

/* SweetAlert2 Icon */
.swal2-icon {
    border-color: rgba(14, 165, 233, 0.5) !important;
}

.swal2-icon.swal2-success {
    border-color: rgba(16, 185, 129, 0.5) !important;
}

.swal2-icon.swal2-success [class^='swal2-success-line'] {
    background-color: #34d399 !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(16, 185, 129, 0.3) !important;
}

.swal2-icon.swal2-error {
    border-color: rgba(239, 68, 68, 0.5) !important;
}

.swal2-icon.swal2-error [class^='swal2-x-mark-line'] {
    background-color: #fca5a5 !important;
}

.swal2-icon.swal2-warning {
    border-color: rgba(245, 158, 11, 0.5) !important;
    color: #fbbf24 !important;
}

.swal2-icon.swal2-info {
    border-color: rgba(14, 165, 233, 0.5) !important;
    color: #38bdf8 !important;
}

.swal2-icon.swal2-question {
    border-color: rgba(139, 92, 246, 0.5) !important;
    color: #a78bfa !important;
}

/* SweetAlert2 Progress Steps */
.swal2-progress-steps {
    background: rgba(15, 23, 42, 0.6) !important;
}

.swal2-progress-steps .swal2-progress-step {
    background: rgba(14, 165, 233, 0.3) !important;
    color: #38bdf8 !important;
}

.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step {
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%) !important;
    color: #000000 !important;
}

/* SweetAlert2 Timer Progress Bar */
.swal2-timer-progress-bar {
    background: linear-gradient(90deg, #0ea5e9 0%, #38bdf8 100%) !important;
}

/* SweetAlert2 Backdrop */
.swal2-backdrop-show {
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(8px) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .swal2-popup {
        padding: 24px !important;
        width: 90% !important;
    }

    .swal2-title {
        font-size: 20px !important;
    }

    .swal2-html-container {
        font-size: 14px !important;
    }

    .swal2-input {
        font-size: 16px !important;
        padding: 12px 16px !important;
    }

    .swal2-confirm,
    .swal2-cancel {
        padding: 12px 24px !important;
        font-size: 14px !important;
    }
}


/* ============================================
   TOOL/SOURCE DETAIL PAGE BUTTONS
   ============================================ */

/* Action Buttons in Detail Page */
#thanh_toan_tool,
#thanh_toan_tool_vinh_vien,
button[onclick*="thanh_toan_tool"],
button[onclick*="use_voucher"],
#use_voucher {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 16px 24px !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
    border: none !important;
    white-space: nowrap !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
}

#thanh_toan_tool:hover,
#thanh_toan_tool_vinh_vien:hover,
button[onclick*="thanh_toan_tool"]:hover,
button[onclick*="use_voucher"]:hover,
#use_voucher:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}

/* Demo Button */
a[href*="url_demo"],
button[disabled] {
    color: #ffffff !important;
}

/* Ensure all buttons in wg-box have white text */
.wg-box button,
.wg-box a.tf-button {
    color: #ffffff !important;
}

/* Button Icons */
.tf-button i,
.tf-button .fa {
    margin-right: 8px !important;
    color: inherit !important;
}

/* lịch sử mua tool */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* PASS BOX */
.pass-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 0, 0, 0.08);
    border: 1px solid rgba(255, 0, 0, 0.3);
    padding: 8px 12px;
    border-radius: 12px;
}

.pass-text {
    color: #ff4d4f;
    font-weight: 600;
}

/* COPY BUTTON */
.copy-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: none;
    color: #fff;
    padding: 6px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.25s;
}

.copy-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.7);
}

.history-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

/* chung */
.action-chip {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 8px 14px;
    border-radius: 10px;

    font-size: 13px;
    font-weight: 500;

    border: 1px solid transparent;
    transition: 0.25s;
}

/* support */
.action-chip.support {
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.4);
}

.action-chip.support:hover {
    background: rgba(56, 189, 248, 0.2);
}

/* guide */
.action-chip.guide {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    border-color: rgba(168, 85, 247, 0.4);
}

.action-chip.guide:hover {
    background: rgba(168, 85, 247, 0.2);
}

/* pass */
.action-chip.pass {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.4);
}

.action-chip.pass b {
    color: #fff;
    margin-left: 4px;
}

.showing-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.9));
    border: 1px solid rgba(56, 189, 248, 0.25);

    padding: 8px 14px;
    border-radius: 12px;

    color: #94a3b8;
    font-size: 13px;

    box-shadow: 0 0 15px rgba(56, 189, 248, 0.1);
}

/* select đẹp hơn */
.showing-modern select {
    appearance: none;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.4);

    padding: 4px 10px;
    border-radius: 8px;

    color: #38bdf8;
    font-weight: 600;
    cursor: pointer;
}

/* hover effect */
.showing-modern select:hover {
    background: rgba(56, 189, 248, 0.2);
}

/* focus glow */
.showing-modern select:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

/* đổi theme */
.page-header-box {
    width: 100%;
}

/* Wrapper */
.history-wrapper {
    background: rgba(2, 6, 23, 0.7);
    border-radius: 22px;
    padding: 25px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    width: 100%;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.6),
        inset 0 0 40px rgba(56, 189, 248, 0.05);
    position: relative;
}

/* Header */
.history-header {
    margin-bottom: 15px;
}

/* Showing box */
.showing-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 6px 12px;
    border-radius: 10px;
    color: #94a3b8;
    font-size: 13px;
}

.showing-box select {
    background: transparent;
    border: none;
    color: #38bdf8;
    font-weight: 600;
    outline: none;
}

/* Table header */
.table-title {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    background: rgba(15, 23, 42, 0.9);
    border-radius: 12px;
    padding: 12px;
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.page-header-box {
    background: linear-gradient(135deg, #020617 0%, #020617 40%, #0ea5e9 120%);
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 20px;
    padding: 25px 30px;
    margin-bottom: 25px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.6),
        0 0 25px rgba(56, 189, 248, 0.2);
}

.page-header-box:hover {
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(56, 189, 248, 0.4);
    transition: 0.3s;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* LEFT */
.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

.header-icon i {
    font-size: 24px;
    color: #fff;
}

/* RIGHT */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* CLOCK */
.live-clock {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(2, 6, 23, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.4);
    padding: 8px 12px;
    border-radius: 12px;
    color: #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

#clock {
    font-weight: 600;
    font-size: 14px;
}

#date {
    font-size: 11px;
    color: #94a3b8;
}

/* USER */
.user-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
    padding: 8px 14px;
    border-radius: 999px;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
}

.page-header-box h2 {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 5px;
}

.page-header-box p {
    color: #94a3b8;
    font-size: 14px;
}

/* Dòng tiêu đề của bảng */
.table-title {
    margin-bottom: 4px !important;
    /* Giảm khoảng cách bên dưới */
    display: grid grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 10px;
    align-items: center;

}

/* Dòng kẻ giữa các cột */
.attribute-item {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.wg-table.table-all-attribute .table-title {
    padding: 12px;
    border-radius: 12px;
    background: var(--bg-table);
}

.wg-table.table-all-attribute {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.wg-table.table-all-attribute ul {
    min-width: 1000px;
}

@media (max-width: 768px) {

    .table-title li:nth-child(2),
    .table-title li:nth-child(5),
    .table-title li:nth-child(6),
    .table-title li:nth-child(7),
    .attribute-item>div:nth-child(2),
    .attribute-item>div:nth-child(5),
    .attribute-item>div:nth-child(6),
    .attribute-item>div:nth-child(7),
    .attribute-item>div:nth-child(9) {
        display: none;
    }
}

.table-title {
    font-weight: bold;
    border-bottom: 2px solid #ccc;
    padding-bottom: 8px;
}

/* Các dòng lẻ của bảng */
.attribute-item:nth-child(odd) {
    background: rgba(30, 41, 59, 0.5) !important;
    /* Màu tối */
}

.attribute-item:nth-child(even) {
    background: rgba(15, 23, 42, 0.5) !important;
    /* Màu tối xen kẽ */
}

/* Khi di chuột vào */
.attribute-item:hover {
    background: rgba(56, 189, 248, 0.1) !important;
    /* Hiệu ứng sáng hơn khi hover */
    box-shadow: 0 3px 10px rgba(56, 189, 248, 0.2) !important;
    /* Bóng nhẹ */
}

/* Override CSS gốc */
.wg-table.table-all-attribute .attribute-item:hover {
    background: rgba(56, 189, 248, 0.1) !important;
    background-color: rgba(56, 189, 248, 0.1) !important;
}

/* Action Buttons - Style giống hình */
.action-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.action-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.action-btn i {
    font-size: 20px;
    color: #ffffff;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.action-btn.download {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
}

.action-btn.download:hover {
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

.action-btn.key {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.action-btn.key:hover {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.action-btn.extend {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
}

.action-btn.extend:hover {
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

.action-btn.edit {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
}

.action-btn.edit:hover {
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

.action-btn.delete {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.action-btn.delete:hover {
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .action-buttons {
        justify-content: flex-start;
    }

    .action-btn {
        width: 40px;
        height: 40px;
    }

    .action-btn i {
        font-size: 18px;
    }
}

/* Cột hiển thị Key */
.attribute-item .body-text b {
    font-size: 14px;
    font-weight: bold;
}

/* Căn chỉnh các button thao tác */
.attribute-item div:last-child {
    display: flex;
    gap: 10px;
}

.body-text {
    display: block;
    width: auto;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.attribute-item {
    font-size: 11px;
    /* Bạn có thể điều chỉnh giá trị này theo ý muốn */
}

.body-button {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    /* Căn giữa các nút */
    justify-content: flex-start;
    /* Căn các nút về bên trái */
}

/* Khi màn hình nhỏ hơn 768px, chuyển sang hiển thị dọc */
@media (max-width: 768px) {
    .actions {
        flex-direction: column;
        /* Chuyển sang xếp dọc */
        align-items: center;
        /* Căn giữa các nút */
    }
}

.column-note {
    font-size: 14px;
    /* To, dễ nhìn */
    font-weight: 400;
    /* Đậm vừa phải (semi-bold) */
    color: #cbd5e1 !important;
    /* Màu chữ sáng cho dark theme */
    line-height: 20px;
}

/* Màu chữ cho tên giao dịch */
.attribute-item .name {
    color: #ffffff !important;
    font-weight: 600;
}

/* Border cho table */
.attribute-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(56, 189, 248, 0.2) !important;
}

.table-title {
    font-weight: bold;
    border-bottom: 2px solid rgba(56, 189, 248, 0.3) !important;
    padding-bottom: 8px;
}

.wg-table.table-all-attribute .table-title {
    padding: 12px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.8) !important;
}

.wg-table.table-all-attribute .table-title .body-title {
    color: #38bdf8 !important;
    font-weight: 700;
}

/* Khi màn hình nhỏ hơn 768px, chuyển sang hiển thị dọc */
@media (max-width: 768px) {
    .actions {
        flex-direction: column;
        /* Chuyển sang xếp dọc */
        align-items: center;
        /* Căn giữa các nút */
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .attribute-item {
        font-size: 12px;
    }

    .body-text {
        font-size: 12px;
        width: 14ch;
    }

    .action-btn {
        width: 34px;
        height: 34px;
    }

    .action-btn i {
        font-size: 15px;
    }

}

@media (max-width: 768px) {
    .attribute-item {
        font-size: 12px;
    }

    .body-text {
        font-size: 12px;
        width: 14ch;
    }

    .action-btn {
        width: 32px;
        height: 32px;
    }

    .action-btn i {
        font-size: 15px;
    }

    .page-header-box {
        padding: 18px;
        border-radius: 16px;
    }

    .header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .header-left {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .header-left h2 {
        font-size: 18px;
        line-height: 1.3;
        word-break: break-word;
        /* 👈 FIX xuống dòng lỗi */
    }

    .header-left p {
        font-size: 13px;
    }

    /* ICON nhỏ lại */
    .header-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    /* RIGHT BOX (time + user) */
    .header-right {
        width: 100%;
        display: flex;
        justify-content: space-between;
        gap: 8px;
        flex-wrap: wrap;
    }

    .time-box {
        flex: 1;
        font-size: 12px;
        padding: 6px 10px;
    }

    .user-box {
        flex: 1;
        font-size: 12px;
        padding: 6px 10px;
        justify-content: center;
    }

    /* ===== BUTTON ACTION ===== */
    .header-actions {
        flex-direction: column;
        gap: 10px;
    }

    /* PASS BOX */
    .pass-box {
        width: 80%;
        justify-content: space-between;
    }

    /* ===== TABLE ===== */
    .wg-box {
        padding: 12px;
    }

    /* dropdown showing */
    .show {
        flex-wrap: wrap;
        gap: 6px;
        font-size: 12px;
    }

    /* bảng scroll ngang */
    .wg-table {
        overflow-x: auto;
    }

    .wg-table ul {
        min-width: 800px;
        /* 👈 tránh vỡ layout */

    }
}

.body-text {
    display: block;
    width: auto;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    text-overflow: ellipsis;
    /* Hiển thị dấu "..." khi nội dung bị cắt */
}

.body-text {
    display: inline-block;
    /* Đảm bảo phần tử có thể áp dụng text-overflow */
    width: 19ch;
    /* Chiều rộng tối đa tương đương 19 ký tự */
    white-space: nowrap;
    /* Ngăn nội dung xuống dòng */
    overflow: hidden;
    /* Ẩn phần nội dung vượt quá */
    text-overflow: ellipsis;
    /* Hiển thị dấu "..." khi nội dung bị cắt */
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #cbd5e1 !important;
    /* Màu chữ sáng cho dark theme */
}

/* Cột hiển thị Key */
.attribute-item .body-text b {
    font-size: 14px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .body-text {
        max-width: 80px;
    }

    .table-title {
        display: grid;
        grid-template-columns:
            130px 80px 160px 120px 100px 140px 140px 140px 160px;

        gap: 10px;
    }

    .action-buttons {
        justify-content: flex-start;
        margin-left: -60px;
        /* 👈 kéo thêm sang trái */
    }

    /* chỉnh theo UI */
    .attribute-item {
        display: grid;
        grid-template-columns:
            130px
            /* mã giao dịch */
            80px
            /* mã tool */
            160px
            /* tên tool */
            120px
            /* key */
            100px
            /* số ngày */
            140px
            /* ngày thuê */
            140px
            /* HSD */
            140px
            /* thao tác */
            140px;
        /* ghi chú */

        align-items: center;
        gap: 10px;
    }
}

/* gia hạn tool */
.renew-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 18px;
    border-radius: 16px;

    border: 1px solid rgba(56, 189, 248, 0.25);

    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(14, 165, 233, 0.2));
    backdrop-filter: blur(8px);

    color: #38bdf8;
    font-weight: 600;
    font-size: 13px;

    cursor: pointer;
    transition: all 0.3s ease;

    /* 👉 dịch sang trái */
    transform: translateX(-10px);

    /* shadow nhẹ */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.renew-btn i {
    font-size: 16px;
    transition: all 0.3s ease;
}

/* Hover hiệu ứng xịn */
.renew-btn:hover {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: #fff;

    transform: translateX(-10px) translateY(-2px);
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.5);
}

/* Icon animate */
.renew-btn:hover i {
    transform: rotate(-20deg) scale(1.15);
}

/* Click effect */
.renew-btn:active {
    transform: translateX(-10px) scale(0.95);
}

/* Glow viền */
.renew-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.3;
}

/* Hiệu ứng nhấp nhẹ (thu hút click) */
@keyframes pulseSoft {
    0% {
        box-shadow: 0 0 0 rgba(56, 189, 248, 0.3);
    }

    50% {
        box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
    }

    100% {
        box-shadow: 0 0 0 rgba(56, 189, 248, 0.3);
    }
}

.renew-btn {
    animation: pulseSoft 2s infinite;
}

.renew-popup {
    border-radius: 18px !important;
    overflow: hidden;
}

.renew-box {
    color: #e2e8f0;
}

.renew-header {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
}

.renew-header .icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.renew-header .title {
    font-size: 18px;
    font-weight: 700;
}

.renew-header .sub {
    font-size: 13px;
    color: #94a3b8;
}

.renew-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.renew-card {
    position: relative;
    padding: 14px;
    border-radius: 14px;
    background: #1e293b;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.renew-card:hover {
    transform: translateY(-2px);
    border: 1px solid #38bdf8;
}

.renew-card.active {
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
}

.renew-card .card-left {
    display: flex;
    gap: 10px;
    align-items: center;
}

.renew-card .card-left i {
    font-size: 22px;
}

.renew-card .name {
    font-weight: 600;
}

.renew-card .desc {
    font-size: 12px;
    color: #94a3b8;
}

.renew-card.active .desc {
    color: #e0f2fe;
}

.renew-card .price {
    font-weight: 700;
}

.renew-card .check {
    display: none;
}

.renew-card.active .check {
    display: block;
}

.badge {
    position: absolute;
    top: -8px;
    left: 12px;
    background: #22c55e;
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 8px;
}

.vip-badge {
    background: #f59e0b;
}

.renew-confirm {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: #000;
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 600;
}

.renew-cancel {
    background: transparent;
    border: 1px solid #475569;
    color: #cbd5e1;
    border-radius: 10px;
    padding: 10px 18px;
}

/* trang mua tool */

.page-header {
    position: relative;
    padding: 20px 25px;
    border-radius: 16px;
    margin-bottom: 20px;

    /* nền chính */
    background: linear-gradient(135deg,
            rgba(0, 195, 255, 0.08),
            rgba(15, 23, 42, 0.9));

    border: 1px solid rgba(0, 195, 255, 0.2);

    /* blur kính */
    backdrop-filter: blur(12px);

    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 195, 255, 0.25), transparent 70%);
    top: -50px;
    left: -50px;
    z-index: 0;
}

.product-image-box {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}

/* ÉP SIZE ẢNH */
.product-image {
    width: 1000px !important;
    max-width: 1000px !important;
}

/* WRAPPER */
.product-image-wrapper {
    display: flex;
    justify-content: flex-start;
    /* 👈 đẩy sang trái */
    margin-bottom: 20px;
}

.product-image-wrapper {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 12px;

    width: 1000px;
    /* 👈 QUAN TRỌNG */
    max-width: 100%;
}

/* ảnh */
.product-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

/* description */
.product-desc {
    width: 100%;
    max-width: 1000px;
    /* giữ giới hạn nhưng không ép cứng */
    margin-top: 16px;

    padding: 20px;
    border-radius: 14px;

    /* nền nâng cấp */
    background:
        radial-gradient(circle at top left, rgba(0, 195, 255, 0.12), transparent 40%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6));

    border: 1px solid rgba(0, 195, 255, 0.25);

    /* glass + chiều sâu */
    backdrop-filter: blur(10px);
    box-shadow:
        0 0 20px rgba(0, 195, 255, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.6),
        inset 0 0 20px rgba(255, 255, 255, 0.03);

    position: relative;
    overflow: hidden;
}

.product-desc:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 30px rgba(0, 195, 255, 0.25),
        0 15px 40px rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
}

/* KHUNG NGOÀI */
.product-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    padding: 12px;

    background: linear-gradient(145deg,
            rgba(0, 195, 255, 0.1),
            rgba(15, 23, 42, 0.9));

    border: 1px solid rgba(0, 195, 255, 0.3);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(0, 195, 255, 0.05);

    overflow: hidden;
    transition: 0.3s;
}

.left {
    max-width: 100%;
    overflow: hidden;
    /* chặn tràn */
}

@media (max-width: 768px) {

    .product-image {
        max-width: 100%;
    }

    .product-image img {
        max-height: 220px;
        object-fit: cover;
    }

}

/* ẢNH */
.product-image img {
    width: 100%;
    display: block;
    border-radius: 14px;
    transition: 0.4s ease;
}

/* HOVER */
.product-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.product-image:hover img {
    transform: scale(1.05);
}

/* ÉP IMG */
.product-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 16px !important;
    display: block !important;
}

.page-header::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 195, 255, 0.15), transparent 70%);
    bottom: -40px;
    right: -40px;
    z-index: 0;
}

.page-header>* {
    position: relative;
    z-index: 1;
}

.page-header {
    transition: all 0.3s ease;
}

.page-header:hover {
    border-color: #00c3ff;
    box-shadow: 0 0 30px rgba(0, 195, 255, 0.25);
}

.page-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.breadcrumbs {
    font-size: 13px;
    color: #94a3b8;
}

.breadcrumbs a {
    color: #00c3ff;
    text-decoration: none;
}

.breadcrumbs span {
    margin: 0 5px;
}

.page-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(0, 195, 255, 0.1);
    color: #00c3ff;
}

/* hover nhẹ cho xịn */
.page-title:hover .title-icon {
    box-shadow: 0 0 10px rgba(0, 195, 255, 0.4);
}

/* phần ảnh */

.product-image-box {
    padding: 10px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(0, 195, 255, 0.15);
}

/* khung ảnh */
.product-image {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

/* ảnh */
.product-image img {
    width: 100%;
    display: block;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

/* hover zoom */
.product-image:hover img {
    transform: scale(1.05);
}

/* glow nhẹ */
.product-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: radial-gradient(circle at top left, rgba(0, 195, 255, 0.15), transparent 60%);
    opacity: 0;
    transition: 0.3s;
}

.product-image:hover::after {
    opacity: 1;
}

/* hover nổi */
.product-image-box:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-3px);
    transition: 0.3s;
}

.product-desc {
    line-height: 1.6;
    color: #cbd5e1;
}

/* gói mua */
/* WRAPPER */
.selection-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* CARD */
.plan-card {
    position: relative;
    padding: 14px;
    /* 👈 nhỏ lại */
    border-radius: 14px;
    cursor: pointer;

    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.06);

    transition: all 0.25s ease;
}

/* hover */
.plan-card:hover {
    border-color: #00c3ff;
    background: linear-gradient(145deg, rgba(0, 195, 255, 0.08), rgba(2, 6, 23, 0.9));
    transform: translateY(-2px);
}

/* ACTIVE */
.plan-card.active {
    border-color: #00c3ff;
    background: linear-gradient(145deg, rgba(0, 195, 255, 0.15), rgba(2, 6, 23, 0.9));
    box-shadow: 0 0 12px rgba(0, 195, 255, 0.2);
}

/* HEADER */
.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

/* ICON nhỏ lại */
.icon-wrapper {
    width: 34px;
    height: 34px;
    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 195, 255, 0.1);
    color: #00c3ff;
    font-size: 14px;
}

/* PRICE nhỏ lại */
.price-text {
    font-size: 17px;
    font-weight: 600;
    color: #00c3ff;
    margin-top: 10px;
}

/* BODY */
.plan-body {
    margin-top: 4px;
}

/* TITLE */
.plan-body div:first-child {
    font-size: 14px;
}

/* DESC */
.plan-desc {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.4;
}

/* BADGE gọn hơn */
.hot-badge {
    position: absolute;
    top: 10px;
    right: 10px;

    background: linear-gradient(135deg, #00c3ff, #00ffcc);
    color: #000;

    font-size: 10px;
    font-weight: 700;

    padding: 3px 7px;
    border-radius: 6px;
}

/* nút mua, demo, voucher */
/* BOX */
.action-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ===== NÚT CHÍNH ===== */
.btn-main {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    border: none;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    background: linear-gradient(135deg, #00c3ff, #00ffcc);
    color: #000;

    font-weight: 600;
    font-size: 15px;

    cursor: pointer;
    transition: all 0.25s ease;
}

/* hover */
.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 195, 255, 0.5);
}

/* click */
.btn-main:active {
    transform: scale(0.97);
}

/* ===== NÚT PHỤ ===== */
.action-sub {
    display: flex;
    gap: 10px;
}

/* BUTTON NHỎ */
.btn-sub {
    flex: 1;
    padding: 11px;
    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);

    color: #cbd5e1;
    font-size: 13px;

    cursor: pointer;
    transition: all 0.25s ease;
}

/* hover */
.btn-sub:hover {
    border-color: #00c3ff;
    color: #00c3ff;
    background: rgba(0, 195, 255, 0.08);
}

/* disabled */
.btn-sub:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ICON */
.btn-main i,
.btn-sub i {
    font-size: 14px;
}

.btn-sub:hover {
    box-shadow: 0 0 10px rgba(0, 195, 255, 0.3);
}

/* MÔ TẢ */
/* spacing */
.mt-20 {
    margin-top: 20px;
}

/* HEADER */
.desc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ICON */
.desc-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    /* Nền gradient tinh tế với độ chuyển màu mượt */
    background: linear-gradient(135deg, rgba(26, 34, 54, 1), rgba(15, 23, 42, 1));

    /* Viền nhẹ nhàng */
    border: 1px solid rgba(52, 152, 219, 0.4);

    /* Màu sắc của biểu tượng */
    color: #00c3ff;
    font-size: 16px;

    /* Bóng đổ nhẹ tạo chiều sâu */
    box-shadow: 0 4px 10px rgba(0, 195, 255, 0.3);

    /* Hiệu ứng chuyển động mượt mà */
    transition: all 0.3s ease;
}

/* Hiệu ứng khi hover */
.desc-icon:hover {
    transform: scale(1.1);
    /* Phóng to icon khi hover */
    box-shadow: 0 6px 15px rgba(0, 195, 255, 0.5);
    /* Bóng đổ mạnh hơn khi hover */
    background: linear-gradient(135deg, rgba(0, 195, 255, 0.1), rgba(0, 195, 255, 0.3));
    /* Thêm hiệu ứng ánh sáng khi hover */
    color: #ffffff;
    /* Thay đổi màu icon khi hover */
}

/* TITLE */
.desc-header h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

/* CONTENT */
.desc-content {
    font-size: 16px;
    color: #bfbfbf;
    line-height: 1.7;
}

/* nội dung html bên trong */
.desc-content p {
    margin-bottom: 10px;
}

.desc-content strong {
    color: gold;
}

.trust-box {
    margin-top: 12px;
    padding: 14px;
    border-radius: 12px;

    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.9));
    border: 1px solid rgba(0, 195, 255, 0.15);

    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* item */
.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 13px;
    color: #cbd5e1;
}

/* icon */
.trust-item i {
    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: rgba(0, 195, 255, 0.1);
    color: #00c3ff;
    font-size: 14px;

    box-shadow: 0 0 8px rgba(0, 195, 255, 0.2);
}

/* bank */
/* ===== CARD ===== */
.deposit-card {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;

    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(14px);

    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.deposit-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.45);
}

.deposit-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    pointer-events: none;
}

.deposit-section {
    width: 100%;
    padding: 0 20px;
    margin-bottom: 30px;
}

/* ===== INPUT BOX ===== */
.input-box-custom {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 15px;
    transition: 0.25s;
}

.input-box-custom:hover {
    border-color: rgba(0, 200, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}


.input-box {
    padding: 12px 14px;
    border: 1px solid #1e293b;
    border-radius: 10px;
    background: #0f172a;
}

/* label nằm trong cùng box */
.input-label {
    font-size: 12px;
    color: #64748b;
    /* mờ hơn */
    margin-bottom: 4px;
}

/* value nằm trong cùng box */
.input-value {
    font-size: 16px;
    font-weight: 600;
    color: #e2e8f0;
}


/* ===== INPUT NHẬP ===== */
.input-edit label {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 5px;
    display: block;
}

.input-edit input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px;
    color: #e2e8f0;
    transition: 0.25s;
}

.input-edit input:focus {
    border-color: rgba(0, 200, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
    outline: none;
}


/* ===== COPY ===== */
.input-copy .input-inline {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.input-copy input {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px;
    color: #e2e8f0;
}

.input-copy button {
    background: rgba(0, 200, 255, 0.15);
    border: 1px solid rgba(0, 200, 255, 0.3);
    color: #7dd3fc;
    padding: 0 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.input-copy button:hover {
    background: rgba(0, 200, 255, 0.25);
}


/* ===== QUICK ===== */
.quick-amount {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.quick-amount button {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #cbd5f5;
    font-size: 13px;
    transition: 0.2s;
}

.quick-amount button:hover {
    background: rgba(255, 255, 255, 0.08);
}

.quick-amount button.active {
    background: rgba(0, 200, 255, 0.2);
    color: #7dd3fc;
}


/* ===== BUTTON ===== */
.btn-main {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    border: none;
    padding: 12px;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    transition: 0.3s;
}

.btn-main:hover {
    opacity: 0.9;
}


/* COPY BTN */
.btn-copy {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5f5;
    padding: 10px;
    border-radius: 10px;
    transition: 0.2s;
}

.btn-copy:hover {
    background: rgba(255, 255, 255, 0.08);
}

.deposit-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 20px 0;
}

.deposit-note h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #facc15;
}

.deposit-note ul {
    padding-left: 18px;
}

.deposit-note li {
    margin-bottom: 6px;
    color: #cbd5f5;
    font-size: 14px;
}

.deposit-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

@media(max-width: 768px) {
    .deposit-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .deposit-right {
        display: none !important;
    }
}

.deposit-note {
    background: rgba(250, 204, 21, 0.08);
    border: 1px solid rgba(250, 204, 21, 0.2);
}

.deposit-note h4 {
    color: #facc15;
    margin-bottom: 10px;
}

.deposit-note li {
    margin-bottom: 8px;
    color: #cbd5f5;
}

.deposit-right {
    flex: 0 0 360px;
    /* 🔥 giữ đúng tỷ lệ cột phải */
    max-width: 360px;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    position: sticky;
    top: 20px;
}

#qr_cont_262 {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* 🔥 quan trọng nhất */

    max-width: 360px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-direction: column;

    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    border: 2px dashed #333;

    padding: 20px;
    box-sizing: border-box;
}

/* ================= GLOBAL WRAPPER ================= */
.deposit-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* ================= LEFT COLUMN ================= */
.deposit-left {
    flex: 1;
    min-width: 320px;
}

/* ================= RIGHT COLUMN (QR SIDEBAR) ================= */
.deposit-right {
    flex: 0 0 360px;
    max-width: 360px;

    display: flex;
    flex-direction: column;
    gap: 15px;

    position: sticky;
    top: 20px;
}

/* ================= QR CONTAINER ================= */
#qr_cont_262 {
    width: 100%;
    aspect-ratio: 1 / 1;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-direction: column;

    background: rgba(0, 0, 0, 0.2);
    border: 2px dashed #333;
    border-radius: 16px;

    padding: 20px;
    box-sizing: border-box;
}

/* ================= QR IMAGE ================= */
#img_qr_262 {
    width: 100%;
    max-width: 320px;

    background: #fff;
    padding: 10px;
    border-radius: 12px;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);

    object-fit: contain;
}

/* ================= PLACEHOLDER ================= */
.qr-placeholder {
    text-align: center;
    opacity: 0.6;
}

.qr-placeholder i {
    font-size: 70px;
    margin-bottom: 10px;
    opacity: 0.2;
}

.qr-placeholder-title {
    font-size: 16px;
    font-weight: 600;
}

.qr-placeholder-sub {
    font-size: 13px;
    opacity: 0.7;
}

/* ================= LOADING ================= */
#status_pill_262 {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 10px;
    font-size: 13px;
}

/* ================= NOTE BOX ================= */
.deposit-note {
    background: rgba(255, 193, 7, 0.08);
    border-left: 4px solid #ffc107;

    padding: 15px;
    border-radius: 10px;

    font-size: 13px;
    color: #e5e7eb;
}

.deposit-note h4 {
    font-size: 15px;
    color: #ffc107;
    margin-bottom: 8px;
}

.deposit-note ul {
    margin: 0;
    padding-left: 18px;
}

/* ================= BUTTON ================= */
.btn-main {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}

/* ================= QUICK AMOUNT ================= */
.quick-amount button {
    margin-right: 5px;
    margin-bottom: 5px;
}

/* ================= INPUT INLINE ================= */
.input-inline {
    display: flex;
    gap: 8px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

    .deposit-wrapper {
        flex-direction: column;
    }

    .deposit-right {
        flex: 1;
        max-width: 100%;
        position: relative;
    }

    #qr_cont_262 {
        aspect-ratio: auto;
        min-height: 280px;
    }
}


/* ================= TỔNG THỂ ================= */
.deposit-wrapper {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* ================= CỘT TRÁI ================= */
.deposit-left {
    flex: 2.3;
    background: linear-gradient(145deg, #0b1120, #0f172a);
    padding: 30px;
    border-radius: 18px;
    border: 1px solid rgba(56, 189, 248, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    transition: 0.3s ease;
}

.deposit-left:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 60px rgba(56, 189, 248, 0.15);
}

/* ================= CỘT PHẢI ================= */
.deposit-right {
    flex: 1;
    min-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 18px;

    position: sticky;
    top: 20px;
}

/* ================= INPUT BOX ================= */
.input-box-custom {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid #1e293b;
    padding: 16px 18px;
    border-radius: 12px;
    margin-bottom: 18px;

    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
}

.input-box-custom::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.08), transparent);
    transition: 0.6s;
}

.input-box-custom:hover::before {
    left: 100%;
}

.input-box-custom:hover {
    border-color: #38bdf8;
    transform: translateY(-2px);
}

/* Label */
.input-label {
    color: #94a3b8;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Value */
.input-value {
    color: #f1f5f9;
    font-size: 18px;
    font-weight: 700;
}

/* ================= QUICK AMOUNT ================= */
.quick-amount {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.quick-amount button {
    padding: 10px;
    background: #0f172a;
    border: 1px solid #334155;
    color: #cbd5e1;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;

    transition: 0.25s ease;
}

.quick-amount button:hover {
    background: #1e293b;
    border-color: #38bdf8;
    color: #38bdf8;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.25);
}

/* ================= BUTTON QR ================= */
.btn-main-qr {
    width: 100%;
    padding: 15px;
    border-radius: 12px;

    background: linear-gradient(90deg, #38bdf8, #2563eb, #38bdf8);
    background-size: 200% 200%;

    color: #fff;
    border: none;
    font-weight: 800;
    font-size: 15px;
    text-transform: uppercase;

    cursor: pointer;
    transition: 0.4s ease;

    box-shadow: 0 5px 25px rgba(37, 99, 235, 0.4);
    animation: gradientMove 5s ease infinite;
}

.btn-main-qr:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(56, 189, 248, 0.5);
}

/* Gradient animation */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ================= COPY BUTTON ================= */
.btn-copy-sm {
    background: #38bdf8;
    color: #000;
    border: none;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;

    transition: 0.25s;
}

.btn-copy-sm:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(56, 189, 248, 0.4);
}

/* ================= QR BOX ================= */
#qr_cont_262 {
    background: linear-gradient(145deg, #0b1120, #0f172a);
    border: 1px solid #1e293b;
    border-radius: 18px;

    padding: 25px;
    min-height: 360px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    position: relative;
    overflow: hidden;
}

/* Glow nhẹ */
#qr_cont_262::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.12), transparent 70%);
    top: -50px;
    right: -50px;
    filter: blur(20px);
}

/* QR image */
#img_qr_262 {
    width: 320px;
    height: 320px;
    object-fit: contain;

    border-radius: 12px;
    background: #fff;
    padding: 10px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: 0.3s;
}

/* Placeholder */
.qr-placeholder {
    text-align: center;
    color: #64748b;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* ================= HƯỚNG DẪN ================= */
.instruction-box {
    background: linear-gradient(145deg, #0b1120, #0f172a);
    border: 1px solid #1e293b;
    border-radius: 18px;
    overflow: hidden;
    transition: 0.3s;
}

.instruction-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(56, 189, 248, 0.1);
}

.instruction-header {
    padding: 14px 18px;
    background: rgba(56, 189, 248, 0.08);
    color: #38bdf8;
    font-weight: 800;
    border-bottom: 1px solid #1e293b;
}

.instruction-box ul {
    padding: 18px;
    margin: 0;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .deposit-wrapper {
        flex-direction: column;
    }

    .deposit-right {
        position: relative;
        top: 0;
        min-width: 100%;
    }

    #img_qr_262 {
        width: 260px;
        height: 260px;
    }
}

.deposit-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
}

.instruction-box {
    width: 100%;
    background: #0b1120;
    border: 1px solid #1e293b;
    border-radius: 14px;
    overflow: hidden;
}

/* Header nhẹ nhàng hơn */
.instruction-header {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    color: #cbd5e1;
    font-weight: 600;
    font-size: 14px;
}

/* Nội dung chữ mềm hơn */
.instruction-box ul {
    padding: 14px 16px;
    margin: 0;
    list-style: none;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.6;
}

.instruction-box li {
    margin-bottom: 8px;
}

#qr_cont_262 {
    background: #0b1120;
    border: 1px solid #1e293b;
    border-radius: 16px;
    padding: 20px;
    min-height: 340px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* QR không quá “nặng” */
#img_qr_262 {
    width: 300px;
    height: 300px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    padding: 8px;
}

.input-label {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 6px;
}

.input-value {
    color: #e2e8f0;
    font-size: 16px;
    font-weight: 600;
}

/* input bớt “thô” */
input.form-control {
    background: transparent;
    border: 1px solid #334155;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
}

input.form-control:focus {
    border-color: #475569;
    outline: none;
    box-shadow: none;
}

.btn-main-qr {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn-main-qr:hover {
    background: #1d4ed8;
}
.badge-auto{
    position:relative;
    display:inline-block;
    padding:8px 20px;
    border-radius:30px;
    background:rgba(0, 255, 128, 0.15);
    border:1px solid rgba(0,255,128,0.5);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    color:#7CFFB2;
    font-weight:700;
    letter-spacing:2px;
    overflow:hidden;
    box-shadow:
        0 0 8px rgba(0,255,128,0.4),
        0 0 20px rgba(0,255,128,0.25),
        inset 0 0 10px rgba(255,255,255,0.08);
    animation:
        glowPulse 1.8s infinite alternate,
        floatBadge 3s ease-in-out infinite;
}

/* ánh sáng chạy */
.badge-auto::before{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:80%;
    height:100%;
    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.45),
        transparent
    );
    transform:skewX(-25deg);
    animation:shine 2.5s linear infinite;
}

/* vòng sáng ngoài */
.badge-auto::after{
    content:"";
    position:absolute;
    inset:-2px;
    border-radius:30px;
    border:1px solid rgba(0,255,128,0.25);
    animation:ring 2s infinite;
}

/* hiệu ứng glow */
@keyframes glowPulse{
    from{
        box-shadow:
            0 0 6px rgba(0,255,128,0.3),
            0 0 15px rgba(0,255,128,0.2);
    }
    to{
        box-shadow:
            0 0 14px rgba(0,255,128,0.7),
            0 0 35px rgba(0,255,128,0.45);
    }
}

/* ánh sáng quét */
@keyframes shine{
    0%{
        left:-120%;
    }
    100%{
        left:140%;
    }
}

/* hiệu ứng nổi */
@keyframes floatBadge{
    0%,100%{
        transform:translateY(0px);
    }
    50%{
        transform:translateY(-2px);
    }
}

/* hiệu ứng vòng */
@keyframes ring{
    0%{
        opacity:0.2;
        transform:scale(1);
    }
    100%{
        opacity:0;
        transform:scale(1.15);
    }
}
.body-text2 {
    color: #cbd5e1 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    /* letter-spacing: 1px !important; */
}