        *, *::before, *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
        }

        /* Centering wrapper — takes all remaining height so footer stays at bottom */
        .page-center {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px 20px;
        }

        .container {
            display: flex;
            gap: 40px;
            max-width: 1200px;
            width: 100%;
            position: relative;
        }

        /* Animated Background Shapes */
        .background-shapes {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 0;
            pointer-events: none;
        }

        .shape {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            animation: float 20s infinite ease-in-out;
        }

        .shape1 {
            width: 300px;
            height: 300px;
            top: -100px;
            left: -100px;
            animation-delay: 0s;
        }

        .shape2 {
            width: 200px;
            height: 200px;
            bottom: -50px;
            right: -50px;
            animation-delay: 5s;
        }

        .shape3 {
            width: 250px;
            height: 250px;
            top: 50%;
            right: 10%;
            animation-delay: 10s;
        }

        @keyframes float {

            0%,
            100% {
                transform: translate(0, 0) rotate(0deg);
            }

            33% {
                transform: translate(30px, -30px) rotate(120deg);
            }

            66% {
                transform: translate(-20px, 20px) rotate(240deg);
            }
        }

        /* Login Card */
        .login-card {
            background: white;
            border-radius: 30px;
            padding: 50px 40px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            width: 100%;
            max-width: 480px;
            position: relative;
            z-index: 1;
            animation: slideInLeft 0.8s ease-out;
        }

        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* Logo */
        .logo-container {
            text-align: center;
            margin-bottom: 35px;
        }

        .logo-text {
            font-size: 42px;
            font-weight: 700;
            margin-bottom: 8px;
            position: relative;
            display: inline-block;
        }

        .daniel {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: shimmer 3s infinite linear;
            background-size: 200% 200%;
        }

        .ha {
            color: #f093fb;
            margin-left: 8px;
            animation: bounce 2s infinite;
        }

        @keyframes shimmer {
            0% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }

        @keyframes bounce {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-5px);
            }
        }

        .tagline {
            color: #6b7280;
            font-size: 14px;
            font-weight: 500;
            letter-spacing: 1px;
        }

        /* Welcome Text */
        .welcome-text {
            font-size: 28px;
            font-weight: 700;
            color: #1f2937;
            margin-bottom: 8px;
        }

        .subtitle {
            color: #6b7280;
            font-size: 15px;
            margin-bottom: 30px;
        }

        /* Form */
        .login-form {
            margin-bottom: 25px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            color: #374151;
            font-weight: 500;
            margin-bottom: 8px;
            font-size: 14px;
        }

        .input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }

        .input-icon {
            position: absolute;
            left: 15px;
            width: 20px;
            height: 20px;
            color: #9ca3af;
            pointer-events: none;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .form-group input {
            width: 100%;
            padding: 14px 15px 14px 45px;
            border: 2px solid #e5e7eb;
            border-radius: 12px;
            font-size: 15px;
            transition: all 0.3s;
            font-family: 'Poppins', sans-serif;
        }

        .form-group input:focus {
            outline: none;
            border-color: #f5576c;
            box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
        }

        .toggle-password {
            position: absolute;
            right: 15px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 5px;
        }

        .eye-icon {
            width: 20px;
            height: 20px;
            color: #9ca3af;
            transition: color 0.3s;
            font-size: 16px;
        }

        .toggle-password:hover .eye-icon {
            color: #f5576c;
        }

        /* Form Options */
        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            font-size: 14px;
        }

        .remember-me {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            color: #4b5563;
        }

        .remember-me input[type="checkbox"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
            accent-color: #f5576c;
        }

        .forgot-password {
            color: #f5576c;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
        }

        .forgot-password:hover {
            color: #d63651;
        }

        /* Login Button */
        .btn-login {
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }

        .btn-login:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
        }

        .btn-login:active {
            transform: translateY(0);
        }

        .arrow-icon {
            width: 20px;
            height: 20px;
            transition: transform 0.3s;
            font-size: 16px;
        }

        .btn-login:hover .arrow-icon {
            transform: translateX(5px);
        }

        .btn-login:disabled {
            opacity: 0.7;
            cursor: not-allowed;
        }

        /* Divider */
        .divider {
            display: flex;
            align-items: center;
            margin: 25px 0;
            color: #9ca3af;
            font-size: 13px;
            font-weight: 500;
        }

        .divider::before,
        .divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: #e5e7eb;
        }

        .divider span {
            padding: 0 15px;
        }

        /* Social Login */
        .social-login {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-bottom: 25px;
        }

        .btn-social {
            padding: 12px;
            border: 2px solid #e5e7eb;
            border-radius: 12px;
            background: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-weight: 500;
            font-size: 14px;
            transition: all 0.3s;
        }

        .btn-social:hover {
            border-color: #d1d5db;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .btn-social i {
            font-size: 16px;
        }

        .btn-social.google {
            color: #4285F4;
        }

        .btn-social.facebook {
            color: #1877F2;
        }

        /* Register Prompt */
        .register-prompt {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid #e5e7eb;
        }

        .register-prompt p {
            color: #6b7280;
            font-size: 15px;
        }

        .register-link {
            color: #f5576c;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s;
        }

        .register-link:hover {
            color: #d63651;
            text-decoration: underline;
        }

        /* ── PATCH: Toast thông báo login ── */
        .login-toast {
            display: none;
            align-items: flex-start;
            gap: 12px;
            padding: 14px 16px;
            border-radius: 12px;
            font-size: 14px;
            font-weight: 500;
            margin-top: 16px;
            line-height: 1.5;
            animation: fadeIn .25s ease;
        }
        .login-toast.error  { background:#fce4e4; color:#c62828; border:1px solid #ef9a9a; }
        .login-toast.banned { background:#fff3e0; color:#e65100; border:1px solid #ffb74d; }
        .login-toast.show   { display: flex; }
        .toast-icon  { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
        .toast-body  { flex: 1; }
        .toast-title { font-weight: 700; margin-bottom: 3px; font-size: 15px; }
        .toast-msg   { font-weight: 400; opacity: 0.9; }
        @keyframes fadeIn { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }

        /* Features Sidebar */
        .features-sidebar {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border-radius: 30px;
            padding: 40px 30px;
            color: white;
            width: 100%;
            max-width: 350px;
            position: relative;
            z-index: 1;
            animation: slideInRight 0.8s ease-out;
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .features-sidebar h3 {
            font-size: 24px;
            margin-bottom: 30px;
            font-weight: 600;
        }

        .feature-item {
            display: flex;
            gap: 15px;
            margin-bottom: 25px;
            align-items: flex-start;
        }

        .feature-icon {
            font-size: 32px;
            min-width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .feature-item h4 {
            font-size: 16px;
            margin-bottom: 5px;
            font-weight: 600;
        }

        .feature-item p {
            font-size: 13px;
            opacity: 0.9;
            line-height: 1.5;
        }

        /* OTP inputs */
        .otp-input {
            width: 46px; height: 54px;
            text-align: center;
            font-size: 22px;
            font-weight: 700;
            border: 2px solid #e5e7eb;
            border-radius: 12px;
            font-family: 'Poppins', sans-serif;
            outline: none;
            transition: border-color .2s;
        }
        .otp-input:focus { border-color: #f5576c; box-shadow: 0 0 0 3px rgba(245,87,108,.15); }

        /* ── Site footer ── */
        .site-footer {
            text-align: center;
            padding: 14px 20px;
            font-size: 13px;
            color: rgba(255,255,255,.75);
            flex-shrink: 0;
        }
        .site-footer a {
            color: #fff;
            text-decoration: none;
            font-weight: 600;
        }
        .site-footer a:hover { text-decoration: underline; }

        /* ── Responsive ── */
        @media (max-width: 992px) {
            .features-sidebar { display: none; }
            .container { justify-content: center; }
        }

        /* Tablet */
        @media (max-width: 768px) {
            .page-center { padding: 16px 16px; }
            .login-card {
                padding: 36px 28px;
                border-radius: 24px;
                max-width: 100%;
            }
        }

        /* Mobile */
        @media (max-width: 480px) {
            .page-center { padding: 12px 12px; align-items: flex-start; padding-top: 24px; }
            .login-card {
                padding: 28px 20px;
                border-radius: 20px;
                box-shadow: 0 8px 32px rgba(0,0,0,.2);
            }
            .logo-container { margin-bottom: 20px; }
            .welcome-text { font-size: 22px; }
            .subtitle { font-size: 14px; margin-bottom: 20px; }
            .form-group { margin-bottom: 16px; }
            .form-group input { padding: 13px 14px 13px 42px; font-size: 15px; }
            .btn-login { padding: 14px; font-size: 15px; }
            .social-login { grid-template-columns: 1fr; }
            .form-options { font-size: 13px; }
            .divider { margin: 18px 0; }
        }

        /* Very small phones */
        @media (max-width: 360px) {
            .login-card { padding: 24px 16px; }
            .welcome-text { font-size: 20px; }
        }
