body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--body-bg);
}

/* Colleges Page Styling */

/* Card Styling */
.card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
}

.card-title {
    margin-bottom: 0;
    color: #2c3e50;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

/* Table Styling */
.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    vertical-align: middle;
}

.table th {
    font-weight: 600;
    background-color: #f8f9fa;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

/* Button Styling */
.btn-primary {
    background-color: #4e73df;
    border-color: #4e73df;
}

.btn-primary:hover {
    background-color: #2e59d9;
    border-color: #2653d4;
}

.btn-info {
    background-color: #36b9cc;
    border-color: #36b9cc;
    color: #fff;
}

.btn-info:hover {
    background-color: #2ca8bb;
    border-color: #2a96a5;
    color: #fff;
}

.btn-danger {
    background-color: #e74a3b;
    border-color: #e74a3b;
}

.btn-danger:hover {
    background-color: #e02d1b;
    border-color: #d52a1a;
}

.btn-secondary {
    background-color: #858796;
    border-color: #858796;
}

.btn-secondary:hover {
    background-color: #717384;
    border-color: #6b6d7d;
}

/* Form Control Styling */
.form-label {
    font-weight: 500;
    color: #2c3e50;
}

.form-control, .form-select {
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
    padding: 0.5rem 0.75rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus, .form-select:focus {
    border-color: #bac8f3;
    box-shadow: 0 0 0 0.25rem rgba(78, 115, 223, 0.25);
}

/* Pagination Styling */
.pagination {
    margin-bottom: 0;
}

.page-link {
    color: #4e73df;
}

.page-item.active .page-link {
    background-color: #4e73df;
    border-color: #4e73df;
}

.page-link:hover {
    color: #2e59d9;
}

/* Modal Header */
.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    color: #2c3e50;
    font-weight: 600;
}

.modal-title {
    color: #2c3e50;
    font-weight: 600;
}

/* Input Group Styling */
.input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
}

/* Badge Styling */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

/* Progress Indicator Styling */
.progress-container {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.step-indicator {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.step-indicator.active {
    background-color: #3b82f6;
    color: white;
}

.step-indicator.completed {
    background-color: #10b981;
    color: white;
}

.progress-line {
    flex-grow: 1;
    height: 3px;
    background-color: #e9ecef;
    margin: 0 5px;
    position: relative;
    z-index: 0;
}

.step-indicator.completed + .progress-line {
    background-color: #10b981;
}
/* Responsive Adjustments */
@media (max-width: 768px) {
    .table-responsive {
        overflow-x: auto;
    }
    
    .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }
    .card-body {
        padding: 1rem;
    }
    
    .table {
        font-size: 0.9rem;
    }
    
    .btn-sm {
        padding: 0.25rem 0.4rem;
        font-size: 0.75rem;
    }    
}

/* Custom Sidebar Styling for Colleges Page Only */
#sidebar {
    background: #4e73df !important;
    background: linear-gradient(180deg, #6adddf 10%, #bebf88 100%) !important;
    color: #fff !important;
}

#sidebar .sidebar-header {
    background: rgba(0, 0, 0, 0.05) !important;
}

#sidebar ul li a {
    color: #000000 !important;
}

#sidebar ul li a:hover,
#sidebar ul li.active > a {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

#sidebar .logo {
    color: #000000 !important;
}
/* Search bar styling */
#searchName, #searchGrade, #searchStatus {
    height: 38px;
}

/* Badge styling */
.badge {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
}

.badge.bg-success {
    background-color: #1cc88a !important;
}

.badge.bg-warning {
    background-color: #f6c23e !important;
}

/* Academic Summary Cards */
.summary-card {
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.summary-card.performance {
    background: linear-gradient(45deg, #1e88e5, #42a5f5);
}

.summary-card.attendance {
    background: linear-gradient(45deg, #43a047, #66bb6a);
}

.summary-card.exam {
    background: linear-gradient(45deg, #8e24aa, #ab47bc);
}

.summary-card .card-value {
    font-size: 2rem;
    font-weight: 700;
}

.summary-card .card-title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.navbar-brand {
    color: #26b9aa !important;
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-brand i {
    animation: pulse 2s infinite;
}