/* Study Materials Semester Page Styles */

.bg-gradient-semester {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.bg-gradient-subject {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.bg-light-gradient {
    background: linear-gradient(135deg, #f5f7fa 0%, #f1f5f9 100%);
}

/* Stat Items */
.stat-item {
    padding: 1.25rem;
}

/* Study Cards */
.study-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.study-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(79, 172, 254, 0.2);
    border-color: #4facfe;
}

.card-header-custom {
    padding: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-stats {
    display: flex;
    gap: 12px;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.stat-value {
    font-weight: bold;
    color: #667eea;
    font-size: 1.1rem;
}

.stat-label {
    color: #6c757d;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Material Type Cards */
.material-type-card {
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.material-type-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.material-icon {
    font-size: 2.5rem;
}

.material-type-card h5 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Section Styles */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-header {
    border-bottom: 3px solid #667eea;
    padding-bottom: 1.5rem;
}

/* Alert Icon */
.alert-icon {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-left: 4px solid #667eea;
    border-radius: 8px;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }

    .card-stats {
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .study-card,
    .animate-fade-in,
    .material-type-card {
        animation: none !important;
        transition: none !important;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
