/* Blue Gradient Table Header Styles - School Management System */

/* Main blue gradient table header */
.table-header-blue {
    background: linear-gradient(135deg, #4c84ff 0%, #18bfff 100%) !important;
}

.table-header-blue th {
    color: white !important;
    font-weight: bold !important;
    padding: 1rem !important;
    border: 0 !important;
    font-size: 0.875rem !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

/* Modern table container */
.modern-table-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: white;
}

/* Table body styling */
.modern-table-body {
    background-color: #f8f9fa;
}

.modern-table-body tr {
    border-bottom: 1px solid #e5e7eb;
}

.modern-table-body td {
    padding: 1rem;
    color: #2d3748;
}

/* Empty state styling */
.table-empty-state {
    background: #f8f9fa;
    color: #6c757d;
    font-size: 1.1rem;
    padding: 3rem 1rem;
}

.table-empty-state i {
    font-size: 3rem;
    opacity: 0.5;
    margin-bottom: 1rem;
}

/* Status badges */
.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-badge.success {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.status-badge.warning {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.status-badge.danger {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

/* Action buttons */
.table-action-btn {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    margin: 0 0.25rem;
}

.table-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.table-action-btn.view {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    color: #3b82f6;
}

.table-action-btn.edit {
    background: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
    color: #22c55e;
}

.table-action-btn.delete {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
}

/* Responsive design */
@media (max-width: 768px) {
    .table-header-blue th {
        padding: 0.75rem 0.5rem !important;
        font-size: 0.75rem !important;
    }
    
    .modern-table-body td {
        padding: 0.75rem 0.5rem;
    }
    
    .table-action-btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
        margin: 0.125rem;
    }
}

/* Animation for smooth transitions */
.modern-table-container {
    transition: all 0.3s ease;
}

.modern-table-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}