select.klic-phone-select option {
    background: #1a1a1a;
    color: #fff;
}

/**
 * Landcode-dropdown + nationaal telefoonveld als één veld (prefix lichte “card” + chevron).
 */
.klic-phone-row {
    display: block;
    width: 100%;
}

.klic-phone-unified {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.klic-phone-unified:focus-within {
    border-color: #ccff00;
    box-shadow: 0 0 0 1px rgba(204, 255, 0, 0.25);
}

.klic-phone-prefix {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    align-self: stretch;
    padding: 0 26px 0 14px;
    background: rgba(255, 255, 255, 0.04);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.klic-phone-chevron {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.38);
    pointer-events: none;
}

.klic-phone-chevron svg {
    display: block;
}

select.klic-phone-select {
    width: max-content;
    max-width: min(100%, 12rem);
    min-width: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    field-sizing: content;
    margin: 0;
    border: none;
    outline: none;
    background: transparent;
    box-shadow: none;
    color: inherit;
    font: inherit;
    line-height: 1.25;
    padding: 12px 6px 12px 2px;
}

.klic-phone-input-slot {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: stretch;
}

.klic-phone-input-slot input[type="tel"],
.klic-phone-input-slot input[type="text"] {
    flex: 1;
    width: 100%;
    min-width: 0;
    margin: 0;
    border: none;
    outline: none;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    font: inherit;
    color: inherit;
    box-sizing: border-box;
}

.klic-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Homepage contact: mailing-input borders uit binnen het gecombineerde veld */
#homepageContactForm .klic-phone-row .klic-phone-unified select.klic-phone-select.mailing-input,
#homepageContactForm .klic-phone-row .klic-phone-unified .klic-phone-input-slot .mailing-input {
    margin-bottom: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

#homepageContactForm .klic-phone-row .klic-phone-unified .klic-phone-input-slot .mailing-input {
    padding: 14px 16px 14px 14px;
}

#homepageContactForm .klic-phone-row .klic-phone-unified select.klic-phone-select.mailing-input {
    padding: 14px 4px 14px 6px;
}

#homepageContactForm .klic-phone-row .klic-phone-unified .mailing-input:focus {
    border: none;
    outline: none;
    background: transparent;
    box-shadow: none;
}

/* Join-uitnodiging */
.join-page .klic-phone-unified {
    border-color: #2a2a2a;
    background: rgba(15, 15, 15, 0.85);
}

.join-page .klic-phone-prefix {
    background: rgba(255, 255, 255, 0.06);
}

.join-page .klic-phone-unified:focus-within {
    border-color: #ccff00;
    box-shadow: none;
}

.join-page .klic-phone-unified select.klic-phone-select,
.join-page .klic-phone-unified .klic-phone-input-slot input[type="tel"] {
    color: #fff;
}

#add-member-modal .klic-phone-row {
    width: 100%;
}

#add-member-modal .klic-phone-unified {
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.32);
}

#add-member-modal .klic-phone-prefix {
    background: rgba(255, 255, 255, 0.06);
}

#add-member-modal .klic-phone-unified:focus-within {
    border-color: rgba(204, 255, 0, 0.35);
    box-shadow: 0 0 0 3px rgba(204, 255, 0, 0.1);
}

#add-member-modal .modal-body .klic-phone-unified select.form-input-chic,
#add-member-modal .modal-body .klic-phone-unified .klic-phone-input-slot input.form-input-chic {
    min-height: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

#add-member-modal .modal-body .klic-phone-unified select.form-input-chic:focus,
#add-member-modal .modal-body .klic-phone-unified .klic-phone-input-slot input.form-input-chic:focus {
    border: none !important;
    box-shadow: none !important;
}

/* Pro signup: ps-input dubbele rand verwijderen binnen gecombineerd veld */
#proSignupForm .klic-phone-unified {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.35);
    min-height: 48px;
}

#proSignupForm .klic-phone-prefix {
    background: rgba(255, 255, 255, 0.06);
}

#proSignupForm .klic-phone-unified:focus-within {
    border-color: rgba(204, 255, 0, 0.45);
    box-shadow: 0 0 0 3px rgba(204, 255, 0, 0.1);
}

#proSignupForm .klic-phone-unified select.klic-phone-select.ps-input,
#proSignupForm .klic-phone-unified .klic-phone-input-slot input.ps-input {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

#proSignupForm .klic-phone-unified select.klic-phone-select.ps-input {
    padding: 14px 6px 14px 14px;
}

#proSignupForm .klic-phone-unified .klic-phone-input-slot input.ps-input {
    padding: 14px 16px;
}

#proSignupForm .klic-phone-unified select.klic-phone-select.ps-input:focus,
#proSignupForm .klic-phone-unified .klic-phone-input-slot input.ps-input:focus {
    border: none !important;
    box-shadow: none !important;
}
