﻿@font-face {
    font-family: 'SimplerPro-regular';
    src: url('../webfonts/SIMPLERPRO-REGULAR.OTF') format('opentype');
}

@font-face {
    font-family: 'SimplerPro-bold';
    src: url('../webfonts/SIMPLERPRO-BOLD.OTF') format('opentype');
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    line-height: 100%;
    font-family: 'SimplerPro-regular';
    letter-spacing: 0;
    font-weight: 400;
    font-size: 14px;
    overflow-y: auto;
    background-color: #EBEBED;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

p {
    margin: 0;
}

button {
    all: unset;
}

input,
textarea,
input::placeholder,
textarea::placeholder {
    font-family: 'SimplerPro-regular', sans-serif !important;
}

.header {
    position: sticky;
    top: 0;
    min-height: 75px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 4px 0 #0000001A;
    box-sizing: border-box;
    padding: 0 40px;
    z-index: 2;
}

    .header.single-image {
        justify-content: center;
    }

.logo-left {
    width: 155px;
    height: auto;
    object-fit: cover;
}

.logo-right {
    width: 92px;
    height: auto;
    object-fit: cover;
}

.main-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    background-color: #EBEBED;
    align-items: center;
    flex: 1;
}

.main {
    direction: rtl;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 36px;
    gap: 35px;
    background-color: #EBEBED;
}

.registration-steps-container {
    display: flex;
    gap: 86px;
}

.registration-step {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-img {
    width: 19px;
    height: 25px;
}

.questionnaire-img {
    width: 23px;
    height: 27px;
}

.payment-img {
    width: 30px;
    height: 21px;
}

.check-img {
    width: 36px;
    height: 27px;
}

.registration-step-text {
    color: #666666;
    font-size: 20px;
}

.registration-step-text-active {
    color: #2E5F72;
    font-size: 20px;
}

.registration-form {
    background-color: white;
    padding: 51px 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 12px;
    width: 700px;
    box-sizing: border-box;
    z-index: 1;
}

.registration-form-title {
    color: #2E5F72;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 45px;
}

.small-inputs-container {
    display: flex;
    gap: 16px;
    width: 100%;
    max-width: 400px;
}

.small-buttons-container {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    width: 100%;
}

[data-name="trainer-gender-buttons-container"] {
    margin-top: 8px;
}

.form-input-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
    width: 100%;
}

.form-input-label {
    color: #666666;
    font-size: 18px;
    justify-self: flex-start;
    width: 100%;
    line-height: 120%;
}

.step2 .form-input-label {
    margin-bottom: 12px;
}

.question-number {
    color: #666666;
    font-size: 18px;
    min-width: 20px;
    line-height: 120%;
}

.question-content {
    display: flex;
    flex: 1;
    padding-left: 0;
    width: 100%;
}

.step2 .form-input-container {
    margin: 0;
}

.step2 .form-continue-button {
    margin-top: 32px;
}

.separating-label {
    display: block;
    margin-bottom: 10px;
    align-self: flex-start;
}

.input-disabled {
    background: #EBEBED;
}

.form-input-field {
    border: 1px solid #666666;
    border-radius: 18px;
    padding: 16px 15px 16px 10px;
    height: 40px;
    width: 100%;
    box-sizing: border-box;
    font-size: 18px;
    max-width: 400px;
}

button.form-input-field {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    margin-bottom: 12px;
}

    button.form-input-field:hover {
        cursor: pointer;
        background-color: #EBEBED;
    }

button.button-clicked {
    background-color: #2E5F72;
    color: #FFFFFF;
}

    button.button-clicked:hover {
        background-color: #2E5F72;
        color: #FFFFFF;
    }

.form-input-field:focus {
    border: 2px solid #2E5F72;
    outline: none;
}

.form-input-field::placeholder {
    color: #A7A7A7;
}

/* Custom dropdown styling */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

#birth-year-dropdown-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding-right: 15px;
    text-align: right;
}

.dropdown-arrow {
    width: 10px;
    height: 20px;
    transition: transform 0.3s ease;
}

    .dropdown-arrow.rotated {
        transform: rotate(180deg);
    }

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #666666;
    border-top: none;
    border-radius: 0 0 18px 18px;
    margin-top: 0;
    z-index: 10;
    max-height: 200px;
    overflow-y: auto;
    box-sizing: border-box;
}

    .dropdown-options .option {
        padding: 12px 15px;
        cursor: pointer;
        border-bottom: 1px solid #EBEBED;
        transition: background-color 0.2s ease;
    }

        .dropdown-options .option:last-child {
            border-bottom: none;
        }

        .dropdown-options .option:hover {
            background-color: #f0f0f0;
        }

