/* Functional CSS - Form over Function */
/* Clean, accessible, fast-loading styles focused on usability */

/* Typography - Clean and readable */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    color: #212529;
    background-color: #ffffff;
}

/* Remove all gradients and fancy effects */
.navbar {
    background-color: #ffffff !important;
    border-bottom: 1px solid #dee2e6;
    box-shadow: none;
}

.navbar-brand {
    color: #212529 !important;
    font-weight: 600;
}

/* Clean navigation links */
.nav-link {
    color: #495057 !important;
    font-weight: 400;
    padding: 0.5rem 1rem;
}

.nav-link:hover {
    color: #0d6efd !important;
    background-color: transparent;
}

.nav-link.active {
    color: #0d6efd !important;
    font-weight: 500;
}

/* Remove all creative/fancy dropdown styling */
.dropdown-menu {
    border: 1px solid #dee2e6;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 0.375rem;
}

.dropdown-item {
    color: #212529;
    padding: 0.5rem 1rem;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #212529;
}

/* Clean buttons - no gradients */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd;
}

.btn-outline-primary:hover {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #ffffff;
}

/* Form elements - clean and functional */
.form-control {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
}

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

/* Cards - minimal styling */
.card {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    box-shadow: none;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    font-weight: 500;
}

/* Tables - clean and readable */
.table {
    margin-bottom: 0;
}

.table th {
    border-top: none;
    font-weight: 500;
    color: #495057;
}

/* Alerts - standard Bootstrap colors */
.alert {
    border-radius: 0.375rem;
}

/* Remove all animations and transitions for performance */
* {
    transition: none !important;
    animation: none !important;
}

/* Focus states for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

/* High contrast for better readability */
.text-muted {
    color: #6c757d !important;
}

/* Clean spacing */
.container {
    max-width: 1200px;
}

/* Remove all fancy hover effects */
.nav-item:hover,
.dropdown:hover {
    background-color: transparent;
}

/* Minimal modal styling */
.modal-content {
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
}

/* Clean pagination */
.pagination .page-link {
    color: #0d6efd;
    border: 1px solid #dee2e6;
}

.pagination .page-link:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Remove all unnecessary visual flourishes */
.badge {
    font-weight: 400;
}

/* Fast loading - no web fonts, minimal CSS */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #212529;
}

/* Ensure good contrast ratios */
.bg-primary {
    background-color: #0d6efd !important;
}

.text-primary {
    color: #0d6efd !important;
}

/* Remove all creative/fancy classes */
.creative-navbar,
.creative-brand,
.creative-dropdown {
    /* Reset to default Bootstrap styles */
    background: none;
    color: inherit;
    border: none;
    box-shadow: none;
}

/* Performance optimization - disable unnecessary reflows */
.navbar-nav {
    flex-direction: row;
}

@media (max-width: 991.98px) {
    .navbar-nav {
        flex-direction: column;
    }
}

/* Clean responsive design */
@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .btn {
        font-size: 0.875rem;
    }
}