/* Dropdown Menu System */

.dropdown-container {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(45, 36, 22, 0.95);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 8px;
    color: #FFD700;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.dropdown-btn:hover {
    background: rgba(61, 50, 32, 0.95);
    border-color: rgba(255, 215, 0, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.dropdown-btn.active {
    background: rgba(61, 50, 32, 0.95);
    border-color: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.dropdown-icon {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.dropdown-btn.active .dropdown-icon {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    background: linear-gradient(135deg, #2c2416 0%, #3d3220 100%);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #FFD700;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: rgba(255, 215, 0, 0.15);
    padding-left: 20px;
}

.dropdown-item-icon {
    font-size: 14px;
    width: 20px;
    text-align: center;
}

/* Dropdown divider */
.dropdown-divider {
    height: 1px;
    background: rgba(255, 215, 0, 0.2);
    margin: 4px 0;
}

/* Quick Select Inline (no dropdown, direct select) */
.quick-select-inline {
    display: flex;
    align-items: center;
}

.quick-select-inline select {
    min-width: 220px;
    padding: 8px 12px;
    background: rgba(45, 36, 22, 0.95);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 8px;
    color: #FFD700;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.quick-select-inline select:hover {
    border-color: rgba(255, 215, 0, 0.6);
    background: rgba(61, 50, 32, 0.95);
    transform: translateY(-1px);
}

.quick-select-inline select:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

/* Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu.show {
    animation: slideDown 0.3s ease;
}
