/* Custom styles for BrainFit Dashboard */

/* Global text color */
body, 
.card, 
.table, 
.card-header, 
.card-body, 
.form-control, 
.form-label,
.table th,
.table td,
h1, h2, h3, h4, h5, h6,
p, span, div, a {
    color: white !important;
}

body {
    font-family: 'Calibre', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #121212;
}

/* Dashboard cards */
.card {
    background-color: #1e1e1e;
    border-color: #333;
}

.card-header {
    background-color: #252525;
    border-color: #333;
}

.card-stats {
    transition: all 0.3s ease;
}

.card-stats:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.card-stats .number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3b7ddd !important;
}

/* Tables */
.table {
    color: white !important;
}

.table th,
.table td {
    color: white !important;
    border-color: #444 !important;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.05);
}

.table-hover tbody tr:hover {
    background-color: rgba(59, 125, 221, 0.1);
}

/* Form elements */
.form-control {
    background-color: #333;
    border-color: #444;
    color: white !important;
}

.form-control:focus {
    border-color: #3b7ddd;
    box-shadow: 0 0 0 0.25rem rgba(59, 125, 221, 0.25);
    background-color: #444;
    color: white !important;
}

.form-label {
    color: white !important;
}

/* Pagination */
.page-item.active .page-link {
    background-color: #3b7ddd;
    border-color: #3b7ddd;
}

.page-link {
    background-color: #333;
    border-color: #444;
    color: white !important;
}

.page-link:hover {
    background-color: #444;
    border-color: #555;
    color: white !important;
}

/* Sidebar */
.sidebar {
    background-color: #222e3c;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.75) !important;
}

.sidebar .nav-link:hover {
    color: rgba(255, 255, 255, 1) !important;
}

.sidebar .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: white !important;
}

/* Buttons */
.btn-primary {
    background-color: #3b7ddd;
    border-color: #3b7ddd;
}

.btn-primary:hover {
    background-color: #2d62b5;
    border-color: #2d62b5;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-info {
    color: white !important;
}

/* Filter form */
.filter-form {
    background-color: #252525;
}

/* Override Bootstrap table styles */
.table-striped>tbody>tr:nth-of-type(odd)>* {
    color: white !important;
}

.table-striped>tbody>tr:nth-of-type(even)>* {
    color: white !important;
}

/* Fix for view buttons */
.btn-info {
    background-color: #17a2b8 !important;
    border-color: #17a2b8 !important;
} 