:root {
    --auth-brand: #e3262e;
    --auth-brand-dark: #bd171f;
    --auth-ink: #172033;
    --auth-muted: #667085;
    --auth-border: #dfe3ea;
    --auth-surface: #ffffff;
    --auth-background: #f4f6f9;
    --auth-danger: #c62828;
    --auth-success: #16803c;
}

body.auth-polished,
body:has(.auth-polished) {
    background: var(--auth-background) !important;
}

.auth-polished.auth-fluid,
.auth-polished .auth-fluid {
    align-items: center;
    background-color: var(--auth-background);
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 32px 16px;
}

.auth-polished .auth-fluid-right,
.auth-polished.auth-fluid .auth-fluid-right {
    align-items: center;
    display: flex;
    float: none;
    justify-content: center;
    min-height: auto;
    padding: 0;
    width: 100%;
    background: transparent !important;
}

.auth-polished .auth-fluid-right > .auth-fluid-form-box,
.auth-polished.auth-fluid .auth-fluid-right > .auth-fluid-form-box {
    background: var(--auth-surface);
    border: 1px solid rgba(23, 32, 51, .08);
    border-radius: 16px;
    box-shadow: 0 20px 55px rgba(16, 24, 40, .13);
    float: none;
    margin: 0 auto;
    max-width: 540px;
    min-height: 0;
    padding: 30px 34px 24px;
    position: relative;
    width: 100%;
}

body.auth-fluid-pages .auth-polished .auth-fluid-right > .auth-fluid-form-box,
body.auth-polished.auth-fluid-pages .auth-fluid-right > .auth-fluid-form-box {
    max-width: 620px;
}

.auth-polished .auth-fluid-form-box .container,
.auth-polished .auth-fluid-form-box .row {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

.auth-polished .auth-brand-panel {
    background: transparent;
    color: var(--auth-ink);
    margin-bottom: 12px;
    text-align: center;
    width: 100%;
}

.auth-polished .auth-brand-panel img {
    height: auto;
    margin-bottom: 14px;
    max-height: 58px;
    max-width: 210px;
    object-fit: contain;
}

.auth-polished .auth-brand-panel h1 {
    color: var(--auth-ink);
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.25;
    margin: 0 0 7px;
}

.auth-polished .auth-brand-panel p {
    color: var(--auth-muted);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.auth-polished .loginBtn--google {
    align-items: center;
    background: #fff !important;
    background-image: none !important;
    border: 1px solid var(--auth-border) !important;
    border-radius: 9px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
    color: #344054 !important;
    display: flex;
    font-size: 14px;
    font-weight: 600;
    gap: 10px;
    justify-content: center;
    line-height: 1;
    margin: 18px 0 14px;
    min-height: 46px;
    padding: 10px 16px;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
    width: 100%;
}

.auth-polished .loginBtn--google::before {
    align-items: center;
    background: #fff !important;
    border: 1px solid #d8dde6;
    border-radius: 50%;
    color: #4285f4;
    content: "G";
    display: inline-flex;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    height: 24px;
    justify-content: center;
    position: static;
    width: 24px;
}

.auth-polished .loginBtn--google:hover,
.auth-polished .loginBtn--google:focus {
    background: #f9fafb !important;
    border-color: #b8c0cc !important;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, .1);
    outline: none;
}

.auth-polished .auth-divider {
    align-items: center;
    color: #98a2b3;
    display: flex;
    font-size: 12px;
    gap: 12px;
    margin: 12px 0 18px;
    text-transform: uppercase;
}

.auth-polished .auth-divider::before,
.auth-polished .auth-divider::after {
    background: var(--auth-border);
    content: "";
    flex: 1;
    height: 1px;
}

.auth-polished .topnav-menu {
    display: flex;
    justify-content: flex-end;
    margin: 0 !important;
    position: static;
    z-index: 2;
}

.auth-polished .auth-language-menu {
    padding: 0;
    position: absolute;
    right: 18px;
    top: 18px;
    width: auto;
    z-index: 5;
}

.auth-polished .country_btn {
    background: #f8fafc !important;
    border: 1px solid var(--auth-border) !important;
    border-radius: 7px;
}

.auth-polished .nav.switcher {
    border-bottom: 1px solid var(--auth-border);
    display: flex;
    margin: 0 0 22px;
    width: 100%;
}

.auth-polished .nav.switcher .nav-item {
    flex: 1;
    text-align: center;
}

.auth-polished .nav.switcher .nav-link {
    border: 0;
    border-bottom: 2px solid transparent;
    color: var(--auth-muted);
    font-size: 14px;
    font-weight: 650;
    padding: 11px 12px;
}

.auth-polished .nav.switcher .nav-link.active {
    border-bottom-color: var(--auth-brand) !important;
    color: var(--auth-ink);
}

.auth-polished .form-group {
    margin-bottom: 17px;
}

.auth-polished label {
    color: #344054;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 7px;
}

.auth-polished .form-control {
    background: #fff;
    border: 1px solid #cfd5df;
    border-radius: 8px;
    box-shadow: none;
    color: var(--auth-ink);
    font-size: 14px;
    height: 46px;
    padding: 10px 13px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.auth-polished .form-control:focus {
    border-color: var(--auth-brand);
    box-shadow: 0 0 0 3px rgba(227, 38, 46, .1);
    outline: none;
}

.auth-polished .form-control.is-invalid,
.auth-polished .was-validated .form-control:invalid {
    border-color: var(--auth-danger);
}

.auth-polished .form-control.is-valid,
.auth-polished .was-validated .form-control:valid {
    border-color: var(--auth-success);
}

.auth-polished .invalid-feedback,
.auth-polished .auth-field-error,
.auth-polished #phone-error-msg,
.auth-polished #recaptcha-error {
    color: var(--auth-danger) !important;
    font-size: 12px;
    margin-top: 5px;
}

.auth-polished .invalid-feedback,
.auth-polished .auth-field-error {
    display: none;
}

.auth-polished .valid-feedback,
.auth-polished #phone-valid-msg {
    color: var(--auth-success) !important;
    font-size: 12px;
}

.auth-polished .input-group .form-control {
    border-radius: 8px 0 0 8px;
}

.auth-polished .toggle_password,
.auth-polished .auth-password-toggle {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #cfd5df;
    border-left: 0;
    border-radius: 0 8px 8px 0;
    color: #667085;
    cursor: pointer;
    display: flex;
    justify-content: center;
    min-width: 46px;
}

.auth-polished .text_hover_color,
.auth-polished a {
    color: var(--auth-brand);
}

.auth-polished .text_hover_color:hover,
.auth-polished a:hover {
    color: var(--auth-brand-dark) !important;
}

.auth-polished #login_btn,
.auth-polished #form_save,
.auth-polished #form_load {
    background: var(--auth-brand) !important;
    border: 1px solid var(--auth-brand) !important;
    border-radius: 8px;
    box-shadow: 0 5px 14px rgba(227, 38, 46, .2);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    min-height: 46px;
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.auth-polished #login_btn:hover,
.auth-polished #form_save:hover {
    background: var(--auth-brand-dark) !important;
    border-color: var(--auth-brand-dark) !important;
    box-shadow: 0 7px 18px rgba(227, 38, 46, .25);
    transform: translateY(-1px);
}

