/* 2026-03-21: Dedicated stylesheet to align the signup page with the redesigned login design system. */
@font-face {
    font-family: "LoginGothamBold";
    src: url("../../fonts/Gotham-Font/GothamBold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "LoginGothamBook";
    src: url("../../fonts/Gotham-Font/GothamBook.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

html,
body {
    height: 100%;
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
}

body {
    font-family: "LoginGothamBook", "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(129, 219, 122, 0.24), transparent 30%),
        radial-gradient(circle at bottom left, rgba(72, 199, 255, 0.28), transparent 34%),
        radial-gradient(circle at top right, rgba(66, 133, 244, 0.12), transparent 28%),
        linear-gradient(90deg, #f3fbf2 0%, #eef6ff 46%, #fcfbff 46%, #ffffff 100%);
    color: #314255;
    overflow: hidden;
}

.signup-page {
    box-sizing: border-box;
    min-height: 100vh;
    height: 100vh;
    padding: 8px;
    overflow: hidden;
}

.signup-shell {
    display: flex;
    height: calc(100vh - 16px);
    min-height: calc(100vh - 16px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 44px rgba(37, 64, 97, 0.08);
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(12px);
}

.signup-hero-panel,
.signup-form-panel {
    position: relative;
    min-width: 0;
}

.signup-hero-panel {
    flex: 0 0 50%;
    overflow: hidden;
    padding: 24px 32px 18px;
    background:
        radial-gradient(circle at 14% 11%, rgba(135, 224, 109, 0.52), transparent 24%),
        radial-gradient(circle at 82% 8%, rgba(106, 167, 255, 0.42), transparent 26%),
        radial-gradient(circle at 24% 90%, rgba(74, 209, 255, 0.36), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(244, 252, 255, 0.88) 52%, rgba(202, 239, 255, 0.95) 100%);
}

.signup-hero-panel::before,
.signup-hero-panel::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.signup-hero-panel::before {
    width: 640px;
    height: 640px;
    left: -230px;
    bottom: -310px;
    background: radial-gradient(circle, rgba(67, 205, 255, 0.42) 0%, rgba(67, 205, 255, 0) 70%);
}

.signup-hero-panel::after {
    width: 380px;
    height: 380px;
    right: -105px;
    top: -100px;
    background: radial-gradient(circle, rgba(83, 152, 255, 0.36) 0%, rgba(83, 152, 255, 0) 72%);
}

.signup-form-panel {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 42px 16px;
    background:
        radial-gradient(circle at 8% 88%, rgba(137, 203, 255, 0.18), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 251, 255, 0.99) 100%);
}

.signup-hero-content,
.signup-form-wrap {
    position: relative;
    z-index: 1;
}

.signup-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
}

.signup-brand {
    margin: 0 auto 22px;
    text-align: center;
}

.signup-brand img {
    width: 154px;
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.signup-hero-copy {
    max-width: 420px;
}

.signup-hero-copy h1 {
    margin: 0 0 10px;
    color: #2c3950;
    font-family: "LoginGothamBold", "Segoe UI", Arial, sans-serif;
    font-size: clamp(26px, 2.4vw, 34px);
    line-height: 1.06;
    letter-spacing: -1.1px;
}

    .signup-hero-copy p {
        margin: 0;
        max-width: 350px;
        color: #4c6078;
        font-size: clamp(13px, 0.85vw, 14px);
        line-height: 1.45;
        font-family: "LoginGothamBook", "Segoe UI", Arial, sans-serif;
    }

.signup-feature-list {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.signup-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #33495f;
    font-size: clamp(13px, 0.9vw, 15px);
    line-height: 1.2;
}

.signup-feature-list i {
    color: #3f9b39;
    font-size: 16px;
}

.signup-illustration {
    position: relative;
    width: 100%;
    max-width: 410px;
    margin: 20px auto 0;
    margin-left: auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.signup-illustration::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 69% 20%, rgba(255, 255, 255, 0.95) 0 2px, transparent 3px),
        radial-gradient(circle at 76% 24%, rgba(255, 255, 255, 0.92) 0 1.5px, transparent 3px),
        radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.88) 0 2px, transparent 3px),
        radial-gradient(circle at 91% 60%, rgba(255, 255, 255, 0.86) 0 2px, transparent 3px),
        radial-gradient(circle at 80% 82%, rgba(255, 255, 255, 0.82) 0 1.5px, transparent 3px);
    pointer-events: none;
}

.signup-illustration-image {
    display: block;
    width: 100%;
    max-width: 390px;
    height: auto;
    max-height: 24vh;
    object-fit: contain;
    object-position: center center;
    filter: drop-shadow(0 18px 30px rgba(80, 132, 190, 0.14));
}

.signup-illustration-image-alt {
    max-width: 340px;
    max-height: 22vh;
}

.signup-form-wrap {
    width: 100%;
    max-width: 438px;
}

.signup-card {
    position: relative;
    isolation: isolate;
    width: 100%;
    padding: 7px 24px 7px;
    border: 1px solid rgba(226, 236, 248, 0.92);
    border-radius: 24px !important;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0) 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 252, 255, 0.95) 100%);
    box-shadow:
        0 34px 90px rgba(96, 142, 201, 0.18),
        0 14px 34px rgba(112, 141, 181, 0.11),
        0 2px 8px rgba(255, 255, 255, 0.72),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
}

