/* Modernized custom dropdown — same markup/JS, refreshed styling */

.custom-dropdown {
    display: flex;
    width: 300px;
    max-width: 100%;
    flex-direction: column;
    font-weight: 600;
}

.custom-dropdown .options-container {
    background: #2C2A28;
    color: #ffffff;
    max-height: 0px;
    opacity: 0;
    width: 300px;
    max-width: 100%;
    transition: all 0.35s ease;
    border-radius: 14px;
    overflow: hidden;
    position: absolute;
    margin-top: 56px;
    z-index: 20;
    order: 1;
    box-shadow: 0 16px 48px rgba(44, 42, 40, 0.28);
}

.selected {
    background: linear-gradient(135deg, #C46B4C 0%, #A9542F 100%);
    color: #ffffff;
    border-radius: 12px;
    margin-bottom: 8px;
    position: relative;
    order: 0;
    box-shadow: 0 4px 14px rgba(169, 84, 47, 0.35);
    transition: transform 0.15s ease;
}

.selected:hover { transform: translateY(-1px); }

.selected::after {
    content: "";
    background: url("../assets/arrow-down.svg");
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0) invert(1);
    position: absolute;
    height: 100%;
    width: 28px;
    right: 12px;
    top: 4px;
    transition: all 0.35s ease;
}

.custom-dropdown .options-container.active {
    max-height: 250px;
    opacity: 1;
    overflow-y: auto;
}

.custom-dropdown .options-container.active + .selected::after {
    transform: rotateX(180deg);
    top: -4px;
}

.custom-dropdown .options-container::-webkit-scrollbar {
    width: 8px;
    background: #1d1b19;
    border-radius: 0 14px 14px 0;
}

.custom-dropdown .options-container::-webkit-scrollbar-thumb {
    background: rgba(196, 107, 76, 1);
    border-radius: 8px;
}

.custom-dropdown .option,
.selected {
    padding: 14px 22px;
    cursor: pointer;
}

.custom-dropdown .option {
    transition: background 0.15s ease;
}

.custom-dropdown .option:hover {
    background: rgba(196, 107, 76, 0.85);
}

.custom-dropdown .label { cursor: pointer; }

.custom-dropdown .option .radio { display: none; }
