/* ============================================================================
 * CONTEXT MENU STYLES
 * ============================================================================
 * Purpose: Shared styles for team, tournament, and league context menus
 * Created: October 27, 2025
 * ============================================================================ */

/* Base context menu styles */
.context-menu {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 0;
    min-width: 280px;
    max-height: 600px;
    overflow-y: auto;
}

/* Menu sections */
.context-menu .menu-section {
    border-bottom: 1px solid #e9ecef;
    padding: 0;
}

.context-menu .menu-section:last-child {
    border-bottom: none;
}

/* Section headers */
.context-menu .section-header {
    padding: 12px 16px;
    font-weight: 600;
    font-size: 13px;
    color: #495057;
    background: #f8f9fa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.context-menu .section-header i {
    font-size: 14px;
}

/* Menu links */
.context-menu .menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: #212529;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    border-left: 3px solid transparent;
}

.context-menu .menu-link:hover {
    background: #f8f9fa;
    border-left-color: currentColor;
    padding-left: 20px;
}

.context-menu .menu-link i {
    width: 18px;
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}

.context-menu .menu-link.text-danger {
    color: #dc3545;
}

.context-menu .menu-link.text-danger:hover {
    background: #fff5f5;
    border-left-color: #dc3545;
}

/* Team Menu - Green Gradient */
.team-menu .section-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.team-menu .menu-link:hover {
    border-left-color: #28a745;
}

/* Tournament Menu - Purple Gradient */
.tournament-menu .section-header {
    background: linear-gradient(135deg, #6f42c1 0%, #9b51e0 100%);
    color: white;
}

.tournament-menu .menu-link:hover {
    border-left-color: #6f42c1;
}

/* League Menu - Orange Gradient */
.league-menu .section-header {
    background: linear-gradient(135deg, #fd7e14 0%, #ff9800 100%);
    color: white;
}

.league-menu .menu-link:hover {
    border-left-color: #fd7e14;
}

/* Mobile responsive */
@media (max-width: 767px) {
    .context-menu {
        min-width: 100%;
        max-height: none;
        border-radius: 0;
    }
}

/* Scrollbar styling */
.context-menu::-webkit-scrollbar {
    width: 8px;
}

.context-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.context-menu::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.context-menu::-webkit-scrollbar-thumb:hover {
    background: #555;
}