.auth-polished #login_btn:disabled,
.auth-polished #form_save:disabled {
    box-shadow: none;
    cursor: not-allowed;
    opacity: .58;
    transform: none;
}

.auth-polished #alert.auth-has-message,
.auth-polished .auth-server-message.auth-has-message {
    background: #fff4f4;
    border: 1px solid #fac8cb;
    border-radius: 8px;
    color: #9f1b22;
    font-size: 13px;
    padding: 10px 12px;
}

.auth-polished .auth-login-alert {
    align-items: flex-start;
    display: flex;
    gap: 9px;
    line-height: 1.45;
    margin-bottom: 15px;
}

.auth-polished .auth-login-alert i {
    flex: 0 0 auto;
    font-size: 15px;
    margin-top: 2px;
}

.auth-polished .iti {
    width: 100%;
}

.auth-polished .iti .form-control {
    width: 100%;
}

.auth-polished #set,
.auth-polished #check0,
.auth-polished #check1,
.auth-polished #check2,
.auth-polished #check3,
.auth-polished #check4 {
    font-size: 12px;
    line-height: 1.55;
}

.auth-polished #check0 .invalid,
.auth-polished #check1 .invalid,
.auth-polished #check2 .invalid,
.auth-polished #check3 .invalid,
.auth-polished #check4 .invalid,
.auth-polished #count .invalid {
    color: #8a94a6 !important;
}

.auth-polished #check0 .valid,
.auth-polished #check1 .valid,
.auth-polished #check2 .valid,
.auth-polished #check3 .valid,
.auth-polished #check4 .valid,
.auth-polished #count .valid {
    color: var(--auth-success) !important;
}

.auth-polished .reg_footer {
    margin-top: 22px;
    min-height: auto;
    padding: 0;
    position: static !important;
    text-align: center;
}

.auth-polished .reg_footer p {
    font-size: 12px;
    margin: 0;
}

html[dir="rtl"] .auth-polished,
.auth-polished[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .auth-polished .auth-google-link i,
.auth-polished[dir="rtl"] .auth-google-link i {
    margin-left: 9px;
    margin-right: 0;
}

html[dir="rtl"] .auth-polished .auth-password-toggle,
.auth-polished[dir="rtl"] .auth-password-toggle {
    border-radius: 7px 0 0 7px;
    border-left: 1px solid #d7dce3;
    border-right: 0;
}

html[dir="rtl"] .auth-polished .input-group > .form-control,
.auth-polished[dir="rtl"] .input-group > .form-control {
    border-radius: 0 7px 7px 0;
}

html[dir="rtl"] .auth-polished .invalid-feedback,
html[dir="rtl"] .auth-polished .valid-feedback,
.auth-polished[dir="rtl"] .invalid-feedback,
.auth-polished[dir="rtl"] .valid-feedback {
    text-align: right;
}

@media (max-width: 767px) {
    .auth-polished.auth-fluid,
    .auth-polished .auth-fluid {
        align-items: flex-start;
        padding: 16px 10px;
    }

    .auth-polished .auth-fluid-right > .auth-fluid-form-box,
    .auth-polished.auth-fluid .auth-fluid-right > .auth-fluid-form-box {
        border-radius: 12px;
        padding: 24px 18px 20px;
    }

    .auth-polished .auth-brand-panel {
        padding-top: 32px;
    }

    .auth-polished .topnav-menu {
        position: static;
    }

    .auth-polished .auth-language-menu {
        right: 10px;
        top: 10px;
    }

    .auth-polished .row > [class*="col-md-"] {
        padding-left: 0;
        padding-right: 0;
    }
}