.signup-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0) 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.12) 100%);
    pointer-events: none;
    z-index: -1;
}

.signup-card::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        inset 0 -10px 20px rgba(183, 214, 255, 0.08);
    pointer-events: none;
    z-index: 0;
}

.signup-form {
    position: relative;
    z-index: 1;
    margin: 0;
}

.signup-card-header {
    margin-bottom: 18px;
    text-align: center;
}

.signup-card-header h2 {
    margin: 0 0 8px;
    color: #2e3f5b;
    font-family: "LoginGothamBold", "Segoe UI", Arial, sans-serif;
    font-size: clamp(24px, 2vw, 30px);
    line-height: 1.08;
    letter-spacing: -1px;
}

.signup-card-header p {
    margin: 0;
    color: #687c94;
    font-size: clamp(12px, 0.8vw, 14px);
    line-height: 1.35;
}

.signup-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 12px;
}

.signup-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.signup-grid-contact {
    grid-template-columns: 96px minmax(0, 1fr);
}

.signup-field {
    position: relative;
}

.signup-field.is-hidden {
    display: none;
}

.signup-page .form-control,
.signup-page select,
.signup-page .searchable-select-holder,
.signup-page .searchable-select-input {
    width: 100%;
    height: 38px;
    padding: 0 14px;
    border: 1px solid #d7e2ef;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.92);
    color: #314255 !important;
    font-size: 12px;
    line-height: 1.2;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.signup-page .form-control:focus,
.signup-page select:focus,
.signup-page .searchable-select-input:focus,
.signup-page .searchable-select.active .searchable-select-holder,
.signup-page .searchable-select.open .searchable-select-holder {
    border-color: #77af66;
    box-shadow: 0 0 0 4px rgba(106, 171, 81, 0.12);
    background: #ffffff;
    outline: none;
}

.signup-page .form-control::placeholder,
.signup-page .searchable-select-holder {
    color: #606f81;
    opacity: 1;
}

.signup-page .form-control[disabled],
.signup-page .form-control[readonly] {
    background: rgba(243, 247, 252, 0.96);
    color: #7d8da0 !important;
}

.signup-page #show_hide_password {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.signup-page #show_hide_password .form-control {
    padding-right: 44px;
}

.signup-page .input-group-addon {
    position: absolute;
    top: 50%;
    right: 14px;
    margin: 0;
    transform: translateY(-50%);
    z-index: 3;
}

.signup-page .toggle-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a8598 !important;
}

.signup-page .eye-icon {
    width: 16px;
    height: 16px;
}

.signup-page .btn {
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    padding: 14px 16px;
    border-radius: 12px;
}

