/* ===== MOBILE DROPDOWN MENU - COMÚN PARA TODAS LAS PÁGINAS ===== */
.page-mobile-dropdown-menu {
    display: none; /* Oculto por defecto, solo visible en móviles */
    position: relative;
    width: 100%;
    max-width: 358px;
    margin: 0 auto;
    z-index: 1000;
}

.page-mobile-dropdown-menu .dropdown-trigger {
    width: 100%;
    height: 33px;
    background: #E4BEDB 0% 0% no-repeat padding-box;
    border-radius: 6px;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.dropdown-text {
    color: #026751;
    font: normal normal bold 14px/16px 'Lato', sans-serif;
    font-weight: bold;
}

.dropdown-arrow {
    color: #026751;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.page-mobile-dropdown-menu .dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #E4BEDB;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 2px;
}

.page-mobile-dropdown-menu .dropdown-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.page-mobile-dropdown-menu .dropdown-item {
    padding: 12px;
    cursor: pointer;
    border-bottom: 1px solid rgba(2, 103, 81, 0.1);
    transition: background-color 0.2s ease;
}

.page-mobile-dropdown-menu .dropdown-item:last-child {
    border-bottom: none;
}

.page-mobile-dropdown-menu .dropdown-item:hover {
    background-color: rgba(2, 103, 81, 0.1);
}

.page-mobile-dropdown-menu .dropdown-item.active {
    background-color: rgba(2, 103, 81, 0.15);
}

.page-mobile-dropdown-menu .dropdown-item-text {
    color: #026751;
    font: normal normal normal 14px/16px 'Lato', sans-serif;
}

.page-mobile-dropdown-menu .dropdown-item.active .dropdown-item-text {
    font-weight: bold;
}

.page-mobile-dropdown-menu .dropdown-trigger.active .dropdown-arrow {
    transform: rotate(90deg);
}

/* Mostrar solo en móviles */
@media (max-width: 768px) {
    .page-mobile-dropdown-menu {
        display: block !important;
        position: sticky;
        top: 75px;
        z-index: 999;
        margin: 1rem auto;
        padding: 0 1rem;
        background: transparent;
        width: 100%;
        max-width: 358px;
    }
    
    /* Ocultar sidebar en móviles */
    .winners-sidebar-fixed {
        display: none !important;
    }
    
    /* Ajustar contenido para móviles sin sidebar */
    .page-layout-wrapper {
        margin-left: 0 !important;
    }
    
    .main-content-area {
        margin-left: 0 !important;
    }
    
    /* Ocultar header-line en móviles */
    .header-line {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .page-mobile-dropdown-menu {
        width: calc(100% - 2rem);
        max-width: 358px;
        margin: 0.75rem auto;
        padding: 0 0.75rem;
    }
    
    .page-mobile-dropdown-menu .dropdown-trigger {
        width: 100%;
    }
    
    .page-mobile-dropdown-menu .dropdown-content {
        left: 0.75rem !important;
        right: 0.75rem !important;
    }
}
