:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
}

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding-top: 80px;
}

.nav-pills .nav-link {
    border-radius: 10px;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
    background: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.schedule-table {
    font-size: 0.9rem;
}

.schedule-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.period-break {
    background-color: #fff3cd !important;
    font-style: italic;
}

.subject-badge {
    padding: 4px 8px;
    border-radius: 4px;
    color: white;
    font-size: 0.8rem;
}

/* Grid View Styles */
.grid-day {
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.grid-period {
    border-left: 4px solid;
    padding: 10px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 0 5px 5px 0;
}

/* Card View Styles */
.card-view .schedule-card {
    border: none;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.2s;
}

.card-view .schedule-card:hover {
    transform: translateY(-2px);
}

.card-view .period-time {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 70px;
    }
    
    .nav-pills .nav-link {
        margin: 2px 0;
        font-size: 0.9rem;
    }
    
    .schedule-table {
        font-size: 0.8rem;
    }
    
    .table-responsive {
        border: none;
    }
}

/* Loading Animation */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}