.hidden {
    display: none;
}

.form-input-textarea {
    border: 1px solid #666666;
    border-radius: 18px;
    padding: 16px 10px;
    height: 102px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    font-size: 16px;
}

.city-selector {
    color: #A7A7A7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.dropdown-arrow {
    width: 10px;
    height: 20px;
}

.search-icon {
    width: 14px;
    height: 14px;
}

.hidden {
    display: none;
}

.city-selector.open .dropdown-arrow {
    transform: rotate(180deg);
}

.city-search-input {
    all: unset;
    width: 100%;
    color: #000000;
    font-size: 14px;
    background: transparent;
}

    .city-search-input::placeholder {
        color: #666666;
        opacity: 1;
    }

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: none;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    margin-top: 0;
    z-index: 10;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

    .dropdown-options.hidden {
        display: none;
    }

.customer-service-text {
    color: #666666;
    font-size: 14px;
    margin-top: 30px;
    text-align: right;
    width: 100%;
}

.search-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    margin: 11px 0 0 10px;
    border: 1px solid #EBEBED;
    border-radius: 8px;
    background: #fff;
    height: 33px;
    box-sizing: border-box;
}

.option {
    height: 33px;
    display: flex;
    align-items: center;
    padding-right: 10px;
    cursor: pointer;
    background: #fff;
    transition: background-color 0.2s ease;
    font-size: 14px;
}

    .option:hover {
        background: #A3A3A333;
    }

    .option.picked {
        background: #2E5F72;
        color: #fff;
    }

.form-input-textarea:focus {
    border: 2px solid #2E5F72;
    outline: none;
}

.form-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 32px;
    width: 100%;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
}

.checkbox-text {
    color: #666666;
}

.underlined-text {
    text-decoration: underline;
}

    .underlined-text:hover {
        cursor: pointer;
    }

.error-message {
    color: #D20404;
    font-size: 14px;
    font-weight: 400;
    line-height: 100%;
    width: 100%;
}

.step2 .error-message {
    margin: 8px;
}

.error-checkbox {
    margin-right: 38px;
}

.error-gender {
    margin-top: -8px;
    margin-bottom: 24px;
}

.form-continue-button {
    font-size: 18px;
    color: #25434E;
    background-color: #A9E8E0;
    padding: 16px 10px;
    box-sizing: border-box;
    border-radius: 30px;
    height: 38px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 400px;
}

    .form-continue-button:hover {
        cursor: pointer;
    }


.form-continue-button-ichilov {
    font-size: 18px;
    color: white;
    background-color: #003087;
    padding: 16px 10px;
    box-sizing: border-box;
    border-radius: 30px;
    height: 38px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 400px;
    margin-top:30px;
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 31px 0;
    background-color: #EBEBED;
}

.footer-logo {
    width: 157px;
    height: 15px;
}

.consent-text {
    color: #666666;
    font-size: 16px;
    line-height: 120%;
    font-weight: 400;
    margin-bottom: 45px;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: #EBEBED;
    margin: 28px 0;
}

.payment-hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 33px;
    background-color: #2E5F72;
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
    text-align: center;
}

.heart-image {
    width: 59px;
    height: 56px;
    margin-bottom: 22px;
}

.success-image {
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
}

.fail-image {
    width: 57px;
    height: 57px;
    margin-bottom: 22px;
}

.payment-user-greeting,
.payment-user-name {
    color: #A9E8E0;
    font-size: 30px;
    font-weight: 700;
    line-height: 34px;
    max-width: 200px;
}

.payment-content {
    max-width: 700px;
}

.payment-text-section {
    background-color: white;
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
    padding: 45px 150px;
    box-sizing: border-box;
}

.payment-description {
    color: #666666;
    font-size: 18px;
    line-height: 120%;
    font-weight: 400;
    text-align: center;
    margin-bottom: 40px;
}

.step3 .form-continue-button {
    height: 54px;
}

.coupon-failed-text-one {
    margin-bottom: 40px;
}

