
:root {
    --ncx-green: #103c2d;
    --ncx-green-dark: #09291e;
    --ncx-green-light: #eaf3ed;
    --ncx-gold: #c9a65b;
    --ncx-text: #192720;
    --ncx-muted: #78857d;
    --ncx-border: #e1e8e3;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background: #f4f7f5;
    color: var(--ncx-text);
    font-family: "Inter", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

.registration-shell {
    display: grid;
    grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.35fr);
    min-height: 100vh;
    min-height: 100dvh;
    padding: 16px;
    gap: 16px;
}

/* BRAND PANEL */

.registration-brand {
    position: sticky;
    top: 16px;
    display: flex;
    height: calc(100vh - 32px);
    height: calc(100dvh - 32px);
    min-height: 660px;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(28px, 3.5vw, 52px);
    border-radius: 18px;
    background:
        radial-gradient(
            circle at 90% 18%,
            rgba(77, 139, 94, 0.3),
            transparent 42%
        ),
        linear-gradient(145deg, #164934, #103c2d 55%, #08271c);
    color: #fff;
}

.registration-brand::before {
    position: absolute;
    z-index: -1;
    right: -180px;
    bottom: 90px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    box-shadow:
        0 0 0 50px rgba(255, 255, 255, 0.025),
        0 0 0 100px rgba(255, 255, 255, 0.018);
    content: "";
    pointer-events: none;
}

.brand-logo {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fff;
}

.brand-logo img {
    display: block;
    width: 140px;
    height: 40px;
    object-fit: contain;
}

.brand-copy {
    position: relative;
    z-index: 1;
    margin: 40px 0;
    animation: register-enter 0.55s ease both;
}

.brand-eyebrow,
.section-eyebrow {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.brand-eyebrow {
    margin-bottom: 23px;
    color: #d6c18e;
}

.brand-copy h1 {
    margin: 0;
    font-size: clamp(40px, 4.2vw, 64px);
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1.06;
}

.brand-copy h1 span {
    color: #d8c18a;
}

.brand-copy > p {
    max-width: 400px;
    margin: 24px 0 30px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    line-height: 1.9;
}

.brand-points {
    display: grid;
    gap: 21px;
    margin-top: 30px;
}

.brand-point {
    display: flex;
    align-items: center;
    gap: 13px;
}

.brand-point > span {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.07);
    color: #ddca99;
    font-size: 17px;
}

.brand-point strong,
.brand-point small {
    display: block;
}

.brand-point strong {
    margin-bottom: 5px;
    font-size: 11px;
    font-weight: 700;
}

.brand-point small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
    line-height: 1.65;
}

.brand-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    font-size: 9px;
}

.brand-footer strong {
    color: #fff;
    letter-spacing: 0.6px;
}

/* FORM AREA */

.registration-main {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px clamp(22px, 4vw, 65px) 22px;
}

.registration-content {
    width: 100%;
    max-width: 690px;
    margin: auto 0;
    animation: register-enter 0.55s ease both;
}

.registration-heading {
    margin-bottom: 30px;
}

.heading-icon {
    display: grid;
    width: 47px;
    height: 47px;
    margin-bottom: 23px;
    place-items: center;
    border: 1px solid #dce8df;
    border-radius: 13px;
    background: var(--ncx-green-light);
    color: var(--ncx-green);
    font-size: 21px;
}

.section-eyebrow {
    margin-bottom: 10px;
    color: var(--ncx-muted);
}

.registration-heading h2 {
    margin: 0 0 10px;
    font-size: clamp(27px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.2;
}

.registration-heading h2 span {
    color: var(--ncx-gold);
}

.registration-heading p {
    margin: 0;
    color: var(--ncx-muted);
    font-size: 12px;
    line-height: 1.8;
}

/* SECTION HEADINGS */

.form-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 17px;
    color: #2a3a30;
    font-size: 11px;
    font-weight: 800;
}

.section-number {
    display: grid;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    place-items: center;
    border-radius: 7px;
    background: var(--ncx-green-light);
    color: var(--ncx-green);
    font-size: 9px;
    font-weight: 800;
}

.section-spaced {
    margin-top: 29px;
}

/* INPUTS */

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #35443a;
    font-size: 10px;
    font-weight: 700;
}

