/* CAPE Reporter Dashboard - Custom Styles */

:root {
    --primary-color: #007bff;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --success-color: #28a745;
    --dark-color: #343a40;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Navbar */
.navbar-brand {
    font-weight: 600;
    font-size: 1.3rem;
}

/* Cards */
.card {
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.card-header {
    font-weight: 600;
}

/* Statistics Cards */
.card h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* Table Styling */
.table {
    margin-bottom: 0;
}

.table thead th {
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

.table-sm td {
    padding: 0.5rem;
}

/* Status Badges */
.badge {
    padding: 0.35em 0.65em;
    font-weight: 600;
}

/* Login Page */
.card-header h4 {
    font-weight: 600;
}

/* Footer */
footer {
    margin-top: auto;
    border-top: 1px solid #dee2e6;
}

/* Responsive */
@media (max-width: 768px) {
    .card h2 {
        font-size: 2rem;
    }

    .table {
        font-size: 0.8rem;
    }
}

/* Scrollbar Styling */
.table-responsive::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #555;
}