.coupon-failed-text-two {
    margin-bottom: 0;
}

@media (max-width: 768px) {

    body,
    html {
        background-color: white;
        overflow-x: hidden;
    }

    .main-container {
        background-color: white;
    }

    .registration-steps-container {
        justify-content: space-between;
        gap: 0;
        width: 100%;
    }

    .registration-step-text {
        font-size: 14px;
    }

    .registration-step-text-active {
        font-size: 14px;
    }

    .profile-img {
        width: 13px;
        height: 17px;
    }

    .questionnaire-img {
        width: 15px;
        height: 19px;
    }

    .payment-img {
        width: 24px;
        height: 22px;
    }

    .check-img {
        width: 24px;
        height: 18px;
    }

    .main {
        gap: 24px;
        padding: 25px 37px 13px;
        background-color: white;
        width: 100%;
    }

    .registration-form-title {
        margin-bottom: 32px;
    }

    .registration-form {
        width: 100%;
    }

    .registration-step {
        gap: 8px;
    }

    .footer {
        background-color: white;
    }

    .registration-form {
        padding: 0 27px;
    }

    .form-input-container {
        margin-bottom: 24px;
    }

    .form-checkboxes {
        gap: 10px;
    }

    .payment-text-section {
        padding: 32px 37px;
    }

    .registration-steps-container {
        padding: 0 37px;
        box-sizing: border-box;
    }

    .payment-hero-section {
        border-radius: 0;
    }

    .heart-image {
        margin-bottom: 12px;
    }

    .success-image {
        margin-bottom: 12px;
    }

    .fail-image {
        margin-bottom: 12px;
    }

    .step3 .form-continue-button {
        height: 38px;
    }

    .step1-2 .mobile-column {
        flex-direction: column;
        gap: 0;
    }

    .coupon-failed {
        margin-bottom: 24px;
    }

    .payment-content {
        width: 100%;
        max-width: unset;
    }

    .payment-text-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .error-gender {
        margin-top: -16px;
    }

    .footer {
        padding: 21px 0;
    }
}
/* Popup styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark filter */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 80%;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
}

.popup-header {
    color: #2E5F72;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.popup-body {
    color: #666666;
    font-size: 18px;
    line-height: 1.5;
    margin: 0 0 30px 0;
}

.popup-content .form-continue-button {
    max-width: 200px;
    margin: 20px auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-overlay.hidden {
    display: none;
}

@media (max-width: 768px) {

    body,
    html {
        background-color: white;
        overflow-x: hidden;
    }

    .main-container {
        background-color: white;
    }

    .registration-steps-container {
        justify-content: space-between;
        gap: 0;
        width: 100%;
    }

    .registration-step-text {
        font-size: 14px;
    }

    .registration-step-text-active {
        font-size: 14px;
    }

    .profile-img {
        width: 13px;
        height: 17px;
    }

    .questionnaire-img {
        width: 15px;
        height: 19px;
    }

    .payment-img {
        width: 24px;
        height: 22px;
    }

    .check-img {
        width: 24px;
        height: 18px;
    }

    .main {
        gap: 24px;
        padding: 25px 37px 13px;
        background-color: white;
        width: 100%;
    }

    .registration-form-title {
        margin-bottom: 32px;
    }

    .registration-step {
        gap: 8px;
    }

    .footer {
        background-color: white;
    }

    .registration-form {
        padding: 0 27px;
    }

    .form-input-container {
        margin-bottom: 24px;
    }

    .form-checkboxes {
        gap: 10px;
    }

    .payment-text-section {
        padding: 32px 37px;
    }

    .registration-steps-container {
        padding: 0 37px;
        box-sizing: border-box;
    }

    .payment-hero-section {
        border-radius: 0;
    }

    .heart-image {
        margin-bottom: 12px;
    }

    .success-image {
        margin-bottom: 12px;
    }

    .fail-image {
        margin-bottom: 12px;
    }

    .step3 .form-continue-button {
        height: 38px;
    }

    .step1-2 .mobile-column {
        flex-direction: column;
        gap: 0;
    }

    .coupon-failed {
        margin-bottom: 24px;
    }

    .payment-content {
        width: 100%;
        max-width: unset;
    }

    .payment-text-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .error-gender {
        margin-top: -16px;
    }

    .footer {
        padding: 21px 0;
    }
}