.signup-page .btn-primary,
.signup-page .btn-primary:focus {
    border-color: #3e882c;
    background: linear-gradient(90deg, #5a9d3d 0%, #2f7f34 100%);
    color: #ffffff;
    box-shadow: none;
}

.signup-page .btn-primary:hover,
.signup-page .btn-primary:not(:disabled):hover {
    border-color: #2f7f34;
    background: linear-gradient(90deg, #4f8f35 0%, #286e2c 100%) !important;
}

.fill-div {
    width: 100%;
    text-align: center;
}

.signup-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 2px 0 0;
    width: 100%;
}

.signup-consent input {
    display: block;
    margin: 0;
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: #3e882c;
    flex: 0 0 auto;
}

.signup-consent-copy {
    margin: 0;
    display: block;
    color: #44556b;
    font-size: 11.5px;
    line-height: 1.4;
    text-align: left;
    flex: 1 1 auto;
    padding-top:0px;
}

.signup-consent-copy strong {
    font-family: inherit;
    font-weight: inherit;
}

.signup-link {
    color: #2f7a39 !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
}

.signup-link:hover {
    color: #25622d !important;
}

.signup-link-inline {
    text-decoration: underline !important;
}

.signup-submit {
    margin-top: 14px;
}

.signup-login {
    margin: 14px 0 0;
    color: #44556b;
    font-size: 11.5px;
    text-align: center;
}

.signup-login small {
    color: inherit;
    font-size: inherit;
}

.strength-bar {
    height: 6px;
    width: 100%;
    margin-top: 8px;
    border-radius: 999px;
    transition: background-color 0.3s ease;
    background-color: #e0e0e0;
    position: relative;
    overflow: hidden;
}

.strength-bar::after {
    content: "";
    display: block;
    height: 100%;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.strength-bar.weak::after {
    width: 33%;
    background-color: #d14343;
}

.strength-bar.medium::after {
    width: 66%;
    background-color: #dd8a28;
}

.strength-bar.strong::after {
    width: 100%;
    background-color: #3e882c;
}

.password-rules {
    list-style: none;
    padding: 10px 15px;
    margin: 10px 0 0;
    border: 1px solid #d7e2ef;
    border-radius: 12px;
    background: #f9fbff;
    font-size: 13px;
    animation: fadeIn 0.3s ease-in;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.password-rules li {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    color: #a00;
}

.password-rules li:last-child {
    margin-bottom: 0;
}

.password-rules li i {
    margin-right: 8px;
}

.password-rules li.valid,
.password-rules li.valid i {
    color: #2f7f34;
}

#StrengthWrapper,
#PasswordRules {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.signup-page .searchable-select {
    display: block;
    width: 100%;
    line-height: normal !important;
}

.signup-page .searchable-select-holder {
    display: flex;
    align-items: center;
    padding-right: 40px;
}

.signup-page .searchable-select-caret {
    top: 50%;
    right: 16px;
    border-top-color: #7a8598;
    transform: translateY(-50%);
}

.signup-page .searchable-select-dropdown {
    top: 42px !important;
    border: 1px solid #d7e2ef;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 18px 32px rgba(90, 123, 164, 0.16);
    overflow: hidden;
}

.signup-page .searchable-select-input {
    border-radius: 0;
    border-width: 0 0 1px;
    box-shadow: none;
}

.signup-page .searchable-select-items {
    max-height: 220px;
}

.signup-page .searchable-select-item {
    padding: 10px 16px;
    color: #314255;
    font-size: 13px;
}

.signup-page .searchable-select-item.hover,
.signup-page .searchable-select-item.selected {
    background: rgba(106, 171, 81, 0.12);
    color: #2f7f34;
}

.overlay-terms {
    height: 0%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1350;
    background-color: rgba(0, 0, 0, 0.95);
    overflow-y: auto;
    transition: height 0.5s ease;
}

.overlay-terms.open {
    height: 100%;
}

.overlay-terms-close {
    position: absolute;
    top: 15px;
    right: 35px;
    font-size: 45px;
    color: #ffffff;
    text-decoration: none;
    z-index: 1400;
}

.overlay-terms-close:hover {
    color: #dce7f5;
}

.overlay-terms-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 30px 15px;
    background-color: #f7f9fc;
    font-family: "LoginGothamBook", "Segoe UI", Arial, sans-serif;
}

.overlay-terms-card {
    max-width: 900px;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 0 40px rgba(183, 192, 206, 0.7);
    border: 1px solid #f2f4f9;
    border-radius: 18px;
    padding: 40px 30px;
}

.overlay-terms-logo {
    text-align: center;
    margin-bottom: 24px;
}

.overlay-terms-logo img {
    width: 200px;
    height: 100px;
    object-fit: contain;
}

.overlay-terms-card h1 {
    margin-bottom: 24px !important;
    color: #2e3f5b;
    font-family: "LoginGothamBold", "Segoe UI", Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
}

.overlay-terms-card h2 {
    margin-bottom: 0.5rem !important;
    color: #314255;
    font-family: "LoginGothamBold", "Segoe UI", Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
}

.overlay-terms-content {
    display: flex;
    flex-direction: column;
    padding-right: 10px;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.6;
}

.overlay-terms-content ul {
    margin-left: 40px;
}

.overlay-terms-subtitle {
    margin-bottom: 1rem !important;
}

.overlay-terms-indent-tight {
    margin-left: 25px;
    margin-bottom: 0.1rem !important;
}

.overlay-terms-indent {
    margin-left: 25px;
    margin-bottom: 0.5rem !important;
}

.overlay-terms-emphasis {
    margin-left: 25px;
    font-family: "LoginGothamBold", "Segoe UI", Arial, sans-serif;
    font-weight: 700;
}

.overlay-terms-doc-link {
    color: #0078d4;
    text-decoration: none;
}

.overlay-terms-footer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.overlay-terms-btn {
    margin-top: 5px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.overlay-terms-primary {
    background-color: #3e882c;
    border: none;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
}

.overlay-terms-primary:hover {
    background-color: #3e882c;
}

.overlay-terms-primary:not(:disabled):hover {
    background-color: #34721e;
}

.overlay-terms-primary:disabled {
    background-color: #a5d6a7;
    cursor: not-allowed;
    opacity: 0.6;
}

#divloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.45);
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

#divloader.loading {
    display: block !important;
    background-image: url('../img/Loading.gif');
}

@media (max-width: 1280px) {
    .signup-hero-panel {
        padding: 22px 24px 16px;
    }

    .signup-form-panel {
        padding: 16px 28px 16px;
    }

    .signup-card {
        padding: 24px 20px 20px;
    }

    .signup-form-wrap {
        max-width: 420px;
    }

    .signup-illustration-image-alt {
        max-height: 20vh;
    }
}

@media (max-width: 991px) {
    .signup-shell {
        flex-direction: column;
        min-height: auto;
    }

    .signup-hero-panel,
    .signup-form-panel {
        flex: 0 0 auto;
    }

    .signup-hero-panel {
        padding: 28px 24px 18px;
    }

    .signup-hero-content {
        justify-content: flex-start;
        max-width: none;
    }

    .signup-illustration {
        width: 100%;
        max-width: 360px;
        margin: 22px auto 0;
    }

    .signup-form-panel {
        padding: 24px 18px 20px;
    }

    .signup-form-wrap {
        max-width: 620px;
    }

    .signup-illustration-image-alt {
        max-width: 320px;
        max-height: 200px;
    }
}

@media (max-width: 767px) {
    html,
    body {
        height: auto;
    }

    body,
    .signup-page {
        overflow: visible;
    }

    .signup-page {
        padding: 10px;
        height: auto;
    }

    .signup-shell {
        height: auto;
        min-height: auto;
        border-radius: 22px;
    }

    .signup-hero-panel {
        padding: 24px 18px 14px;
    }

    .signup-form-panel {
        padding: 18px 14px 20px;
    }

    .signup-card {
        padding: 26px 18px 22px;
        border-radius: 22px !important;
    }

    .signup-brand img {
        width: 164px;
    }

    .signup-hero-copy h1,
    .signup-card-header h2 {
        font-size: 30px;
        letter-spacing: -0.8px;
    }

    .signup-hero-copy p,
    .signup-card-header p {
        font-size: 16px;
    }

    .signup-feature-list li {
        font-size: 15px;
    }

    .signup-grid-two,
    .signup-grid-contact {
        grid-template-columns: 1fr;
    }

    .signup-page .form-control,
    .signup-page select,
    .signup-page .searchable-select-holder,
    .signup-page .searchable-select-input {
        height: 46px;
        font-size: 14px;
    }

    .signup-illustration-image-alt {
        max-width: 280px;
        max-height: 180px;
    }

    .signup-page .searchable-select-dropdown {
        top: 48px !important;
    }

    .signup-page .btn {
        font-size: 15px;
        padding: 14px 18px;
    }

    .signup-consent-copy,
    .signup-link,
    .signup-login {
        font-size: 13px;
    }

    .overlay-terms-card {
        padding: 30px 20px;
    }

    .overlay-terms-card h1 {
        font-size: 24px;
    }
}
