/* 
 * Custom CSS for Course & Student Evaluation System
 */

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

.container {
    max-width: 1200px;
}

/* Header & Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
}

/* Cards */
.card {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border: none;
}

.card-header {
    border-radius: 8px 8px 0 0 !important;
    font-weight: 600;
}

/* Dashboard Cards */
.card-body .display-4 {
    font-weight: 600;
    font-size: 2.5rem;
}

/* Forms */
.form-control {
    border-radius: 6px;
    padding: 10px 15px;
    border: 1px solid #ced4da;
}

.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn {
    border-radius: 6px;
    padding: 8px 20px;
    font-weight: 500;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Evaluation Forms */
.rating-container {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
}

.rating-option {
    text-align: center;
    cursor: pointer;
}

.rating-option input[type="radio"] {
    display: none;
}

.rating-option label {
    display: block;
    padding: 10px;
    border-radius: 4px;
    transition: all 0.3s;
}

.rating-option input[type="radio"]:checked + label {
    background-color: #0d6efd;
    color: white;
}

/* Tables */
.table {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.table th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

/* Footer */
footer {
    margin-top: 50px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .card-body .display-4 {
        font-size: 2rem;
    }
    
    .rating-container {
        flex-direction: column;
    }
    
    .rating-option {
        margin-bottom: 10px;
    }
}

/* Animation Effects */
.card, .btn {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Custom Classes */
.text-muted {
    color: #6c757d !important;
}

.bg-light-gray {
    background-color: #f8f9fa;
}

.rounded-custom {
    border-radius: 15px;
}

/* Print Styles */
@media print {
    .no-print {
        display: none;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
    
    body {
        font-size: 12pt;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
