select:not(.bk-status),
.form-select:not(.bk-status) {
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%230c4f3e' d='M1.2.8 6 5.5 10.8.8 12 2 6 8 0 2z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 11px 8px !important;
    border: 1px solid rgba(12, 79, 62, 0.22);
    border-radius: 12px;
    min-height: 42px;
    padding: 8px 36px 8px 12px;
    color: #14202b;
    font-weight: 600;
    line-height: 1.3;
    box-shadow: 0 1px 2px rgba(20, 32, 43, 0.04);
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}

select:not(.bk-status):hover,
.form-select:not(.bk-status):hover {
    border-color: #c4a35a;
}

select:not(.bk-status):focus,
.form-select:not(.bk-status):focus {
    border-color: #0c4f3e;
    outline: none;
    box-shadow: 0 0 0 3px rgba(12, 79, 62, 0.14);
}

select:not(.bk-status):disabled,
.form-select:not(.bk-status):disabled {
    background-color: #f6f1e6;
    color: #6d746c;
    cursor: not-allowed;
}

select:not(.bk-status) option,
.form-select:not(.bk-status) option {
    background: #fff;
    color: #14202b;
    font-weight: 600;
}

select:not(.bk-status) option:checked,
.form-select:not(.bk-status) option:checked {
    background: #0c4f3e;
    color: #fff;
}

select[multiple]:not(.bk-status),
select[size]:not(.bk-status) {
    background-image: none;
    padding-right: 12px;
    height: auto;
}

[dir="rtl"] select:not(.bk-status),
[dir="rtl"] .form-select:not(.bk-status) {
    background-position: left 12px center;
    padding: 8px 12px 8px 36px;
}

.dropdown-menu {
    border: 1px solid rgba(12, 79, 62, 0.1);
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 16px 36px rgba(20, 32, 43, 0.12);
}

.dropdown-item {
    border-radius: 10px;
    padding: 8px 12px;
    font-weight: 600;
    color: #14202b;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
    background: #f6f1e6;
    color: #0c4f3e;
}

.nation-field {
    position: relative;
    width: 100%;
    min-width: 0;
}

.nation-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.nation-trigger {
    display: flex;
    align-items: center;
    width: 100%;
    height: 46px;
    min-height: 46px;
    margin: 0;
    padding: 0 36px 0 12px;
    border: 1px solid rgba(12, 79, 62, 0.22);
    border-radius: 12px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%230c4f3e' d='M1.2.8 6 5.5 10.8.8 12 2 6 8 0 2z'/%3E%3C/svg%3E") no-repeat right 12px center;
    background-size: 11px 8px;
    color: #14202b;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(20, 32, 43, 0.04);
}

.nation-trigger-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nation-trigger:hover,
.nation-trigger[aria-expanded="true"] {
    border-color: #c4a35a;
}

.nation-trigger:focus {
    outline: none;
    border-color: #0c4f3e;
    box-shadow: 0 0 0 3px rgba(12, 79, 62, 0.14);
}

.nation-menu {
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 0.45rem;
    overflow: hidden;
    background: #fffdf8;
    border: 1px solid rgba(12, 79, 62, 0.14);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(12, 79, 62, 0.18);
}

.nation-menu[hidden] {
    display: none !important;
}

.nation-search {
    flex: 0 0 auto;
    width: 100%;
    margin: 0 0 0.35rem;
    padding: 0.45rem 0.6rem;
    border: 1px solid rgba(12, 79, 62, 0.16);
    border-radius: 9px;
    background: #fff;
    color: #1c2430;
    font: inherit;
    font-size: 0.9rem;
    text-transform: none;
}

.nation-search:focus {
    outline: none;
    border-color: #0c4f3e;
    box-shadow: 0 0 0 3px rgba(12, 79, 62, 0.12);
}

.nation-list {
    min-height: 0;
    overflow-y: auto;
}

.nation-option {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0.48rem 0.6rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #14202b;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}

.nation-option.is-placeholder {
    color: #6d746c;
    font-weight: 600;
    cursor: default;
}

.nation-field.is-nationality .nation-trigger,
.nation-field.is-nationality .nation-option {
    text-transform: uppercase;
}

.nation-option:hover,
.nation-option:focus,
.nation-option.is-selected,
.nation-option.is-active {
    background: #f6f1e6;
    color: #0c4f3e;
    outline: none;
}

.nation-empty {
    margin: 0.35rem 0.4rem 0.5rem;
    color: #5c675f;
    font-size: 0.88rem;
}

[dir="rtl"] .nation-trigger {
    padding: 0 12px 0 36px;
    background-position: left 12px center;
    text-align: right;
}

[dir="rtl"] .nation-option {
    text-align: right;
}

/* Mobile — touch targets & iOS zoom prevention */
@media (max-width: 767.98px) {
    select:not(.bk-status),
    .form-select:not(.bk-status),
    .app-select:not(.bk-status) {
        min-height: 46px;
        font-size: 16px;
        padding: 10px 36px 10px 12px;
        border-radius: 12px;
    }

    .nation-trigger {
        height: 46px;
        min-height: 46px;
        font-size: 16px;
        padding: 0 36px 0 12px;
    }

    .nation-menu {
        max-height: min(55vh, 320px);
        background: #fffdf8;
    }

    .nation-search {
        min-height: 42px;
        font-size: 16px;
        padding: 0.55rem 0.7rem;
    }

    .nation-option {
        min-height: 44px;
        padding: 0.65rem 0.75rem;
        font-size: 0.95rem;
    }

    .dropdown-menu {
        max-width: calc(100vw - 20px);
    }

    .dropdown-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    [dir="rtl"] select:not(.bk-status),
    [dir="rtl"] .form-select:not(.bk-status) {
        padding: 10px 12px 10px 36px;
    }

    [dir="rtl"] .nation-trigger {
        padding: 0 12px 0 36px;
    }
}
