        .auth-page .header { background: rgba(255,255,255,0.15); backdrop-filter: blur(20px); }
        .auth-page .header .btn-link { color: #fff; }
        .auth-page .header .btn-link:hover { color: rgba(255,255,255,0.8); }
        .auth-page .auth-container { margin-top: 40px; }

        :root {
            --auth-primary: #0D76FF;
            --auth-secondary: #5ED0FB;
            --auth-accent: #00BE7D;
            --auth-bg: #ffffff;
            --auth-card-bg: #ffffff;
            --auth-text: #1a1a2e;
            --auth-text-muted: #6b7280;
            --auth-border: #e5e7eb;
            --auth-radius: 16px;
            --auth-shadow: 0 4px 24px rgba(13, 118, 255, 0.08);
        }

        .auth-page {
            min-height: 100vh;
            min-height: 100dvh;
            background: var(--auth-bg);
            position: relative;
        }

        .auth-page .header {
            position: fixed !important;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            padding: 0 16px;
            height: 56px;
            display: flex;
            align-items: center;
            background: linear-gradient(135deg, rgba(13, 118, 255, 0.95) 0%, rgba(94, 208, 251, 0.95) 100%);
            box-shadow: 0 4px 20px rgba(13, 118, 255, 0.2);
        }

        .auth-page .wrapper {
            padding-top: 56px !important;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            min-height: 100dvh;
        }

        .auth-container {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 0px 20px 12px;
            width: 100%;
            max-width: 400px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .auth-header {
            text-align: center;
            margin-bottom: 6px;
            margin-top: -32px;
            animation: fadeInDown 0.6s ease-out;
        }

        @keyframes fadeInDown {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .auth-header .brand-icon {
            width: 64px;
            height: 64px;
            margin: 0 auto 12px;
            border-radius: 16px;
            overflow: hidden;
            background: linear-gradient(135deg, var(--auth-primary) 0%, var(--auth-secondary) 100%);
            box-shadow: 0 8px 24px rgba(13, 118, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            animation: scaleIn 0.5s ease-out 0.2s both;
        }

        @keyframes scaleIn {
            from { opacity: 0; transform: scale(0.8); }
            to { opacity: 1; transform: scale(1); }
        }

        .auth-header .brand-icon img {
            width: 40px;
            height: 40px;
            object-fit: contain;
        }

        .auth-header h1 {
            color: var(--auth-text);
            font-size: 22px;
            font-weight: 700;
            margin: 0 0 6px;
            letter-spacing: -0.3px;
        }

        .auth-header p {
            color: var(--auth-text-muted);
            font-size: 13px;
            margin: 0;
            font-weight: 400;
        }

        .auth-form {
            background: var(--auth-card-bg);
            border-radius: var(--auth-radius);
            padding: 12px 20px 16px;
            width: 100%;
            box-shadow: var(--auth-shadow);
            margin-bottom: 8px;
            animation: slideUp 0.5s ease-out 0.3s both;
            border: 1px solid rgba(13, 118, 255, 0.06);
        }

        @keyframes slideUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .auth-form .form-group {
            margin-bottom: 16px;
        }

        .auth-form .form-control {
            height: 48px;
            border-radius: 12px;
            border: 1.5px solid var(--auth-border);
            font-size: 15px;
            padding: 0 16px;
            transition: all var(--transition-normal);
            background: #fafbfc;
            color: var(--auth-text);
        }

        .auth-form .form-control::placeholder {
            color: #9ca3af;
            font-size: 14px;
        }

        .auth-form .form-control:focus {
            border-color: var(--auth-primary);
            box-shadow: 0 0 0 3px rgba(13, 118, 255, 0.08);
            outline: none;
            background: #ffffff;
        }

        .password-wrapper {
            position: relative;
        }

        .password-toggle {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: #9ca3af;
            font-size: 22px;
            user-select: none;
            transition: color var(--transition-fast);
            padding: 4px;
            display: block;
        }

        .password-toggle:hover {
            color: var(--auth-primary);
        }

        .auth-buttons {
            display: flex;
            gap: 12px;
            width: 100%;
            animation: slideUp 0.5s ease-out 0.4s both;
        }

        .auth-buttons .btn-auth {
            width: 100%;
            height: 50px;
            border-radius: 12px;
            font-size: 15px;
            font-weight: 600;
            border: none;
            cursor: pointer;
            transition: all var(--transition-normal);
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .btn-auth.login {
            background: linear-gradient(135deg, var(--auth-primary) 0%, var(--auth-secondary) 100%);
            color: #ffffff;
            box-shadow: 0 4px 16px rgba(13, 118, 255, 0.3);
        }

        .btn-auth.login:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 24px rgba(13, 118, 255, 0.4);
        }

        .btn-auth.register {
            background: #ffffff;
            color: var(--auth-primary);
            border: 1.5px solid var(--auth-primary);
        }

        .btn-auth.register:hover {
            background: rgba(13, 118, 255, 0.04);
            transform: translateY(-2px);
        }

        @media (max-width: 374.98px) {
            .auth-container {
                padding: 0px 14px 8px;
            }

            .auth-header {
                margin-bottom: 6px;
                margin-top: -28px;
            }

            .auth-header .brand-icon {
                width: 56px;
                height: 56px;
                margin-bottom: 8px;
                border-radius: 16px;
            }

            .auth-header .brand-icon img {
                width: 36px;
                height: 36px;
            }

            .auth-header h1 {
                font-size: 18px;
                margin-bottom: 4px;
            }

            .auth-header p {
                font-size: 11px;
            }

            .auth-form {
                padding: 12px 18px 16px;
                border-radius: 16px;
                margin-bottom: 6px;
            }

            .form-control {
                height: 48px;
                font-size: 15px;
                padding: 0 14px;
            }

            .btn-auth.login {
                height: 48px;
                font-size: 15px;
            }

            .btn-auth.register {
                height: 48px;
                font-size: 15px;
            }
        }

        @media (max-width: 575.98px) {
            .auth-container {
                padding: 0px 16px 8px;
            }

            .auth-header {
                margin-bottom: 10px;
                margin-top: -28px;
            }

            .auth-header .brand-icon {
                width: 64px;
                height: 64px;
                margin-bottom: 12px;
            }

            .auth-header .brand-icon img {
                width: 40px;
                height: 40px;
            }

            .auth-header h1 {
                font-size: 20px;
                margin-bottom: 6px;
            }

            .auth-header p {
                font-size: 12px;
            }

            .auth-form {
                padding: 12px 20px 16px;
                border-radius: 18px;
                margin-bottom: 6px;
            }

            .form-control {
                height: 50px;
                font-size: 15px;
            }

            .btn-auth.login, .btn-auth.register {
                height: 50px;
                font-size: 15px;
            }
        }

        @media (min-width: 576px) and (max-width: 767.98px) {
            .auth-container {
                max-width: 460px;
                padding: 28px 20px;
            }

            .auth-header {
                margin-bottom: 32px;
            }

            .auth-header .brand-icon {
                width: 72px;
                height: 72px;
                margin-bottom: 16px;
            }

            .auth-header h1 {
                font-size: 24px;
            }

            .auth-form {
                padding: 24px 24px;
            }
        }

        @media (min-width: 768px) and (max-width: 991.98px) {
            .auth-container {
                max-width: 480px;
                padding: 32px 24px;
            }

            .auth-header .brand-icon {
                width: 80px;
                height: 80px;
            }

            .auth-header .brand-icon img {
                width: 52px;
                height: 52px;
            }

            .auth-header h1 {
                font-size: 26px;
            }

            .auth-form {
                padding: 28px 28px;
            }

            .form-control {
                height: 54px;
                font-size: 16px;
            }
        }

        @media (min-width: 992px) and (max-width: 1199.98px) {
            .auth-container {
                max-width: 480px;
                padding: 36px 28px;
            }

            .auth-header .brand-icon {
                width: 88px;
                height: 88px;
            }

            .auth-header h1 {
                font-size: 28px;
            }

            .auth-form {
                padding: 40px 32px;
            }
        }

        @media (min-width: 1200px) {
            .auth-container {
                max-width: 460px;
                padding: 40px 32px;
            }

            .auth-header .brand-icon {
                width: 96px;
                height: 96px;
            }

            .auth-header h1 {
                font-size: 30px;
            }

            .auth-header p {
                font-size: 15px;
            }

            .auth-form {
                padding: 36px 36px;
            }

            .form-control {
                height: 56px;
                font-size: 16px;
            }

            .btn-auth.login, .btn-auth.register {
                height: 56px;
                font-size: 16px;
            }
        }

        @media (min-width: 1440px) {
            .auth-container {
                max-width: 500px;
            }

            .auth-header .brand-icon {
                width: 104px;
                height: 104px;
            }

            .auth-header h1 {
                font-size: 32px;
            }

            .auth-form {
                padding: 40px 40px;
            }
        }

        @media screen and (max-height: 500px) and (orientation: landscape) {
            .auth-page .header {
                height: 48px;
            }

            .auth-page .wrapper {
                padding-top: 48px !important;
            }

            .auth-container {
                padding: 0px 20px 4px;
                justify-content: flex-start;
                margin-top: 0;
            }

            .auth-header {
                margin-bottom: 6px;
                margin-top: -20px;
            }

            .auth-header .brand-icon {
                width: 48px;
                height: 48px;
                margin-bottom: 6px;
            }

            .auth-header .brand-icon img {
                width: 32px;
                height: 32px;
            }

            .auth-header h1 {
                font-size: 16px;
                margin-bottom: 4px;
            }

            .auth-header p {
                font-size: 11px;
            }

            .auth-form {
                padding: 10px 16px 14px;
                margin-bottom: 6px;
            }

            .form-control {
                height: 46px;
                font-size: 14px;
            }

            .btn-auth.login {
                height: 46px;
                font-size: 14px;
            }
        }

        @media (hover: none) and (pointer: coarse) {
            .btn-auth.login, .btn-auth.register {
                min-height: 52px;
            }

            .auth-footer a {
                min-height: 44px;
                line-height: 44px;
                padding: 10px 20px;
            }

            .form-control {
                min-height: 50px;
            }

            .password-toggle {
                padding: 12px;
                margin: -12px;
            }
        }

        @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
            .auth-page {
                -webkit-font-smoothing: antialiased;
                -moz-osx-font-smoothing: grayscale;
            }

            .auth-header .brand-icon img {
                image-rendering: -webkit-optimize-contrast;
                image-rendering: crisp-edges;
            }
        }

        @supports (padding: max(0px)) {
            .auth-page .header {
                padding-left: max(16px, env(safe-area-inset-left));
                padding-right: max(16px, env(safe-area-inset-right));
            }

            .auth-container {
                padding-left: max(16px, env(safe-area-inset-left));
                padding-right: max(16px, env(safe-area-inset-right));
            }
        }

        @media print {
            .auth-page .header {
                display: none;
            }

            .auth-page {
                background: #fff !important;
            }

            .auth-form {
                box-shadow: none;
                border: 1px solid #ddd;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }
