@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

.auth-page-scope,
.auth-page-scope * {
    box-sizing: border-box;
}

.auth-page-scope {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    background: #fbf7ec;
    color: #222;
}

.auth-page-scope a {
    color: inherit;
    text-decoration: none;
}

.auth-page-scope button,
.auth-page-scope input {
    font-family: inherit;
}

.auth-page-scope .auth-page {
    width: min(1320px, 92%);
    min-height: 680px;
    margin: 0 auto;
    padding: 56px 0;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.auth-page-scope .auth-banner {
    min-height: 680px;
    border-radius: 28px;
    overflow: hidden;
    background:
        linear-gradient(rgba(24, 61, 51, 0.2), rgba(24, 61, 51, 0.55)),
        var(--auth-banner-image, url('/Thuoctinh/img/carousel-1.jpg'));
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 56px;
}

.auth-page-scope .register-banner {
    background:
        linear-gradient(rgba(24, 61, 51, 0.2), rgba(24, 61, 51, 0.58)),
        var(--auth-banner-image, url('/Thuoctinh/img/carousel-2.jpg'));
    background-size: cover;
    background-position: center;
}

.auth-page-scope .banner-content {
    color: #fff;
    max-width: 520px;
}

.auth-page-scope .banner-content span {
    display: inline-block;
    margin-bottom: 16px;
    color: #d7e8c4;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.auth-page-scope .banner-content h1 {
    font-size: 58px;
    line-height: 1;
    margin-bottom: 18px;
    font-weight: 800;
    letter-spacing: 0;
}

.auth-page-scope .banner-content p {
    color: #f5f5f5;
    font-size: 16px;
    max-width: 460px;
    line-height: 1.6;
    margin: 0;
}

.auth-page-scope .auth-card {
    background: #fffaf0;
    border: 1px solid #e8deca;
    border-radius: 28px;
    padding: 46px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.auth-page-scope .auth-title {
    text-align: center;
    margin-bottom: 28px;
}

.auth-page-scope .auth-title span {
    color: #5f8537;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.auth-page-scope .auth-title h2 {
    font-size: 36px;
    color: #183d33;
    margin: 8px 0;
    font-weight: 800;
    letter-spacing: 0;
}

.auth-page-scope .auth-title p {
    color: #666;
    font-size: 15px;
    margin: 0;
}

.auth-page-scope .social-login {
    display: grid;
    gap: 12px;
    margin-bottom: 26px;
}

.auth-page-scope .social-btn {
    width: 100%;
    min-height: 52px;
    border-radius: 999px;
    border: 1px solid #ded3c1;
    background: #fff;
    color: #222;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: 0.25s;
}

.auth-page-scope .social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.auth-page-scope .google-btn:hover {
    border-color: #db4437;
    color: #db4437;
}

.auth-page-scope .facebook-btn:hover {
    border-color: #1877f2;
    color: #1877f2;
}

.auth-page-scope .social-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.auth-page-scope .google-btn .social-icon {
    color: #db4437;
    background: #fff1ef;
}

.auth-page-scope .facebook-btn .social-icon {
    color: #1877f2;
    background: #edf5ff;
    font-size: 20px;
}

.auth-page-scope .divider {
    position: relative;
    text-align: center;
    margin: 26px 0;
}

.auth-page-scope .divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e0d7c8;
}

.auth-page-scope .divider span {
    position: relative;
    z-index: 2;
    background: #fffaf0;
    padding: 0 14px;
    color: #888;
    font-size: 14px;
}

.auth-page-scope .auth-form {
    display: grid;
    gap: 18px;
}

.auth-page-scope .form-group {
    display: grid;
    gap: 8px;
}

.auth-page-scope .form-group label {
    color: #333;
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}

.auth-page-scope .form-group input {
    width: 100%;
    height: 52px;
    border: 1px solid #d8ccb6;
    border-radius: 999px;
    background: #fff;
    padding: 0 18px;
    outline: none;
    color: #222;
    font-size: 15px;
    transition: 0.25s;
}

.auth-page-scope .form-group input:focus {
    border-color: #5f8537;
    box-shadow: 0 0 0 4px rgba(95, 133, 55, 0.12);
}

.auth-page-scope .form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 14px;
}

.auth-page-scope .remember,
.auth-page-scope .policy-check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #555;
    font-size: 14px;
}

.auth-page-scope .remember input,
.auth-page-scope .policy-check input {
    margin-top: 3px;
    accent-color: #5f8537;
}

.auth-page-scope .form-options a,
.auth-page-scope .policy-check a,
.auth-page-scope .auth-switch a {
    color: #5f8537;
    font-weight: 700;
}

.auth-page-scope .form-options a:hover,
.auth-page-scope .policy-check a:hover,
.auth-page-scope .auth-switch a:hover {
    text-decoration: underline;
}

.auth-page-scope .auth-submit {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 999px;
    background: #5f8537;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 4px;
    transition: 0.25s;
}

.auth-page-scope .auth-submit:hover {
    background: #4f742e;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(95, 133, 55, 0.25);
}

.auth-page-scope .auth-switch {
    text-align: center;
    margin-top: 24px;
    color: #666;
    font-size: 15px;
}

.auth-page-scope .auth-alert {
    border-radius: 16px;
    border: 1px solid #f0b9b9;
    background: #fff1f1;
    color: #9f2c2c;
    padding: 12px 14px;
    margin-bottom: 18px;
    font-size: 14px;
}

.auth-page-scope .field-validation-error,
.auth-page-scope .validation-summary-errors {
    color: #b03333;
    font-size: 13px;
}

.auth-page-scope .validation-summary-errors ul {
    margin: 0 0 14px 18px;
}

@media (max-width: 1024px) {
    .auth-page-scope .auth-page {
        grid-template-columns: 1fr;
        padding: 38px 0;
    }

    .auth-page-scope .auth-banner {
        min-height: 420px;
    }

    .auth-page-scope .banner-content h1 {
        font-size: 46px;
    }
}

@media (max-width: 768px) {
    .auth-page-scope .auth-page {
        width: 92%;
        padding: 28px 0;
    }

    .auth-page-scope .auth-banner {
        min-height: 360px;
        padding: 34px;
        border-radius: 22px;
    }

    .auth-page-scope .banner-content h1 {
        font-size: 36px;
    }

    .auth-page-scope .auth-card {
        padding: 30px 22px;
        border-radius: 22px;
    }

    .auth-page-scope .auth-title h2 {
        font-size: 30px;
    }

    .auth-page-scope .form-options {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .auth-page-scope .auth-banner {
        display: none;
    }

    .auth-page-scope .auth-page {
        min-height: auto;
    }

    .auth-page-scope .auth-card {
        box-shadow: none;
    }

    .auth-page-scope .social-btn {
        font-size: 14px;
    }
}
