@font-face {
    font-family: Mulish;
    src: url(../fonts/Mulish-Black-Subset.woff2);
    font-display: swap;
}

@font-face {
    font-family: "Bebas";
    src: url(../fonts/bdf65a10_f2da_456d_bff7_20fa526b7bcc_subset_AZa_z09_symbols.woff2);
    font-display: swap;
}

body {
    font-family: sans-serif;
}

.homeModal,
.homeModalOverlay {
    position: fixed;
    top: 0;
    height: 100vh;
    width: 100%;
    left: 0;
}

.homeModal {
    z-index: 30;
    justify-content: center;
    align-items: center;
    display: flex;
}

.homeModalOverlay {
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.homeFormContainer {
    position: relative;
    z-index: 30;
    background-color: #fff;
    color: #000;
    border-radius: 8px;
    padding: 20px 40px 40px;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 0 20px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.homeFormTop {
    display: flex;
    justify-content: space-between;
}

.homeFormTopTitle {
    font-size: 32px;
    margin: 0 0 20px;
    color: #000;
    font-weight: 700;
    font-family: Bebas, sans-serif;
    text-transform: uppercase;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.closeButton {
    background: 0 0;
    border: none;
    cursor: pointer;
    padding: 4px;
    justify-content: center;
    align-items: center;
    display: flex;
    position: absolute;
    top: 20px;
    right: 20px;
    color: #000;
}

.homeFormErrorText {
    color: #e53e3e;
    margin-bottom: 12px;
    font-size: 14px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    padding-top: 5px;
    padding-bottom: 5px;
}

.HomeFormRowInput,
.HomeFormRowLabel {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 18px;
}

.HomeFormRow {
    margin-bottom: 20px;
}

.HomeFormRowLabel {
    display: block;
    margin-bottom: 6px;
    color: #000;
}

.HomeFormRowInput {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid #c9c9c9;
    min-height: 48px;
    background-color: #f3f7f8;
    border-radius: 6px;
    font-weight: 400;
    outline: 0;
    height: 50px;
    transition: border-color 0.2s;
}

.HomeFormRowInput:focus {
    border-color: #2664EB;
}

.HomeFormRowInput::placeholder {
    color: #aaa;
}

.HomeFormBtn {
    font-family: Bebas, sans-serif;
    height: 60px;
    width: 100%;
    cursor: pointer;
    border-radius: 10px;
    background: linear-gradient(90deg, #2664EB 0%, #4A83FF 51%, #2664EB 100%);
    transition: 0.3s;
    font-size: 28px;
    color: white;
    text-transform: uppercase;
    border: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-input-container {
    display: flex;
    align-items: center;
}

.country-selector {
    position: relative;
    margin-right: 10px;
}

.selected-country {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #c9c9c9;
    border-radius: 6px;
    background-color: #f3f7f8;
    cursor: pointer;
    min-height: 50px;
    font-family: sans-serif !important;
    font-weight: 400 !important;
}

.country-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    background-color: #fff;
    border: 1px solid #c9c9c9;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 40;
    max-height: 200px;
    overflow-y: auto;
    font-family: sans-serif !important;
    font-weight: 400 !important;
}

.country-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    font-family: sans-serif;
    font-weight: 400 !important;
}

.country-option:hover {
    background-color: #f3f7f8;
}

.country-option.selected {
    background-color: #e6f0fa;
}

@media screen and (max-width: 768px) {
    .homeFormContainer {
        max-width: 100%;
        padding: 80px 20px 20px;
        margin: 0;
        border-radius: 6px;
        height: 100vh;
    }
    .homeFormTopTitle {
        text-align: center;
        max-width: 368px;
        margin-left: auto;
        margin-right: auto;
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 15px;
    }
    .homeFormTop {
        flex-direction: column;
        align-items: flex-start;
    }

    .homeFormErrorText {
        font-size: 12px;
        margin-bottom: 8px;
    }
    .HomeFormRowLabel {
        margin-bottom: 6px;
    }
    .HomeFormRowInput {
        padding: 0 12px;
        min-height: 40px;
        background-color: transparent;
    }
    .HomeFormRowInput::placeholder {
        color: #a3a3a3;
    }
    .HomeFormBtn {
        height: auto;
        font-size: 18px;
        font-weight: 700;
        margin-top: 24px;
    }
}

@media screen and (max-width: 480px) {
    .homeFormContainer {
        max-width: 100%;
        padding: 80px 20px 20px;
        margin: 0;
        border-radius: 6px;
        height: 100vh;
    }
    .homeFormTopTitle {
        text-align: center;
        max-width: 335px;
        margin: 0 auto 15px;
    }
    .homeFormErrorText {
        font-size: 12px;
        margin-bottom: 8px;
    }
    .HomeFormRowLabel {
        margin-bottom: 6px;
    }
    .HomeFormRowInput {
        padding: 0 12px;
        min-height: 40px;
        background-color: transparent;
        border-radius: 10px;
    }
    .HomeFormRowInput::placeholder {
        color: #a3a3a3;
    }
    .HomeFormBtn {
        font-size: 28px;
        padding: 10px 0;
        margin-top: 24px;
    }
}