/* Custom select dropdown — replaces native <select> visuals */
.custom-select-wrap {
    position: relative;
    width: 100%;
}

.custom-select-wrap > select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 44px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #1f1f1f;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.custom-select-trigger:hover,
.custom-select-trigger:focus {
    border-color: #FF7854;
    outline: none;
}

.custom-select-wrap.is-open .custom-select-trigger {
    border-color: #FF7854;
}

.custom-select-text {
    flex: 1 1 auto;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-select-text.is-placeholder {
    color: #9a9a9a;
}

.custom-select-trigger > i {
    color: #1f1f1f;
    font-size: 12px;
    margin-left: 10px;
    transition: transform 0.2s ease;
    flex: 0 0 auto;
}

.custom-select-wrap.is-open .custom-select-trigger > i {
    transform: rotate(180deg);
}

.custom-select-menu {
    display: none;
    position: fixed;
    background: #fff;
    border: 1px solid #FF7854;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 1500;
    max-height: 280px;
    overflow-y: auto;
    padding: 4px 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 120, 84, 0.55) transparent;
}

.custom-select-menu::-webkit-scrollbar {
    width: 6px;
}

.custom-select-menu::-webkit-scrollbar-track {
    background: transparent;
    margin: 8px 0;
}

.custom-select-menu::-webkit-scrollbar-thumb {
    background-color: rgba(255, 120, 84, 0.55);
    border-radius: 999px;
}

.custom-select-menu::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 120, 84, 0.75);
}

.custom-select-wrap.is-open .custom-select-menu {
    display: block;
}

.custom-select-option {
    padding: 10px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #1f1f1f;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 120, 84, 0.12);
    user-select: none;
}

.custom-select-option:last-child {
    border-bottom: 0;
}

.custom-select-option:hover {
    background: #fff5f0;
    color: #FF7854;
}

.custom-select-option.is-selected {
    color: #FF7854;
    font-weight: 500;
}

.custom-select-option.is-disabled {
    color: #c0c0c0;
    cursor: not-allowed;
    pointer-events: none;
}