.form-control,
.form-select {
    width: 100%;
    height: 47px;
    border: 1px solid var(--ncx-border);
    border-radius: 9px;
    background-color: #fff;
    color: var(--ncx-text);
    font-family: inherit;
    font-size: 11px;
    font-weight: 500;
    box-shadow: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-control {
    padding: 0 13px;
}

.form-control::placeholder {
    color: #a0aaa3;
    font-weight: 400;
}

.form-control:hover,
.form-select:hover {
    border-color: #c4d2c8;
}

.form-control:focus,
.form-select:focus {
    border-color: #5d8b6e;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(16, 60, 45, 0.08);
}

.form-select {
    padding: 0 35px 0 13px;
    cursor: pointer;
}

.input-with-icon {
    position: relative;
}

.input-with-icon > i {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 13px;
    color: #8a978e;
    font-size: 15px;
    transform: translateY(-50%);
    pointer-events: none;
    transition: color 0.2s ease;
}

.input-with-icon .form-control {
    padding-right: 42px;
    padding-left: 39px;
}

.input-with-icon:focus-within > i {
    color: var(--ncx-green);
}

.password-wrap .form-control {
    padding-right: 44px;
}

.password-toggle {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 8px;
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #839087;
    font-size: 15px;
    cursor: pointer;
}

.password-toggle:hover {
    background: var(--ncx-green-light);
    color: var(--ncx-green);
}

.password-error {
    margin-top: 10px;
    color: #b42318;
    font-size: 11px;
    font-weight: 600;
}

.password-error[hidden] {
    display: none !important;
}

/* SUBMIT */

.register-submit {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 29px;
    padding: 0 17px 0 20px;
    border: 1px solid var(--ncx-green);
    border-radius: 10px;
    background: var(--ncx-green);
    color: #fff;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 7px 17px rgba(16, 60, 45, 0.12);
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.register-submit > i {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 16px;
    transition: transform 0.2s ease;
}

.register-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    background: var(--ncx-green-dark);
    box-shadow: 0 10px 22px rgba(16, 60, 45, 0.18);
}

.register-submit:hover:not(:disabled) > i {
    transform: translateX(3px);
}

.register-submit:disabled {
    cursor: wait;
    opacity: 0.7;
}

.registration-signin {
    margin-top: 21px;
    color: var(--ncx-muted);
    font-size: 10px;
    text-align: center;
}

.registration-signin a {
    margin-left: 4px;
    color: var(--ncx-green);
    font-weight: 800;
    text-decoration: none;
}

.registration-signin a:hover {
    text-decoration: underline;
}

/* ALERTS */

.registration-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 11px;
    line-height: 1.65;
}

.registration-alert i {
    margin-top: 1px;
    font-size: 15px;
}

.alert-danger.registration-alert {
    border-color: #f0d6d4;
    background: #fff5f4;
    color: #a33832;
}

.alert-success.registration-alert {
    border-color: #d4e8d9;
    background: #f0f9f2;
    color: #24683d;
}

/* SHEA MODAL */

.shea-modal {
    overflow: hidden;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.shea-modal .modal-title {
    color: var(--ncx-text);
    font-size: 17px;
    font-weight: 800;
}

.shea-modal .modal-body {
    padding: 20px 24px 26px;
}

.shea-modal .modal-body > p {
    margin: 12px 0 24px;
    color: #657269;
    font-size: 13px;
    line-height: 1.8;
    text-align: center;
}

.shea-icon {
    display: grid;
    width: 60px;
    height: 60px;
    margin: 0 auto;
    place-items: center;
    border-radius: 17px;
    background: #fbf3df;
    color: #a67d2f;
    font-size: 27px;
}

.shea-confirm-btn {
    min-height: 45px;
    border-color: var(--ncx-green);
    border-radius: 9px;
    background: var(--ncx-green);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.shea-confirm-btn:hover {
    background: var(--ncx-green-dark);
    color: #fff;
}

.shea-modal .btn-outline-secondary {
    min-height: 43px;
    border-radius: 9px;
    font-size: 12px;
}

/* FOOTER */

.registration-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
    color: #89958d;
    font-size: 9px;
    text-align: center;
}

.registration-security i {
    color: #56866a;
    font-size: 12px;
}

.registration-footer {
    display: flex;
    width: 100%;
    max-width: 690px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 32px;
    padding-top: 17px;
    border-top: 1px solid var(--ncx-border);
    color: #8b968e;
    font-size: 9px;
}

.registration-footer strong {
    color: var(--ncx-green);
    font-weight: 800;
}

.mobile-brand {
    display: none;
}

@keyframes register-enter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TABLET */

@media (max-width: 1100px) {
    .registration-shell {
        grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.35fr);
        padding: 12px;
        gap: 12px;
    }

    .registration-brand {
        top: 12px;
        height: calc(100vh - 24px);
        height: calc(100dvh - 24px);
        min-height: 600px;
        padding: 28px;
    }

    .brand-copy h1 {
        font-size: clamp(37px, 4vw, 49px);
        letter-spacing: -2px;
    }

    .registration-main {
        padding-right: 24px;
        padding-left: 24px;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .registration-shell {
        display: block;
        min-height: 100vh;
        min-height: 100dvh;
        padding: 0;
        background: #fff;
    }

    .registration-brand {
        display: none;
    }

    .registration-main {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 24px 22px 20px;
    }

    .mobile-brand {
        display: block;
        width: 100%;
        max-width: 690px;
        margin: 0 auto 38px;
    }

    .mobile-brand img {
        display: block;
        width: 125px;
        max-width: 100%;
        height: 40px;
        object-fit: contain;
        object-position: left center;
    }

    .registration-content {
        margin: 0 auto;
    }

    .registration-heading {
        margin-bottom: 27px;
    }

    .heading-icon {
        width: 43px;
        height: 43px;
        margin-bottom: 19px;
    }

    .registration-heading h2 {
        font-size: 30px;
    }

    .registration-footer {
        margin-top: 35px;
    }
}

@media (max-width: 480px) {
    .registration-main {
        padding-right: 18px;
        padding-left: 18px;
    }

    .mobile-brand {
        margin-bottom: 30px;
    }

    .registration-heading h2 {
        font-size: 27px;
        letter-spacing: -1px;
    }

    .section-spaced {
        margin-top: 25px;
    }

    .registration-footer {
        flex-wrap: wrap;
        font-size: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
