/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    color: #172033;
    background: #f5f7fa;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================
   HEADER
========================================= */

.registration-header {
    height: 78px;

    padding: 0 5%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #ffffff;

    border-bottom: 1px solid #e6e9ed;
}


/* =========================================
   BRAND
========================================= */

.brand {
    display: inline-flex;
    align-items: center;

    text-decoration: none;
}

.brand img {
    display: block;

    width: 150px;
    height: auto;

    max-width: 100%;
    object-fit: contain;
}

@media (max-width: 700px) {

    .brand img {
        width: 135px;
    }

}


/* =========================================
   EXISTING ACCOUNT
========================================= */

.existing-account {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #687385;

    font-size: 13px;
}

.existing-account a {
    color: #176b4d;
    font-weight: 700;
}

.existing-account a:hover {
    text-decoration: underline;
}


/* =========================================
   CONTENT
========================================= */

.registration-content {
    padding: 55px 20px 70px;
}

.registration-container {
    width: 100%;
    max-width: 850px;

    margin: auto;
}


/* =========================================
   PAGE HEADING
========================================= */

.page-heading {
    text-align: center;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 10px;

    color: #176b4d;

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1.3px;
}

.page-heading h1 {
    color: #172033;

    font-size: 38px;
    line-height: 1.15;

    letter-spacing: -1.4px;
}

.page-heading p {
    margin-top: 11px;

    color: #687385;

    font-size: 14px;
}


/* =========================================
   PROGRESS
========================================= */

.progress {
    display: flex;
    align-items: center;

    margin: 45px 0 30px;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 10px;

    flex-shrink: 0;
}

.progress-step > span {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #dce1e6;
    border-radius: 50%;

    background: #ffffff;
    color: #87919e;

    font-size: 12px;
    font-weight: 700;
}

.progress-step.active > span {
    background: #176b4d;
    border-color: #176b4d;

    color: #ffffff;
}

.progress-step strong {
    display: block;

    color: #4c5665;

    font-size: 11px;
    font-weight: 700;
}

.progress-step.active strong {
    color: #176b4d;
}

.progress-step small {
    display: block;

    margin-top: 2px;

    color: #a0a8b3;

    font-size: 10px;
}

.progress-line {
    height: 1px;

    flex: 1;

    min-width: 20px;

    margin: 0 15px;

    background: #e1e5e9;
}


/* =========================================
   CARD
========================================= */

.registration-card {
    background: #ffffff;

    border: 1px solid #e1e5e9;
    border-radius: 10px;

    padding: 38px;

    box-shadow:
        0 10px 35px rgba(22, 34, 48, 0.04);
}


/* =========================================
   SECTION TITLE
========================================= */

.section-title {
    margin-bottom: 25px;
}

.section-title h2 {
    color: #172033;

    font-size: 19px;
    font-weight: 700;

    letter-spacing: -0.4px;
}

.section-title p {
    margin-top: 6px;

    color: #7a8491;

    font-size: 12px;
    line-height: 1.6;
}

/* =========================================
   COUNTRY SELECT
========================================= */

.country-select {
    position: relative;
    width: 100%;
}


/* Trigger */

.country-select-trigger {
    width: 100%;
    height: 49px;

    padding: 0 13px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border: 1px solid #d8dee6;
    border-radius: 6px;

    background: #ffffff;
    color: #172033;

    cursor: pointer;

    font-family: inherit;
    font-size: 13px;

    text-align: left;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.country-select-trigger:hover {
    border-color: #b9c2cc;
}

.country-select.open .country-select-trigger {
    border-color: #176b4d;

    box-shadow:
        0 0 0 3px rgba(23, 107, 77, 0.09);
}


/* Placeholder */

.country-placeholder {
    color: #a4acb7;
}

.country-select.has-value .country-placeholder {
    color: #172033;
}


/* Arrow */

.country-arrow {
    color: #697583;

    font-size: 18px;
    line-height: 1;

    transition: transform 0.2s ease;
}

.country-select.open .country-arrow {
    transform: rotate(180deg);
}


/* =========================================
   DROPDOWN
========================================= */

.country-dropdown {
    position: absolute;

    top: calc(100% + 7px);
    left: 0;
    right: 0;

    z-index: 100;

    display: none;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #dce1e6;
    border-radius: 7px;

    box-shadow:
        0 12px 30px rgba(22, 34, 48, 0.12);
}

.country-select.open .country-dropdown {
    display: block;
}


/* =========================================
   SEARCH
========================================= */

.country-search-wrapper {
    position: relative;

    padding: 10px;

    border-bottom: 1px solid #edf0f2;

    background: #ffffff;
}

.search-icon {
    position: absolute;

    left: 21px;
    top: 50%;

    transform: translateY(-50%);

    color: #8b95a1;

    font-size: 17px;

    pointer-events: none;
}

.country-search {
    width: 100%;
    height: 39px;

    padding: 0 12px 0 34px;

    border: 1px solid #dce1e6;
    border-radius: 5px;

    outline: none;

    background: #f8fafb;
    color: #172033;

    font-family: inherit;
    font-size: 12px;
}

.country-search::placeholder {
    color: #9ba4af;
}

.country-search:focus {
    border-color: #176b4d;

    background: #ffffff;
}


/* =========================================
   COUNTRY LIST
========================================= */

.country-list {
    max-height: 250px;

    overflow-y: auto;

    padding: 5px;
}


/* Scrollbar */

.country-list::-webkit-scrollbar {
    width: 6px;
}

.country-list::-webkit-scrollbar-track {
    background: transparent;
}

.country-list::-webkit-scrollbar-thumb {
    background: #d2d8de;
    border-radius: 10px;
}


/* Country option */

.country-option {
    width: 100%;

    min-height: 42px;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 8px 10px;

    border: none;
    border-radius: 5px;

    background: transparent;

    color: #303b4a;

    cursor: pointer;

    font-family: inherit;
    font-size: 12px;

    text-align: left;
}

.country-option:hover {
    background: #f1f7f4;
}

.country-option.selected {
    background: #eaf4ef;

    color: #176b4d;

    font-weight: 650;
}


/* Country flag */

.country-flag {
    width: 24px;

    flex-shrink: 0;

    font-size: 17px;

    text-align: center;
}


/* Country name */

.country-name {
    flex: 1;
}


/* Check */

.country-check {
    color: #176b4d;

    font-size: 14px;
    font-weight: 800;
}


/* =========================================
   NO RESULTS
========================================= */

.country-no-results {
    display: none;

    padding: 25px 15px;

    color: #8b95a1;

    font-size: 12px;

    text-align: center;
}

.country-no-results.visible {
    display: block;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .country-dropdown {
        position: absolute;
    }

    .country-list {
        max-height: 230px;
    }

}

.country-selected-content {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #172033;
}

.country-selected-content .country-flag {
    width: 22px;
    font-size: 16px;
}

/* =========================================
   FORM ROW
========================================= */

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 18px;
}


