/* Dark mode custom styles */
body {
	background-color: #0f1720;
	color: #e6eef8;
	padding-bottom: 40px;
}

/* Navbar adjustments (Bootstrap navbar-dark bg-dark covers basics) */
.navbar-brand, .navbar-nav .nav-link { color: #d8eefe !important; }

/* Tables */
.table, table.table { background-color: transparent; color: #e6eef8; }
.table td, .table th, table.table td, table.table th { vertical-align: middle; color: #e6eef8; background-color: transparent !important; }
.table thead th, table.table thead th { background-color: #071026 !important; color: #cfeefe !important; border-bottom: 1px solid #1f2937; }
.table-striped tbody tr:nth-of-type(odd) { background-color: #071021 !important; }
.table-striped tbody tr:nth-of-type(even) { background-color: #0c1722 !important; }
.table { border-color: #18262f; }

/* Ensure Bootstrap's default .table styles don't force white backgrounds */
table.table thead, table.table tbody, table.table tfoot { background-color: transparent !important; }
table.table tbody tr, table.table tbody td { background-color: transparent !important; }

/* Bordered tables */
.table-bordered { border: 1px solid #22303b; }
.table-bordered th, .table-bordered td { border: 1px solid #22303b; }

/* Hover state */
.table-hover tbody tr:hover { background-color: #0e2430; }

/* Table responsive wrapper */
.table-responsive { background: transparent; }

/* Table caption and small text */
.table caption { color: #9fb3c6; }
.table-sm th, .table-sm td { padding: 0.4rem; }

/* Form inputs */
.form-control {
	background-color: #0b1420;
	color: #e6eef8;
	border: 1px solid #22303b;
}
.form-control:focus { background-color: #0b1420; color: #e6eef8; box-shadow: 0 0 0 0.2rem rgba(58,141,255,0.12); }
.form-control::placeholder { color: #6f8b99; }

/* Accessible focus for table rows when used as buttons/links */
tr:focus, tr:focus-within { outline: 2px solid rgba(124, 181, 255, 0.12); }

/* Links & thumbnails */
a { color: #7fc8ff; }
a:hover { color: #bfe9ff; }
.img-thumbnail { background-color: transparent; border: 1px solid #22303b; }

/* Light card backgrounds (e.g., index jumbotron) */
.bg-light {
	background-color: #071121 !important;
	color: #dfeefc !important;
}

