body {
            background: linear-gradient(160deg, #f5f9ff 0%, #dce8f8 30%, #c5d8f0 60%, #b5cce8 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            font-family: 'Inter', sans-serif;
            position: relative;
            overflow: hidden;
        }

        /* ===== БОЛЬШИЕ СМАЙЛИКИ НА ЗАДНЕМ ФОНЕ ===== */
        .bg-emojis {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
            overflow: hidden;
        }

        .bg-emojis .emoji {
            position: absolute;
            font-size: 120px;
            opacity: 0.06;
            user-select: none;
            animation: float 20s ease-in-out infinite;
        }

        .bg-emojis .emoji:nth-child(1) { top: 5%; left: 5%; font-size: 180px; animation-delay: 0s; }
        .bg-emojis .emoji:nth-child(2) { top: 15%; right: 8%; font-size: 140px; animation-delay: 3s; }
        .bg-emojis .emoji:nth-child(3) { bottom: 20%; left: 3%; font-size: 200px; animation-delay: 6s; }
        .bg-emojis .emoji:nth-child(4) { bottom: 10%; right: 5%; font-size: 160px; animation-delay: 9s; }
        .bg-emojis .emoji:nth-child(5) { top: 45%; left: 2%; font-size: 100px; animation-delay: 2s; }
        .bg-emojis .emoji:nth-child(6) { top: 40%; right: 2%; font-size: 120px; animation-delay: 7s; }
        .bg-emojis .emoji:nth-child(7) { top: 70%; left: 8%; font-size: 90px; animation-delay: 4s; }
        .bg-emojis .emoji:nth-child(8) { top: 8%; left: 45%; font-size: 100px; animation-delay: 5s; }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            25% { transform: translateY(-20px) rotate(5deg); }
            50% { transform: translateY(10px) rotate(-3deg); }
            75% { transform: translateY(-15px) rotate(4deg); }
        }

        .auth-container {
            width: 100%;
            max-width: 440px;
            position: relative;
            z-index: 1;
        }

        .auth-card {
            background: rgba(255, 255, 255, 0.25);
            backdrop-filter: blur(28px);
            border: 2px solid rgba(255, 255, 255, 0.5);
            border-radius: 28px;
            padding: 40px 32px;
            box-shadow: 0 24px 80px rgba(31, 74, 138, 0.06);
            animation: modalIn 0.3s ease;
        }

        @keyframes modalIn {
            from { opacity: 0; transform: scale(0.95) translateY(16px); }
            to { opacity: 1; transform: scale(1) translateY(0); }
        }

        .auth-header {
            text-align: center;
            margin-bottom: 32px;
        }

        .auth-header .brand-name {
            font-size: 24px;
            font-weight: 800;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            background: linear-gradient(135deg, #0b2a54, #3a7abd, #5a9adf);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: block;
            text-decoration: none;
        }

        .auth-header .brand-logo {
            display: block;
            margin: 0 auto 12px;
            width: 64px;
            height: 64px;
            text-decoration: none;
        }

        .auth-header .brand-logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .auth-header h2 {
            font-size: 22px;
            font-weight: 700;
            color: #0b1e3a;
            margin-bottom: 6px;
        }

        .auth-header .sub-text {
            color: #4a5f7a;
            font-size: 14px;
            display: block;
        }

        .form-group {
            margin-bottom: 16px;
        }

        .form-group label {
            display: block;
            font-weight: 600;
            font-size: 13px;
            color: #1a3d6e;
            margin-bottom: 4px;
        }

        .form-group input {
            width: 100%;
            padding: 12px 14px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 14px;
            font-family: inherit;
            font-size: 14px;
            transition: 0.3s ease;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(8px);
            color: #1a2639;
        }

        .form-group input::placeholder {
            color: #6a7f9e;
        }

        .form-group input:focus {
            outline: none;
            border-color: rgba(31, 74, 138, 0.3);
            background: rgba(255, 255, 255, 0.25);
            box-shadow: 0 0 0 4px rgba(31, 74, 138, 0.04);
        }

        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 12px 0 20px;
            font-size: 13px;
        }

        .form-options label {
            display: flex;
            align-items: center;
            gap: 6px;
            color: #3a5f8a;
            cursor: pointer;
        }

        .form-options label input[type="checkbox"] {
            width: 16px;
            height: 16px;
            accent-color: #1a4a8a;
            cursor: pointer;
        }

        .form-options a {
            color: #1f4a8a;
            text-decoration: none;
            font-weight: 500;
        }

        .form-options a:hover {
            text-decoration: underline;
        }

        .btn-submit {
            width: 100%;
            padding: 14px;
            background: rgba(20, 50, 100, 0.9);
            backdrop-filter: blur(12px);
            color: white;
            border: 2px solid rgba(255, 255, 255, 0.2);
            border-radius: 60px;
            font-weight: 600;
            font-size: 16px;
            cursor: pointer;
            transition: 0.3s ease;
            font-family: inherit;
        }

        .btn-submit:hover {
            background: rgba(10, 30, 70, 0.95);
            box-shadow: 0 8px 32px rgba(20, 50, 100, 0.25);
            border-color: rgba(255, 255, 255, 0.35);
            transform: translateY(-2px);
        }

        .btn-submit:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        .auth-footer {
            text-align: center;
            margin-top: 20px;
            font-size: 14px;
            color: #3a5582;
        }

        .auth-footer a {
            color: #1f4a8a;
            text-decoration: none;
            font-weight: 600;
        }

        .auth-footer a:hover {
            text-decoration: underline;
        }

        .back-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin-top: 14px;
            color: #3a5f8a;
            text-decoration: none;
            font-size: 13px;
            transition: 0.3s ease;
            font-weight: 500;
        }

        .back-link:hover {
            color: #1a3a64;
            transform: translateX(-3px);
        }

        .message {
            padding: 10px 14px;
            border-radius: 12px;
            font-size: 13px;
            margin-bottom: 16px;
            display: none;
        }

        .message.error {
            background: rgba(220, 38, 38, 0.15);
            border: 1px solid rgba(220, 38, 38, 0.3);
            color: #b91c1c;
            display: block;
        }

        .message.success {
            background: rgba(34, 197, 94, 0.15);
            border: 1px solid rgba(34, 197, 94, 0.3);
            color: #16a34a;
            display: block;
        }

        .spinner {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 2px solid rgba(255,255,255,0.3);
            border-top-color: #fff;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            vertical-align: middle;
            margin-right: 8px;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .test-users {
            margin-top: 16px;
            padding: 12px 16px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .test-users .title {
            font-size: 11px;
            font-weight: 600;
            color: #4a6a8a;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 8px;
            text-align: center;
        }

        .test-users .user-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 4px 0;
            cursor: pointer;
            transition: 0.2s ease;
            border-radius: 6px;
            padding: 4px 8px;
        }

        .test-users .user-row:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .test-users .user-row .email {
            font-size: 12px;
            color: #1a3a64;
            font-weight: 500;
        }

        .test-users .user-row .role {
            font-size: 10px;
            color: #4a6a8a;
            opacity: 0.6;
            text-transform: uppercase;
        }

        .test-users .user-row .fill-btn {
            font-size: 11px;
            color: #1f4a8a;
            background: rgba(255,255,255,0.1);
            border: 1px solid rgba(255,255,255,0.2);
            padding: 2px 12px;
            border-radius: 12px;
            cursor: pointer;
            transition: 0.3s ease;
            font-family: inherit;
        }

        .test-users .user-row .fill-btn:hover {
            background: rgba(31, 74, 138, 0.1);
        }

        @media (max-width: 480px) {
            .auth-card {
                padding: 28px 20px;
            }
            .test-users .user-row {
                flex-wrap: wrap;
                gap: 4px;
            }
            .bg-emojis .emoji {
                font-size: 60px !important;
            }
        }