/* =========================================
   FORM GROUP
========================================= */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #263143;

    font-size: 12px;
    font-weight: 650;
}


/* =========================================
   INPUTS
========================================= */

.form-group input,
.form-group select {
    width: 100%;
    height: 49px;

    padding: 0 13px;

    border: 1px solid #d8dee6;
    border-radius: 6px;

    outline: none;

    background: #ffffff;

    color: #172033;

    font-family: inherit;
    font-size: 13px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input::placeholder {
    color: #a4acb7;
}

.form-group select {
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #176b4d;

    box-shadow:
        0 0 0 3px rgba(23, 107, 77, 0.09);
}


/* =========================================
   PASSWORD
========================================= */

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 60px;
}

.password-toggle {
    position: absolute;

    top: 50%;
    right: 12px;

    transform: translateY(-50%);

    border: none;
    background: transparent;

    color: #176b4d;

    cursor: pointer;

    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
}


/* =========================================
   FIELD HELP
========================================= */

.field-help {
    display: block;

    margin-top: 6px;

    color: #929ba7;

    font-size: 10px;
}


/* =========================================
   DIVIDER
========================================= */

.form-divider {
    height: 1px;

    margin: 10px 0 30px;

    background: #edf0f2;
}


/* =========================================
   TERMS
========================================= */

.terms {
    margin-top: 8px;
    margin-bottom: 25px;

    padding: 15px;

    background: #f8faf9;

    border: 1px solid #e5ece8;
    border-radius: 6px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 9px;

    color: #687385;

    font-size: 11px;
    line-height: 1.6;

    cursor: pointer;
}

.checkbox-label input {
    width: 15px;
    height: 15px;

    margin-top: 2px;

    flex-shrink: 0;

    accent-color: #176b4d;
}

.checkbox-label a {
    color: #176b4d;
    font-weight: 700;
}


/* =========================================
   CONTINUE
========================================= */

.continue-button {
    width: 100%;
    height: 51px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    border: none;
    border-radius: 6px;

    background: #176b4d;
    color: #ffffff;

    cursor: pointer;

    font-family: inherit;
    font-size: 13px;
    font-weight: 700;

    transition: background 0.2s ease;
}

.continue-button span {
    font-size: 18px;
}

.continue-button:hover {
    background: #10543b;
}


/* =========================================
   NOTICE
========================================= */

.form-notice {
    max-width: 550px;

    margin: 13px auto 0;

    color: #9aa2ad;

    font-size: 10px;
    line-height: 1.5;

    text-align: center;
}


/* =========================================
   SECURITY FOOTER
========================================= */

.security-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;

    margin-top: 28px;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 9px;
}

.security-icon {
    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e8f3ee;
    color: #176b4d;

    font-size: 11px;
    font-weight: 800;
}

.security-item strong {
    display: block;

    color: #52606f;

    font-size: 10px;
}

.security-item div span {
    display: block;

    margin-top: 2px;

    color: #9aa2ad;

    font-size: 9px;
}


/* =========================================
   FOOTER
========================================= */

.page-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;

    margin-top: 35px;

    color: #9aa2ad;

    font-size: 10px;
}

.page-footer a:hover {
    color: #176b4d;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 700px) {

    .registration-header {
        height: 70px;

        padding: 0 20px;
    }

    .existing-account span {
        display: none;
    }

    .registration-content {
        padding: 40px 15px;
    }

    .page-heading h1 {
        font-size: 30px;
    }

    .progress {
        margin-top: 35px;
    }

    .progress-step div {
        display: none;
    }

    .progress-line {
        margin: 0 10px;
    }

    .registration-card {
        padding: 25px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .security-footer {
        flex-direction: column;
        gap: 15px;
    }

}


@media (max-width: 420px) {

    .brand {
        font-size: 18px;
    }

    .brand-icon {
        width: 32px;
        height: 32px;
    }

    .registration-card {
        border-radius: 7px;
    }

    .progress-step > span {
        width: 30px;
        height: 30px;
    }

}