/* =========================
   REGISTER PAGE
========================= */

:root {
    --color-primary: #018d71;
    --color-secondary: #feef10;
    --color-third: #3dc7ab;
    --color-raspberry: #b8325f;

    --color-text: #111111;
    --color-muted: rgba(17, 17, 17, 0.60);
    --color-border: rgba(17, 17, 17, 0.075);
    --color-border-green: rgba(1, 141, 113, 0.18);
    --color-soft: #fbfcfb;

    --shadow-auth: 0 14px 38px rgba(17, 17, 17, 0.035);
    --shadow-card: 0 10px 28px rgba(17, 17, 17, 0.03);
}

/* =========================
   PAGE WRAPPER
========================= */

.register-page {
    width: 100%;
    min-height: auto;
    padding: 84px 0 68px;
    flex: 1 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fbfcfb;
    color: var(--color-text);

    font-family: var(--font-main);
    font-size: var(--fs-body);
}

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

.auth-shell {
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
}

/* =========================
   MAIN CARD
========================= */

.auth-card-register-only {
    width: 100%;
    overflow: hidden;

    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    box-shadow: var(--shadow-auth);
}

.register-forms {
    position: relative;

    padding: clamp(36px, 5vw, 68px);

    background: #ffffff;
    border-radius: 10px;
}

.register-forms::before {
    content: "";
    position: absolute;
    left: 0;
    top: 38px;

    width: 3px;
    height: 84px;

    background: var(--color-primary);
    pointer-events: none;
}

.auth-content,
.auth-content-register {
    display: block;
}

/* =========================
   FORM HEADER
========================= */

.auth-form-head {
    max-width: 760px;
    margin-bottom: 30px;
}

.auth-form-kicker {
    display: inline-flex;
    align-items: center;

    margin: 0 0 12px;
    padding: 0;

    background: transparent;
    border-radius: 0;

    color: var(--color-primary);
    font-family: var(--font-accent);
    font-size: var(--fs-small);
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.auth-form-head h2 {
    margin: 0;

    color: var(--color-text);
    font-family: var(--font-main);
    font-size: var(--fs-title);
    line-height: 0.97;
    font-weight: 720;
    letter-spacing: -0.065em;
}

.auth-form-head p {
    max-width: 680px;
    margin: 18px 0 0;

    color: var(--color-muted);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.82;
    font-weight: 420;
}

/* =========================
   FORM LAYOUT
========================= */

.auth-form {
    width: 100%;
    margin: 0;
}

.register-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
}

.auth-form-group {
    margin: 0;
}

.register-gender {
    grid-column: 1 / -1;
}

.auth-label {
    display: block;

    margin-bottom: 7px;

    color: var(--color-text);
    font-family: var(--font-main);
    font-size: var(--fs-small);
    line-height: 1.2;
    font-weight: 600;
}

/* =========================
   INPUTS
========================= */

