body.auth-page {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 25px;
    color: #0f172a;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(29, 78, 216, 0.16), transparent 28%),
        radial-gradient(circle at bottom right, rgba(220, 38, 38, 0.14), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f4f7fc 100%);
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 24px 14px;
}

.auth-card {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(228, 235, 245, 0.95);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(12px);
}

.auth-visual {
    position: relative;
    min-height: 100%;
    padding: 48px;
    color: #fff;
}

.auth-login .auth-visual {
    background:
        linear-gradient(135deg, rgba(15, 63, 184, 0.96), rgba(29, 78, 216, 0.90)),
        url('../web_assets/img/bg/02.jpg') center/cover no-repeat;
}

.auth-register .auth-visual {
    background:
        linear-gradient(135deg, rgba(220, 38, 38, 0.92), rgba(29, 78, 216, 0.92)),
        url('../web_assets/img/bg/03.jpg') center/cover no-repeat;
}

.auth-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.2), transparent 22%),
        radial-gradient(circle at 82% 26%, rgba(255, 255, 255, 0.16), transparent 20%);
    pointer-events: none;
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-weight: 700;
    margin-bottom: 18px;
}

.auth-visual h1 {
    font-size: 38px;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 18px;
    color: #fff;
}

.auth-visual p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 1.6;
    max-width: 430px;
}

.auth-points {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: grid;
    gap: 12px;
    max-width: 430px;
}

.auth-points li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.auth-points i {
    margin-top: 3px;
    color: #fff;
}

.auth-form-side {
    background: #fff;
    padding: 42px 34px;
}

.brand-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.brand-row img {
    max-width: 240px;
    height: auto;
}

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

.auth-title h2 {
    font-size: 26px;
    margin-bottom: 10px;
    color: #0f172a;
}

.auth-title p {
    margin-bottom: 0;
    color: #5f6c80;
}

.form-login .form-group {
    margin-bottom: 18px;
}

.form-login label {
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.form-login .form-control,
.form-login .custom-form-control {
    border-radius: 16px;
    min-height: 54px;
    border: 1px solid #dbe4f0;
    background: #f9fbff;
    padding-left: 16px;
    padding-right: 16px;
    box-shadow: none;
}

.form-login .form-control:focus,
.form-login .custom-form-control:focus {
    border-color: #1d4ed8;
    box-shadow: 0 0 0 0.2rem rgba(29, 78, 216, 0.12);
    background: #fff;
}

.password-wrap {
    position: relative;
}

.view-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.12);
}

.box-forgot-pass {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 8px 0 20px;
    color: #475569;
    font-size: 13px;
}

.box-forgot-pass a,
.bottom-content a,
.check-box a,
.auth-link {
    color: #1d4ed8;
    font-weight: 700;
}

.btn-login {
    width: 100%;
    min-height: 54px;
    border-radius: 16px;
    font-weight: 700;
    letter-spacing: .02em;
    background: linear-gradient(135deg, #0f3fb8, #1d4ed8);
    border: none;
    box-shadow: 0 16px 30px rgba(29, 78, 216, 0.22);
}

.bottom-content {
    margin-top: 12px;
    color: #475569;
}

.support-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #f8fbff;
    border: 1px solid #e4ebf5;
    color: #475569;
    font-size: 13px;
    margin-top: 20px;
}

.support-pill i,
.auth-badge i {
    color: #fff;
}

.auth-page .auth-title h2 {
    color: #0f172a;
}

.auth-page .auth-badge {
    background: rgba(255, 255, 255, 0.18);
}

.auth-page .view-password {
    color: #1d4ed8;
}

.auth-page .support-pill i {
    color: #1d4ed8;
}

.auth-badge i {
    font-size: 14px;
}

.text-success {
    font-weight: 700;
    font-size: 12px;
}

.radio-box {
    padding: 12px 14px;
    border: 1px solid #dbe4f0;
    border-radius: 16px;
    background: #f9fbff;
    margin-right: 12px;
}

.check-box {
    padding: 14px 16px;
    border-radius: 16px;
    background: #f8fbff;
    border: 1px solid #e4ebf5;
}

.auth-register .check-box label {
    text-transform: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .auth-visual {
        min-height: auto;
        padding: 34px 28px;
    }

    .auth-visual h1 {
        font-size: 34px;
    }

    .auth-form-side {
        padding: 34px 20px 28px;
    }
}

@media (max-width: 767px) {
    .auth-card {
        border-radius: 24px;
    }

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

    .box-forgot-pass {
        flex-direction: column;
        align-items: flex-start;
    }

    .radio-box {
        margin-bottom: 10px;
    }
}
