/* Custom styles for University ERP System */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}

.btn {
    border-radius: 0.25rem;
    font-weight: 500;
}

.table {
    background-color: white;
}

.badge {
    padding: 0.5em 0.75em;
}

/* Dashboard cards */
.dashboard-card {
    border-left: 4px solid var(--primary-color);
}

/* Login page */
.login-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hover-scale-transition {
  display: inline-block;
  transition: all 0.2s ease;
}

.hover-scale-transition:hover {
  text-decoration-color: white !important;   /* or currentColor / #fff */
  transform: scale(1.05);
}

/* Footer */
footer {
    margin-top: auto;
}

/* Responsive tables */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.875rem;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Print styles */
@media print {
    .navbar, footer, .btn, .no-print {
        display: none !important;
    }

    .card {
        box-shadow: none;
        border: 1px solid #dee2e6;
    }
}