/**
 * Committee Functions Styling
 * 
 * @file public/css/modules/committee.css
 * @version 1.4.0
 * @updated Wednesday, October 01, 2025, 00:30 AEST
 */

/* Committee Page Wrapper - Allows footer below */
.committee-page-wrapper {
    min-height: auto;
    display: flex;
    flex-direction: column;
    margin-bottom: 60px;
}

/* Committee Menu Container - Narrower and Centered */
.main-menu-container.committee-container {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

/* Menu Header - Higher Contrast */
.committee-container .menu-header {
    background: linear-gradient(135deg, #b45309 0%, #92400e 100%);
    color: white;
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.committee-container .logo h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.committee-container .building-name {
    margin: 0.5rem 0 0 0;
    font-size: 1.1rem;
    opacity: 1;
    color: white;
    font-weight: 500;
}

.committee-container .user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.committee-container .user-name {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.committee-container .role-badge.committee {
    background: rgba(254, 243, 199, 0.95);
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(251, 191, 36, 0.8);
    color: #78350f;
}

/* Logout Button - Red Styling */
.committee-container .logout-btn {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-left: auto;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
}

.committee-container .logout-btn:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.4);
}

/* Menu Content - Centered with max height */
.committee-container .menu-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    flex: 0 1 auto;
}

.committee-container .menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 800px;
    width: 100%;
}

/* Menu Items - Smaller */
.committee-container .menu-item {
    background: white;
    border: 2px solid #fbbf24;
    border-radius: 10px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
    position: relative;
}

.committee-container .menu-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.25);
    border-color: #f59e0b;
}

.committee-container .menu-item.placeholder-item {
    opacity: 0.7;
    cursor: default;
    background: #fef3c7;
}

.committee-container .menu-item.placeholder-item:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.committee-container .menu-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.committee-container .menu-content-text h3 {
    color: #92400e;
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.committee-container .menu-content-text p {
    color: #78716c;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Coming Soon Badge */
.coming-soon-badge {
    display: inline-block;
    background: #f59e0b;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Responsive Design */
@media (max-width: 968px) {
    .committee-container .menu-grid {
        max-width: 600px;
    }
    
    .committee-container .menu-header {
        padding: 1rem 1.5rem;
    }
    
    .committee-container .logo h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 640px) {
    .committee-container .menu-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .committee-container .menu-content {
        padding: 1rem;
    }
    
    .committee-container .menu-item {
        padding: 1.25rem;
    }
    
    .committee-container .menu-icon {
        font-size: 2.5rem;
    }
    
    .committee-container .user-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .committee-container .logout-btn {
        margin-left: 0;
        width: 100%;
    }
}
