:root {
    --auth-navy: #060b3b;
    --auth-blue: #101a73;
    --auth-red: #e51e45;
    --auth-green: #07966f;
    --auth-text: #12172f;
    --auth-muted: #697187;
    --auth-line: #e1e6f0;
    --auth-soft: #f5f7fb;
    --auth-white: #fff;
    --auth-shadow: 0 18px 50px rgba(8, 17, 65, .09);
}

body.page_signin {
    max-width: 100%;
    background: var(--auth-soft);
    color: var(--auth-text);
    overflow-x: hidden;
}

.page_signin .breadcrumb-section {
    background: var(--auth-white);
    border-bottom: 1px solid var(--auth-line);
}

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

.auth-page {
    padding: 45px 0 80px;
}

.auth-page .container {
    max-width: 1170px;
}

.auth-heading {
    max-width: 760px;
    margin: 0 auto 22px;
    text-align: center;
}

.auth-heading h1 {
    margin: 6px 0 10px;
    color: var(--auth-navy);
    font-size: clamp(31px, 4.2vw, 48px);
    font-weight: 780;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.auth-heading p,
.auth-card-intro {
    margin: 0;
    color: var(--auth-muted);
    font-size: 15px;
    line-height: 1.6;
}

.auth-kicker {
    display: block;
    color: var(--auth-red);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.auth-kicker i {
    margin-right: 6px;
}

.auth-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 850px;
    margin: 0 auto 28px;
    border: 1px solid #dcebe6;
    border-radius: 12px;
    background: #f3fbf8;
    color: #315f53;
    overflow: hidden;
}

.auth-benefits span {
    padding: 12px 16px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
}

.auth-benefits span + span {
    border-left: 1px solid #dcebe6;
}

.auth-benefits i {
    margin-right: 7px;
    color: var(--auth-green);
}

.auth-global-message,
.auth-inline-message,
.auth-recaptcha-error {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0 auto 20px;
    padding: 14px 17px;
    border: 1px solid;
    border-radius: 11px;
    font-size: 13px;
    line-height: 1.5;
}

.auth-global-message {
    max-width: 850px;
}

.auth-global-message.is-success,
.auth-inline-message.is-success {
    border-color: #b9e4d6;
    background: #f1fbf7;
    color: #246650;
}

.auth-global-message.is-error,
.auth-inline-message.is-error,
.auth-recaptcha-error {
    border-color: #f1c6cf;
    background: #fff5f7;
    color: #8f263c;
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(300px, .72fr) minmax(0, 1.35fr);
    align-items: start;
    gap: 24px;
}

.auth-card {
    min-width: 0;
    padding: 30px;
    border: 1px solid var(--auth-line);
    border-radius: 18px;
    background: var(--auth-white);
    box-shadow: var(--auth-shadow);
}

.auth-login-card {
    position: sticky;
    top: 18px;
}

.auth-card-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 10px;
}

.auth-card-heading h2 {
    margin: 2px 0 0;
    color: var(--auth-navy);
    font-size: 25px;
    font-weight: 780;
    line-height: 1.15;
}

.auth-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eef0fb;
    color: var(--auth-blue);
    font-size: 18px;
}

.auth-register-heading .auth-card-icon {
    background: #fff0f3;
    color: var(--auth-red);
}

.auth-card-intro {
    margin-bottom: 23px;
    font-size: 14px;
}

.auth-form {
    min-width: 0;
}

.auth-field {
    min-width: 0;
}

.auth-field label,
.auth-form-section legend {
    display: block;
    margin-bottom: 7px;
    color: #333b50;
    font-size: 12px;
    font-weight: 780;
}

.auth-login-card .auth-field {
    margin-bottom: 16px;
}

.auth-field input {
    display: block;
    width: 100%;
    min-width: 0;
    height: 49px;
    padding: 0 13px;
    border: 1px solid #d8deea;
    border-radius: 9px;
    outline: 0;
    background: #fff;
    color: var(--auth-text);
    font-size: 14px;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.auth-field input:focus {
    border-color: var(--auth-blue);
    box-shadow: 0 0 0 3px rgba(16, 26, 115, .09);
}

.auth-register-form.was-validated .auth-field input:invalid {
    border-color: #d9647b;
}

.auth-input-wrap,
.auth-password-wrap {
    position: relative;
}

.auth-input-wrap > i {
    position: absolute;
    top: 50%;
    left: 14px;
    z-index: 1;
    color: #9299aa;
    transform: translateY(-50%);
}

.auth-input-wrap > input {
    padding-left: 40px;
}

.auth-password-wrap > input {
    padding-right: 45px;
}

.auth-input-wrap.auth-password-wrap > input {
    padding-left: 40px;
}

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    outline: 0;
    background: transparent;
    color: #8991a4;
    cursor: pointer;
    transform: translateY(-50%);
}

.auth-password-toggle:hover,
.auth-password-toggle.is-visible {
    background: #f0f2f8;
    color: var(--auth-blue);
}

