/* Taraba e-Result - Main Styles */

:root {
    --primary-color: #000080;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #000000;
    --navy-blue: #000080;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
}

.main-content {
    min-height: calc(100vh - 200px);
    padding: 20px 0;
}

/* Navbar */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

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

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

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

.table thead th {
    border-bottom: 2px solid var(--primary-color);
}

/* Forms */
.form-control, .form-select {
    border-radius: 6px;
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
}

/* Buttons */
.btn {
    border-radius: 6px;
    font-weight: 500;
}

/* Badge */
.badge {
    padding: 0.5em 0.8em;
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: var(--navy-blue);
    color: white;
    padding: 20px 0;
    margin-top: 40px;
}

/* Auth Pages */
.auth-body {
    background: linear-gradient(135deg, #000080 0%, #000033 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

.auth-card {
    width: 100%;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--secondary-color);
    font-size: 1rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #000033 100%);
    color: white;
    padding: 80px 0;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-section h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

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

/* Alert */
.alert {
    border-radius: 8px;
    border: none;
}

/* DataTables */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section h2 {
        font-size: 1.2rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
}

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

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}
