.partner-section {
    width: 100%;
    padding: 10vh 5vw;
    background-color: var(--white);
}

.partner-container {
    max-width: 1280px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.form-input {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    background: transparent;
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--black);
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
    appearance: none;
}

.form-input:focus {
    border-bottom-color: var(--black);
}

.form-input.has-error {
    border-bottom-color: #e74c3c !important;
}

.error-msg {
    display: none;
    color: #e74c3c;
    font-size: 10px;
    text-transform: uppercase;
    margin-top: 5px;
    letter-spacing: 1px;
}

.form-group.has-error .error-msg {
    display: block;
}

input[readonly] {
    color: #999;
    cursor: not-allowed;
}

.form-textarea {
    resize: none;
    margin-top: 10px;
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
    transition: border-color 0.3s ease;
    cursor: text;
}

.phone-input-wrapper:focus-within {
    border-bottom-color: var(--black);
}

.phone-prefix {
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
    user-select: none;
}

.phone-field {
    flex: 1;
    border: none !important;
    padding: 0 !important;
    font-family: var(--font-sans);
    font-size: 14px;
    outline: none;
    background: transparent;
}

.country-flag img {
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.phone-input-wrapper.has-error {
    border-bottom-color: #e74c3c !important;
}

select.form-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
}

.title-selection {
    display: flex;
    gap: 30px;
    margin-bottom: 35px;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

.radio-label input,
.checkbox-label input {
    display: none;
}

.custom-checkbox {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border: 1px solid #ddd;
    display: inline-block;
    background: white;
    margin-top: 2px;
}

.custom-radio,
.custom-checkbox {
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

.custom-radio {
    border-radius: 50%;
}

.radio-label input:checked+.custom-radio {
    border-color: var(--black);
    background: var(--black);
    box-shadow: inset 0 0 0 4px var(--white);
}

.checkbox-label input:checked+.custom-checkbox {
    background: var(--black);
    border-color: var(--black);
}

.consent-box {
    margin-top: 30px;
}

.consent-box p {
    font-size: 12px;
    line-height: 1.5;
    color: #666;
}

.form-submit {
    margin-top: 50px;
    text-align: center;
}

.form-submit .btn-black {
    width: 100%;
    display: block;
    padding: 25px 0;

}

.title-selection {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.title-selection .sf-filter-choice {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 42px;
    gap: 13px;
    cursor: pointer;
    user-select: none;
}

.title-selection .sf-filter-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.title-selection .sf-filter-choice__mark {
    position: relative;
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    border: 1px solid rgba(18, 18, 18, 0.42);
    border-radius: 0;
    background: transparent;
    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.title-selection .sf-filter-choice input:checked+.sf-filter-choice__mark {
    border-color: #171717;
    background: #171717;
}

.title-selection .sf-filter-choice input:checked+.sf-filter-choice__mark::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 0;
    background: #fff;
}

.title-selection .sf-filter-choice input:focus-visible+.sf-filter-choice__mark {
    outline: 2px solid #171717;
    outline-offset: 3px;
}

.title-selection .sf-filter-choice__text {
    color: #282828;
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: 0.04em;
}

.partner-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.partner-submit-error {
    margin: 0 0 20px;
    font-size: 12px;
    line-height: 1.5;
    color: #b42318;
}

.partner-form .btn-black:disabled {
    opacity: 0.6;
    cursor: wait;
}

@media (min-width: 768px) {
    .form-row {
        flex-direction: row;
        gap: 40px;
    }

    .form-row .form-group {
        flex: 1;
    }

    .form-submit {
        text-align: left;
    }

    .form-submit .btn-black {
        width: auto;
        display: inline-block;
        padding: 18px 100px;
    }
}

@media (min-width: 1024px) {}


/* ==========================================================
   FORM SELECTS — IOS / SAFARI FIX
   ========================================================== */

select.form-input {
    -webkit-appearance: none;
    appearance: none;

    width: 100%;

    padding-right: 36px;

    border-radius: 0;

    background-color: transparent;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%23111' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: right 2px center;
    background-size: 12px 8px;

    font-family: var(--font-sans);
    font-weight: 400;

    color: var(--black);
    -webkit-text-fill-color: var(--black);

    outline: none;
    box-shadow: none;
}

select.form-input:focus {
    color: var(--black);
    -webkit-text-fill-color: var(--black);

    outline: none;
    box-shadow: none;
}


select.form-input:required:invalid {
    color: #999;
    -webkit-text-fill-color: #999;
}

select.form-input option {
    color: #111;
}


@media (max-width: 767px) {

    select.form-input {

        font-size: 16px;

        border-radius: 0;

        color: var(--black);
        -webkit-text-fill-color: var(--black);
    }
}