.auth-form input,
.auth-form select,
.auth-form textarea,
.auth-control {
    width: 100%;
    min-height: 44px;
    padding: 11px 13px;

    border: 1px solid rgba(1, 141, 113, 0.22);
    border-radius: 8px;

    background: #ffffff;
    color: var(--color-text);

    font-family: var(--font-main);
    font-size: var(--fs-small);
    line-height: 1.25;
    font-weight: 450;

    outline: 0;
    box-shadow: none;
    box-sizing: border-box;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.auth-form textarea {
    min-height: 110px;
    padding-top: 11px;
    resize: vertical;
    line-height: 1.45;
}

.auth-form input:hover,
.auth-form select:hover,
.auth-form textarea:hover,
.auth-control:hover {
    border-color: rgba(184, 50, 95, 0.30);
}

.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus,
.auth-control:focus {
    border-color: var(--color-primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(61, 199, 171, 0.12);
}

.auth-form input::placeholder,
.auth-form textarea::placeholder {
    color: rgba(17, 17, 17, 0.42);
}

/* =========================
   NATIVE SELECT FIX
========================= */

.native-select + ul,
.native-select + .nice-select,
.native-select + .select2,
.native-select + .chosen-container,
.native-select + .bootstrap-select {
    display: none !important;
}

.native-select {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* =========================
   ERRORS / ALERTS
========================= */

.auth-alert {
    margin-bottom: 18px;
    padding: 14px 16px;

    border: 1px solid rgba(184, 50, 95, 0.18);
    border-radius: 10px;

    background: rgba(184, 50, 95, 0.045);
    color: var(--color-text);

    font-family: var(--font-main);
    font-size: var(--fs-small);
    line-height: 1.45;
    font-weight: 500;
}

.auth-alert-title {
    display: block;
    margin-bottom: 4px;

    color: var(--color-raspberry);
    font-family: var(--font-main);
    font-weight: 800;
}

.auth-form ul.errorlist {
    margin: 7px 0 0;
    padding: 0;

    list-style: none;

    color: var(--color-raspberry);
    font-family: var(--font-main);
    font-size: var(--fs-small);
    line-height: 1.35;
    font-weight: 700;
}

.register-errors {
    margin: 8px 0 0;
    padding-left: 20px;
    list-style: disc;
}

/* =========================
   CHECKBOX
========================= */

.auth-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin: 22px 0 0;

    color: rgba(17, 17, 17, 0.68);
    font-family: var(--font-main);
    font-size: var(--fs-small);
    line-height: 1.55;
    font-weight: 500;

    cursor: pointer;
}

.auth-checkbox input {
    width: 16px;
    height: 16px;
    min-height: auto;
    margin-top: 0.22em;
    padding: 0;

    flex: 0 0 auto;

    accent-color: var(--color-primary);
}

.auth-checkbox a {
    color: var(--color-primary);
    font-family: var(--font-main);
    font-weight: 800;
    text-decoration: none;
}

.auth-checkbox a:hover {
    color: var(--color-raspberry);
    text-decoration: underline;
}

/* =========================
   SUBMIT / LINKS
========================= */

.auth-submit {
    width: 100%;
    min-height: 44px;
    margin-top: 22px;
    padding: 12px 24px;

    border-radius: 8px;
    border: 1px solid transparent;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: var(--font-main);
    font-size: var(--fs-small);
    line-height: 1;
    font-weight: 780;
    letter-spacing: 0.01em;

    cursor: pointer;
    text-decoration: none !important;

    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;

    transition:
        background 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.auth-submit-register {
    background: var(--color-raspberry);
    border-color: var(--color-raspberry);
    color: #ffffff;
}

.auth-submit-register:hover {
    background: #9f294f;
    border-color: #9f294f;
    color: #ffffff;
    transform: translateY(-1px);
}

.auth-form-footer {
    display: flex;
    justify-content: center;

    margin-top: 16px;
}

.auth-forgot-link {
    display: inline-flex;

    color: var(--color-primary);
    font-family: var(--font-main);
    font-size: var(--fs-small);
    font-weight: 760;
    text-decoration: none;

    transition: color 0.18s ease;
}

.auth-forgot-link:hover {
    color: var(--color-raspberry);
    text-decoration: underline;
}

/* =========================
   FOOTER SPACING
========================= */

.register-page + .site-footer,
.site-footer {
    margin-top: 0;
}

/* =========================
   RESPONSIVE
========================= */

/* =========================
   RESPONSIVE
========================= */

@media (min-width: 641px) and (max-width: 1200px) {
.register-page {
        padding: 56px 0;
    }

    .auth-shell {
        width: min(100%, calc(100% - 24px));
    }

    .register-forms {
        padding: 34px 32px;
    }

    .register-forms::before {
        top: 32px;
        height: 58px;
    }

    .auth-form-head {
        max-width: 100%;
        margin-bottom: 26px;
    }

    .auth-form-head h2 {
        font-size: var(--fs-title);
    }

    .auth-form-head p {
        max-width: 100%;
    }

.register-page {
        padding: 44px 0;
    }

    .auth-shell {
        width: calc(100% - 16px);
    }

    .register-forms {
        padding: 30px 22px;
    }

    .register-forms::before {
        top: 28px;
    }

    .register-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .auth-form-head {
        margin-bottom: 24px;
    }

    .auth-checkbox {
        margin-top: 20px;
    }
}

@media (max-width: 640px) {
.register-page {
        padding: 56px 0;
    }

    .auth-shell {
        width: min(100%, calc(100% - 24px));
    }

    .register-forms {
        padding: 34px 32px;
    }

    .register-forms::before {
        top: 32px;
        height: 58px;
    }

    .auth-form-head {
        max-width: 100%;
        margin-bottom: 26px;
    }

    .auth-form-head h2 {
        font-size: var(--fs-title);
    }

    .auth-form-head p {
        max-width: 100%;
    }

.register-page {
        padding: 44px 0;
    }

    .auth-shell {
        width: calc(100% - 16px);
    }

    .register-forms {
        padding: 30px 22px;
    }

    .register-forms::before {
        top: 28px;
    }

    .register-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .auth-form-head {
        margin-bottom: 24px;
    }

    .auth-checkbox {
        margin-top: 20px;
    }

.register-forms {
        padding: 28px 18px;
    }
}
