/* RebatesWidget custom dropdown styles (adapted from HomeLocatorWidget) */

.custom-select-container {
    width: 100%;
    position: relative;
    margin-bottom: 1rem;
}

.custom-select-trigger {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    font-size: 1rem;
    color: #1f2937;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: border-color 0.2s;
    position: relative;
    height: 2.5rem;
    --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
    --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.custom-select-trigger .icon-sm {
    margin-left: auto;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    position: absolute;
    right: 10px;
    top: 10px;
}

.custom-select-panel {
    display: none;
    position: absolute;
    left: 0;
    top: 110%;
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 10;
    max-height: 220px;
    overflow-y: auto;
    padding: 0.5rem 0;
}

.custom-select-panel.open {
    display: block;
}

.custom-select-option {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #1f2937;
    cursor: pointer;
    transition: background 0.2s;
}

.custom-select-option:hover,
.custom-select-option.selected {
    background: #f3f4f6;
}

.text-elipse {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: inline-block;
}