.auth-page {
    font-family: 'Be Vietnam Pro', sans-serif;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-page .form-footer {
    padding-top: 15px;
    text-align: center;
}

.auth-page .form-footer a {
    color: var(--bv-primary);
    text-decoration: underline;
    font-size: 16px;
}

.auth-container {
    display: flex;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    width: 100%;
    max-width: 1000px;
    min-height: 550px;
}

/* Left Side - Image */
.auth-left {
    background: #fff5eb;
    /* NÃ¡Â»Ân mÃƒÂ u cam nhÃ¡ÂºÂ¡t */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.auth-left-img {
    width: 100%;
    max-width: 460px;
    height: 100%;
    object-fit: cover;
}

/* Right Side - Form */
.auth-right {
    flex: 1;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

.auth-title {
    font-size: 24px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 8px;
    text-align: center;
    text-transform: uppercase;
}

.auth-subtitle {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 35px;
    text-align: center;
}

/* Tabs System */
.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 2px solid #f3f4f6;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 700;
    color: #9ca3af;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.auth-tab:hover {
    color: #6b7280;
}

.auth-tab.active {
    color: var(--bv-primary);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--bv-primary);
    border-radius: 2px;
}

/* Form Body */
.auth-pane {
    display: none;
}

.auth-pane.active {
    display: block;
    animation: fadeIn 0.4s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

/* Material Input */
.material-input {
    position: relative;
    margin-bottom: 24px;
}

.material-input input {
    width: 100%;
    padding: 16px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    outline: none;
    transition: all 0.2s;
    background: transparent;
    color: #111827;
    box-sizing: border-box;
}

.material-input label {
    position: absolute;
    top: 0;
    left: 14px;
    transform: translateY(-50%);
    background: white;
    padding: 0 6px;
    color: #444;
    transition: all 0.2s ease-out;
    pointer-events: none;
    font-size: 14px;
    font-weight: 400;
}

.error-message {
    color: #ef4444;
    font-size: 13px;
    margin-top: 4px;
    display: block;
    padding-left: 4px;
    animation: slideIn 0.3s ease-out;
}

.material-input.has-error input {
    border-color: #ef4444 !important;
    background-color: #fffafb;
}

.material-input.has-error label {
    color: #ef4444 !important;
}

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

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

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

/* Submit Button */
.btn-submit {
    width: 100%;
    background: var(--bv-primary);
    border: none;
    border-radius: 12px;
    padding: 16px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(248, 133, 35, 0.25);
    margin-top: 10px;
}

.btn-submit:hover {
    background: #d69804;
}

.auth-remember-forgot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    margin-top: -8px;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #4b5563;
    user-select: none;
}

.remember-me input {
    margin-right: 8px;
    width: 18px !important;
    height: 18px !important;
    accent-color: var(--bv-primary);
    cursor: pointer;
}

.forgot-password-link {
    font-size: 14px;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.forgot-password-link:hover {
    color: var(--bv-primary);
    text-decoration: underline;
}

.forgot-pass {
    display: block;
    text-align: right;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    margin-top: -12px;
    margin-bottom: 24px;
    transition: color 0.2s;
}

.forgot-pass:hover {
    color: var(--bv-primary);
}

/* Responsive styling */
@media (max-width: 900px) {
    .auth-container {
        flex-direction: column;
    }

    .auth-left {
    width: 100%;
    }

    .auth-left-img {
    }

    .auth-right {
        padding: 15px 15px;
    }
}

/* Social Login */
.social-login {
    margin-top: 20px;
}

.divider-text {
    position: relative;
    text-align: center;
    margin: 20px 0;
    color: #9ca3af;
    font-size: 14px;
}

.divider-text::before,
.divider-text::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #e5e7eb;
}

.divider-text::before {
    left: 0;
}

.divider-text::after {
    right: 0;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #ffffff !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 12px;
    padding: 12px;
    color: #4b5563 !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    box-sizing: border-box;
    box-shadow: none !important;
}

.btn-google:hover {
    background: #f9fafb !important;
    border-color: #d1d5db !important;
    transform: translateY(-1px);
}

.btn-google img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}











/* Nút CTA đăng ký học thử */
.register-cta-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 18px 20px 18px 16px;
    margin-top: 10px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(90deg, rgb(237, 207, 89) 0%, rgb(249, 171, 25) 16.827%, rgb(249, 223, 123) 32.8%, rgb(255, 243, 166) 52.4%, rgb(249, 223, 123) 72.98%, rgb(243, 170, 34) 99.999%);
    color: #000;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(243, 134, 33, 0.45), 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    text-align: left;
    font-family: 'Be Vietnam Pro', sans-serif;
}

.register-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 26px rgba(243, 134, 33, 0.52), 0 3px 8px rgba(0, 0, 0, 0.14);
}

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


/* Huy hiệu FREE dạng “starburst” */
.register-cta-badge {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: Spinner 10s linear infinite;
    flex-shrink: 0;
    width: 5rem;
}

.register-cta-badge-text {
    font-size: 11px;
    font-weight: 800;
    color: #dc2626;
    letter-spacing: 0.02em;
    transform: rotate(-16deg);
    line-height: 1;
}

.register-cta-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.register-cta-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.25;
}

.register-cta-sub {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.98;
    line-height: 1.3;
    text-align: center;
}

@keyframes Spinner {
    0% {
        transform: rotate(0)
    }

    to {
        transform: rotate(1turn)
    }
}

.register-cta-footnote {
    margin-top: 18px;
    text-align: center;
    font-size: 14px;
    line-height: 1.55;
    color: #374151;
}

.register-cta-footnote p {
    margin: 0 0 6px;
}

.register-cta-footnote p:last-child {
    margin-bottom: 0;
}

.register-cta-highlight {
    color: #c2410c;
    text-decoration: underline;
    font-weight: 600;
}

@media (max-width: 990px) {
    .auth-subtitle{
        font-size: 14px;
    }
    .register-cta-title {
        font-size: 15px;
    }
    
    .register-cta-sub {
        font-size: 12px;
    }
    
    .register-cta-badge {
        height: 35px;
    }
}