/* CUSTOM SELECT */
.asari-select-hidden {
    display: none;
}

.asari-custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

.asari-custom-select {
    position: relative;
}

.asari-custom-select-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 50px;
    background-color: #FFF;
    border: 1px solid var(--re-color-border);
    border-radius: var(--asari-radius-input);
    padding: 0 15px;
    font-size: 14px;
    color: var(--re-color-text);
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
}

.asari-custom-select-trigger:hover {
    background-color: var(--re-color-surface);
    /* Utrzymujemy BIAŁE tło */
    border-color: var(--asari-primary-color);
    /* Niebieska ramka na hover */
}

.asari-arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--re-color-text);
    border-bottom: 2px solid var(--re-color-text);
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.3s;
    margin-left: 10px;
}

.asari-custom-select.open .asari-arrow {
    transform: rotate(225deg) translateY(-2px);
}

.asari-custom-options {
    position: absolute;
    display: block;
    top: 110%;
    left: 0;
    right: 0;
    background: var(--re-color-surface);
    border: 1px solid var(--re-color-border);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: var(--asari-radius-input);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    max-height: 260px;
    overflow-y: auto;
}

.asari-custom-select.open .asari-custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

.asari-custom-option {
    padding: 12px 15px;
    font-size: 14px;
    color: var(--re-color-text);
    cursor: pointer;
    border-bottom: 1px solid var(--re-color-surface-soft);
    transition: background 0.2s, color 0.2s;
}

.asari-custom-option:last-child {
    border-bottom: none;
}

.asari-custom-option:hover {
    background-color: var(--re-color-surface-soft);
    color: var(--re-color-text);
    font-weight: 500;
}

.asari-custom-option.selected {
    background-color: var(--re-color-surface-soft);
    font-weight: 600;
}