:root {
    --primary: #0d6efd;
    --secondary: #6c757d;
    --success: #198754;
    --info: #0dcaf0;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #212529;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fb;
    position: relative;
    min-height: 100vh;
}

.watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.02;
    font-size: 20rem;
    z-index: -1;
    pointer-events: none;
}

.watermark::after {
    content: "EduPay";
    font-weight: bold;
    color: var(--primary);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.stat-card {
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.table th {
    border-top: none;
    font-weight: 600;
    color: var(--secondary);
}

.card {
    border: none;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    margin-bottom: 1.5rem;
}

.card-header {
    border-bottom: 1px solid #e3e6f0;
}

.btn {
    border-radius: 0.35rem;
}

.toast {
    opacity: 1 !important;
}

.badge {
    font-size: 0.75em;
}

#studentsTable tbody tr {
    cursor: pointer;
}

#studentsTable tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

.form-control:focus,
.form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.section-title {
    border-left: 4px solid var(--primary);
    padding-left: 10px;
}

.currency-symbol {
    font-weight: bold;
    color: var(--primary);
}

/* Custom checkbox */
.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Loading spinner */
.spinner-border {
    width: 1.5rem;
    height: 1.5rem;
}

/* Print styles for reports */
@media print {
    .navbar,
    .btn,
    .modal,
    .toast-container {
        display: none !important;
    }
    
    .card {
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    body {
        background-color: white;
    }
    
    .watermark {
        display: none;
    }
}