/* ============================================================
   MENU GESTION - NICC
   Plugin: nicclateral
   Version: Iconos PNG 3D profesionales
   ============================================================ */

.nicc-menu-gestion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 190px;
    min-width: 150px;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    box-sizing: border-box;
}

.nicc-menu-gestion .menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 18px;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(99, 102, 241, 0.1);
    box-shadow:
        0 4px 15px rgba(99, 102, 241, 0.08),
        0 2px 6px rgba(0, 0, 0, 0.03);
    text-decoration: none !important;
}

.nicc-menu-gestion .menu-item:hover {
    transform: translateX(8px);
    border-color: rgba(99, 102, 241, 0.25);
    background: linear-gradient(145deg, #f8faff, #f0f4ff);
    box-shadow:
        0 8px 30px rgba(99, 102, 241, 0.18),
        0 4px 12px rgba(0, 0, 0, 0.05);
}

.nicc-menu-gestion .item-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(145deg, #ffffff, #f0f4ff);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 4px 12px rgba(99, 102, 241, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px;
}

.nicc-menu-gestion .item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.nicc-menu-gestion .menu-item:hover .item-icon {
    transform: scale(1.08);
    box-shadow:
        0 6px 20px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.nicc-menu-gestion .menu-item:hover .item-icon img {
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.25));
    transform: scale(1.05);
}

.nicc-menu-gestion .item-text {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.92rem;
    flex: 1;
    line-height: 1.35;
}

.nicc-menu-gestion .item-arrow {
    color: #6366f1;
    font-weight: 600;
    font-size: 1.2rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.nicc-menu-gestion .menu-item:hover .item-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================================
   EMOJI FALLBACK (cuando no hay imagen PNG)
   ============================================================ */
.nicc-menu-gestion .emoji-icon {
    font-size: 2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 420px) {
    .nicc-menu-gestion {
        width: 100%;
        gap: 10px;
    }

    .nicc-menu-gestion .menu-item {
        padding: 12px 14px;
        gap: 12px;
    }

    .nicc-menu-gestion .item-icon {
        width: 48px;
        height: 48px;
        padding: 6px;
    }

    .nicc-menu-gestion .item-text {
        font-size: 0.85rem;
    }
}
