html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    background: #0f172a;
    color: #ffffff;
    margin-bottom: 60px;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem #ffffff,
                0 0 0 0.25rem #258cfb;
}

/* NAVIGATION */

.navbar {
    background: #1e293b;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    color: #60a5fa !important;
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-link {
    color: #e2e8f0 !important;
    transition: color .2s ease;
}

.nav-link:hover {
    color: #60a5fa !important;
}

/* CARDS */

.card-modern {
    background: rgba(30, 41, 59, .85);
    backdrop-filter: blur(18px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 8px 25px rgba(0,0,0,.30);
    color: white;
    transition: all .2s ease;
    min-height: 100%;
}

.card-modern:hover {
    transform: translateY(-2px);
}

.card-modern h5 {
    color: #94a3b8;
}

/* DASHBOARD */

h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #60a5fa;
}

/* FORMS */

.form-control,
.form-select,
textarea {
    background: #1e293b;
    border: 1px solid #334155;
    color: white;
}

.form-control:focus,
.form-select:focus,
textarea:focus {
    background: #1e293b;
    color: white;
    border-color: #60a5fa;
}

.form-control::placeholder,
textarea::placeholder {
    color: #94a3b8;
}

/* TABLES */

.table {
    color: white;
}

.table-dark {
    --bs-table-bg: transparent;
}

.table-dark td,
.table-dark th {
    border-color: #334155;
}

/* BADGES */

.badge {
    padding: 8px 12px;
    border-radius: 12px;
    font-size: .9rem;
}

/* FOOTER */

.footer {
    color: #60a5fa !important;
    font-weight: 700;
    font-size: 1.25rem;
}

.footer .container {
    color: inherit;
}

/* CHARTS */

#dailyChart,
#personChart {
    width: 100% !important;
    max-height: 350px !important;
}

/* RESPONSIVE */

@media (max-width: 768px) {

    h1 {
        font-size: 2rem;
    }

    .card-modern {
        padding: 1rem !important;
    }

    .table {
        font-size: 0.9rem;
    }
}