.margin-container.join-page {
    margin-top: 100px;
    margin-bottom: 100px;
}

.join-page .first-head {
    color: black;
    font-family: "CuristicBold";
    font-size: 44px;
    line-height: 53.64px;
    margin-bottom: 16px;
}

.join-page .descrip {
    color: #737373;
    font-family: "CuristicRegular";
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 32px;
    max-width: 46rem;
}

.join-form-card.contact-form {
    box-shadow: 0px 0px 40px 0px #0000001A;
    border-radius: 24px;
    padding: 40px 44px;
    background-color: white;
}

.join-form-card .form-label {
    color: #737373;
    font-family: "CuristicRegular";
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 10px;
    display: block;
}

.join-form-card .field,
.join-form-card input.form-control,
.join-form-card textarea.field,
.join-form-card select {
    color: #1a1a1a;
    background-color: white;
    font-family: "CuristicMedium";
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 0;
    padding: 16px 18px;
    border: 2px solid #F2F2F2;
    border-radius: 14px;
    width: 100%;
    min-height: 56px;
    box-shadow: none;
}

.join-form-card .field::placeholder,
.join-form-card textarea.field::placeholder {
    color: #B9B9B9;
}

.join-form-card .field:focus,
.join-form-card input.form-control:focus,
.join-form-card textarea.field:focus,
.join-form-card select:focus {
    border-color: #1DAC8E;
    outline: none;
    box-shadow: none;
    color: #1a1a1a;
}

.join-form-card textarea.field {
    min-height: 120px;
    resize: vertical;
}

.join-form-card select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('/Assets/Images/select-arrow-down.svg');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5rem auto;
    padding-inline-end: 3.25rem;
    cursor: pointer;
}

.join-form-card input[type="file"].field {
    padding: 14px 16px;
    font-size: 14px;
    color: #737373;
}

.join-form-card .form-check {
    margin-bottom: 0.65rem;
    font-family: "CuristicRegular";
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0 !important;
    padding-inline: 0 !important;
    min-height: auto;
}

/* Native checkbox — avoids Bootstrap custom input fighting .contact-form input styles */
.join-form-card.contact-form .form-check .form-check-input[type="checkbox"] {
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    accent-color: #1DAC8E;
    width: 1.125rem !important;
    height: 1.125rem !important;
    min-width: 1.125rem !important;
    min-height: 1.125rem !important;
    max-width: 1.125rem !important;
    max-height: 1.125rem !important;
    margin: 0.2rem 0 0 !important;
    margin-inline: 0 !important;
    padding: 0 !important;
    flex: 0 0 1.125rem;
    float: none !important;
    position: relative;
    z-index: 1;
    border: none !important;
    border-radius: 0;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    cursor: pointer;
    pointer-events: auto;
}

.join-form-card .form-check-input[type="checkbox"]:checked {
    background-color: transparent !important;
    border-color: transparent !important;
    background-image: none !important;
}

.join-form-card .form-check-input[type="checkbox"]:focus {
    box-shadow: none !important;
    outline: 2px solid color-mix(in srgb, #1DAC8E 45%, transparent);
    outline-offset: 2px;
}

.join-form-card .form-check-label {
    color: #4a4a4a;
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 0 !important;
    font-family: "CuristicRegular";
    cursor: pointer;
    flex: 1;
    min-width: 0;
    user-select: none;
}

.join-form-card .join-hint {
    font-family: "CuristicRegular";
    font-size: 13px;
    color: #8a8a8a;
    margin-top: 8px;
    margin-bottom: 0;
}

.join-form-card .btn-join-submit {
    color: #FFFFFF;
    background-color: #1DAC8E;
    padding: 14px 42px;
    border-radius: 14px;
    font-family: "CuristicBold";
    font-size: 18px;
    line-height: 21.94px;
    border: none;
    margin-top: 8px;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.join-form-card .btn-join-submit:hover {
    color: #FFFFFF;
    background-color: #18967c;
}

.join-form-card .btn-join-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.join-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

html[dir="rtl"] .join-form-actions {
    justify-content: flex-start;
}

.join-conditional {
    display: none;
}

.join-conditional.is-visible {
    display: block;
}

@media (max-width: 767px) {
    .join-page .first-head {
        font-size: 30px;
        line-height: 1.2;
    }

    .join-page .descrip {
        font-size: 16px;
    }

    .join-form-card.contact-form {
        padding: 24px;
        margin-inline: 0;
    }

    .join-form-card .field,
    .join-form-card input.form-control,
    .join-form-card textarea.field,
    .join-form-card select {
        font-size: 15px;
        padding: 14px 16px;
        min-height: 52px;
    }

    .join-form-card .btn-join-submit {
        width: auto;
        text-align: center;
    }
}