.auth-form-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 4px 0 19px;
    font-size: 12px;
}

.auth-form-meta a {
    color: var(--auth-blue);
    font-weight: 700;
}

.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #555d72;
    cursor: pointer;
}

.auth-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--auth-blue);
}

.auth-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 51px;
    padding: 12px 18px;
    border: 0;
    border-radius: 10px;
    outline: 0;
    background: var(--auth-navy);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(6, 11, 59, .15);
    transition: background .2s ease, transform .2s ease, opacity .2s ease;
}

.auth-primary-button:hover {
    background: #111a67;
    transform: translateY(-1px);
}

.auth-primary-button:disabled {
    opacity: .7;
    cursor: wait;
    transform: none;
}

.auth-register-button {
    min-height: 54px;
    background: var(--auth-red);
    box-shadow: 0 10px 24px rgba(229, 30, 69, .19);
}

.auth-register-button:hover {
    background: #c9183a;
}

.auth-login-help,
.auth-security-note {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 20px;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--auth-soft);
    color: #4d566c;
    font-size: 12px;
}

.auth-login-help > i,
.auth-security-note > i {
    color: var(--auth-green);
    font-size: 17px;
}

.auth-login-help span,
.auth-security-note span {
    display: flex;
    flex-direction: column;
}

.auth-login-help small,
.auth-security-note small {
    margin-top: 2px;
    color: #737b8e;
}

.auth-account-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
    padding: 5px;
    border-radius: 13px;
    background: var(--auth-soft);
}

.auth-account-tab {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    min-height: 64px;
    padding: 11px 14px;
    border: 1px solid transparent;
    border-radius: 10px;
    outline: 0;
    background: transparent;
    color: #6d7589;
    text-align: left;
    cursor: pointer;
    transition: .2s ease;
}

.auth-account-tab > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #e8ebf3;
}

.auth-account-tab span {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.auth-account-tab strong {
    color: #3f475b;
    font-size: 13px;
}

.auth-account-tab small {
    margin-top: 2px;
    font-size: 11px;
}

.auth-account-tab.is-active {
    border-color: #d9deeb;
    background: #fff;
    color: var(--auth-blue);
    box-shadow: 0 5px 14px rgba(8, 17, 65, .07);
}

.auth-account-tab.is-active > i {
    background: var(--auth-navy);
    color: #fff;
}

.auth-account-tab.is-active strong {
    color: var(--auth-navy);
}

.auth-company-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
    padding: 13px 14px;
    border: 1px solid #efdda9;
    border-radius: 10px;
    background: #fffaf0;
    color: #735d25;
    font-size: 12px;
    line-height: 1.5;
}

.auth-company-notice > i {
    margin-top: 2px;
    color: #c08b13;
}

.auth-form-section {
    min-width: 0;
    margin: 0 0 20px;
    padding: 0;
    border: 0;
}

.auth-form-section + .auth-form-section {
    padding-top: 19px;
    border-top: 1px solid var(--auth-line);
}

.auth-form-section legend {
    width: auto;
    margin-bottom: 12px;
    padding: 0;
    color: var(--auth-navy);
    font-size: 14px;
}

.auth-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.auth-field-wide {
    grid-column: 1 / -1;
}

.auth-address-grid {
    grid-template-columns: 1.35fr .65fr 1fr;
}

.auth-address-street {
    grid-column: span 2;
}

.auth-security-note {
    margin: 3px 0 14px;
    background: #f2faf7;
    color: #315f53;
}

.auth-recaptcha-error {
    margin: 0 0 12px;
}

.auth-page .d-none {
    display: none !important;
}

@media (max-width: 991.98px) {
    .auth-layout {
        grid-template-columns: 1fr;
    }

    .auth-login-card {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .auth-page {
        padding: 27px 0 48px;
    }

    .auth-page .container {
        width: 100%;
        max-width: 100%;
        padding-right: 14px;
        padding-left: 14px;
    }

    .auth-heading {
        margin-bottom: 18px;
        text-align: left;
    }

    .auth-heading h1 {
        font-size: 31px;
    }

    .auth-heading p {
        font-size: 14px;
    }

    .auth-benefits {
        grid-template-columns: 1fr;
    }

    .auth-benefits span {
        padding: 10px 13px;
        text-align: left;
    }

    .auth-benefits span + span {
        border-top: 1px solid #dcebe6;
        border-left: 0;
    }

    .auth-layout {
        gap: 17px;
    }

    .auth-card {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding: 22px 17px;
        border-radius: 14px;
    }

    .auth-card-heading h2 {
        font-size: 22px;
    }

    .auth-account-tabs,
    .auth-fields-grid,
    .auth-address-grid {
        grid-template-columns: 1fr;
    }

    .auth-address-street,
    .auth-field-wide {
        grid-column: auto;
    }

    .auth-account-tab {
        min-height: 58px;
    }

    .auth-form-meta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-page *,
    .auth-page *::before,
    .auth-page *::after {
        transition: none !important;
    }
}
