.odak-select-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
}

.odak-select-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.odak-select-button {
    display: flex;
    box-sizing: border-box;
    height: 46px;
    min-height: 46px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    padding: 10px 14px 10px 16px;
    color: #111827;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    outline: none;
    transition: border-color .18s, background-color .18s, color .18s;
}

.odak-select-button:hover,
.odak-select-button:focus-visible,
.odak-select-button.is-open {
    border-color: #9ca3af;
    background: #ffffff;
}

.odak-select-button.is-disabled {
    cursor: not-allowed;
    opacity: .55;
}

.odak-select-label {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.odak-select-chevron {
    flex-shrink: 0;
    color: #6b7280;
    font-size: 13px;
    transition: transform .18s, color .18s;
}

.odak-select-button.is-open .odak-select-chevron {
    transform: rotate(180deg);
    color: #111827;
}

.odak-select-menu {
    position: fixed;
    z-index: 10000;
    max-height: min(280px, calc(100vh - 32px));
    overflow: auto;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,.14);
    background: #ffffff;
    color: #111827;
    padding: 6px;
    -webkit-text-fill-color: #111827;
}

.odak-select-option {
    display: flex;
    min-height: 40px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    padding: 9px 10px;
    color: #111827;
    -webkit-text-fill-color: #111827;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    outline: none;
    transition: background-color .14s, color .14s;
}

.odak-select-option-label {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.odak-select-option:hover,
.odak-select-option:focus-visible {
    background: #f3f4f6;
}

.odak-select-option.is-selected {
    background: #1d1d1f;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

.odak-select-option.is-disabled {
    cursor: not-allowed;
    opacity: .45;
}

.odak-select-option .bi {
    flex-shrink: 0;
    opacity: 0;
    font-size: 13px;
}

.odak-select-option.is-selected .bi {
    opacity: 1;
}

.odak-select-menu,
.odak-select-menu * {
    text-shadow: none !important;
    filter: none !important;
}

.odak-select-menu .odak-select-option,
.odak-select-menu .odak-select-option-label {
    opacity: 1 !important;
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
}

.odak-select-menu .odak-select-option.is-selected,
.odak-select-menu .odak-select-option.is-selected .odak-select-option-label {
    opacity: 1 !important;
    background: #1d1d1f !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.odak-select-menu .odak-select-option.is-disabled,
.odak-select-menu .odak-select-option.is-disabled .odak-select-option-label {
    opacity: 1 !important;
    color: #6b7280 !important;
    -webkit-text-fill-color: #6b7280 !important;
}

.odak-select-menu .odak-select-option .bi {
    opacity: 0 !important;
}

.odak-select-menu .odak-select-option.is-selected .bi {
    opacity: 1 !important;
}

.dark .odak-select-button,
body.dark .odak-select-button {
    border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.05);
    color: #ffffff;
}

.dark .odak-select-button:hover,
.dark .odak-select-button:focus-visible,
.dark .odak-select-button.is-open,
body.dark .odak-select-button:hover,
body.dark .odak-select-button:focus-visible,
body.dark .odak-select-button.is-open {
    border-color: rgba(255,255,255,.28);
    background: rgba(255,255,255,.08);
}

.dark .odak-select-chevron,
body.dark .odak-select-chevron {
    color: #d1d5db;
}

.dark .odak-select-button.is-open .odak-select-chevron,
body.dark .odak-select-button.is-open .odak-select-chevron {
    color: #ffffff;
}

.dark .odak-select-menu,
body.dark .odak-select-menu {
    border-color: rgba(255,255,255,.14);
    background: #0d0d0d;
    color: #f9fafb;
    -webkit-text-fill-color: #f9fafb;
}

.dark .odak-select-option,
body.dark .odak-select-option {
    color: #f9fafb;
    -webkit-text-fill-color: #f9fafb;
}

.dark .odak-select-option:hover,
.dark .odak-select-option:focus-visible,
body.dark .odak-select-option:hover,
body.dark .odak-select-option:focus-visible {
    background: rgba(255,255,255,.08);
}

.dark .odak-select-option.is-selected,
body.dark .odak-select-option.is-selected {
    background: #ffffff;
    color: #000000;
    -webkit-text-fill-color: #000000;
}

body.light .odak-select-button {
    border-color: rgba(0,0,0,.16);
    background: #ffffff;
    color: #111827;
}

body.light .odak-select-button:hover,
body.light .odak-select-button:focus-visible,
body.light .odak-select-button.is-open {
    border-color: rgba(0,0,0,.34);
    background: #ffffff;
}

body.light .odak-select-menu {
    border-color: rgba(0,0,0,.14);
    background: #ffffff;
    color: #111827;
    -webkit-text-fill-color: #111827;
}

body.light .odak-select-option {
    color: #111827 !important;
    -webkit-text-fill-color: #111827;
}

body.light .odak-select-option.is-selected {
    background: #1d1d1f;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
}

/* Select ile aynı satırdaki aksiyon butonları dikeyde tam ortalı kalsın. */
.flex:has(.odak-select-wrap) > .admin-btn,
.flex:has(.odak-select-wrap) > .admin-btn-primary,
.flex:has(.odak-select-wrap) > button:not(.odak-select-button):not(.odak-select-option),
.flex:has(select.admin-input) > .admin-btn,
.flex:has(select.admin-input) > .admin-btn-primary,
.flex:has(select.admin-input) > button:not(.odak-select-button):not(.odak-select-option) {
    min-height: 46px;
    align-self: flex-end;
}

.flex:has(.odak-select-wrap) > .admin-icon-btn,
.flex:has(select.admin-input) > .admin-icon-btn {
    min-height: 46px;
    height: 46px;
    width: 46px;
    min-width: 46px;
    align-self: flex-end;
}

.grid:has(.odak-select-wrap) > .admin-btn,
.grid:has(.odak-select-wrap) > .admin-btn-primary,
.grid:has(select.admin-input) > .admin-btn,
.grid:has(select.admin-input) > .admin-btn-primary {
    min-height: 46px;
    align-self: flex-end;
}
