﻿/* select.css - Versión definitiva para todos los custom-select */
.custom-select-container {
    position: relative;
    width: 100%;
    height: 38px;
    z-index: 2000; /* Siempre por encima de modales u otras capas */
}

.custom-select-trigger {
    width: 100%;
    height: 38px;
    padding: 10px 8px;
    border: 2px solid #091828;
    border-radius: 8px;
    background-color: #F2F2F2;
    color: #333;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    cursor: pointer;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: border-color 0.3s ease;
}

    .custom-select-trigger:hover {
        border-color: #CDA434;
    }

    .custom-select-trigger .arrow {
        font-size: 12px;
        transition: transform 0.3s ease;
    }

.custom-select-container.open .custom-select-trigger .arrow {
    transform: rotate(180deg);
}

.custom-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 2001; /* Un punto por encima del container */
    display: none;
    list-style: none;
    padding: 0;
    animation: fadeIn 0.3s ease;
}

.custom-select-container.open .custom-select-options {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-select-options li {
    padding: 10px 15px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .custom-select-options li:hover {
        background-color: #f5f5f5;
        color: #CDA434;
    }

    .custom-select-options li.selected {
        font-weight: 500;
        background-color: #e8f0fe;
        color: #091828;
    }

#accion-container {
}

#acciones-trigger {
    border-radius: 8px;
    color: #CDA434;
    background-color: #F2F2F2;
    border: 2px solid #CDA434;
}

    #acciones-trigger:hover {
        color: #F2F2F2;
        background-color: #CDA434;
    }
