html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* =========================
   TEMA OSCURO - FISCALIA WEB
   ========================= */

/* Fondo general */
html, body {
    background-color: #121212;
    color: #e0e0e0;
    min-height: 100%;
}

/* Contenido principal */
body {
    background-color: #121212;
    color: #e0e0e0;
}

/* Navbar */
.navbar {
    background-color: #1e1e1e !important;
}

    .navbar-brand,
    .navbar .nav-link {
        color: #e0e0e0 !important;
    }

        .navbar .nav-link:hover,
        .navbar-brand:hover {
            color: #0d6efd !important;
        }

/* Contenedores y tarjetas */
.card {
    background-color: #1e1e1e;
    color: #e0e0e0;
    border: 1px solid #343434;
}

.container,
.container-fluid {
    color: #e0e0e0;
}

/* Tablas */
.table {
    color: #e0e0e0;
    border-color: #343434;
}

    .table thead th {
        background-color: #252525;
        color: #ffffff;
    }

    .table tbody td {
        background-color: #1e1e1e;
        color: #e0e0e0;
    }

.table-hover tbody tr:hover td {
    background-color: #2c2c2c;
    color: #ffffff;
}

/* Formularios */
.form-control,
.form-select {
    background-color: #252525;
    color: #e0e0e0;
    border: 1px solid #444;
}

    .form-control:focus,
    .form-select:focus {
        background-color: #252525;
        color: #ffffff;
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    }

    .form-control::placeholder {
        color: #999;
    }

/* Labels */
label,
.form-label {
    color: #e0e0e0;
}

/* Links */
a {
    color: #6ea8fe;
}

    a:hover {
        color: #9ec5fe;
    }

/* Footer */
footer {
    background-color: #1e1e1e;
    border-top: 1px solid #343434 !important;
    color: #999 !important;
}

    footer a {
        color: #6ea8fe;
    }

/* Textos de Bootstrap */
.text-dark {
    color: #e0e0e0 !important;
}

.text-muted {
    color: #aaa !important;
}

/* Botones link de navbar */
.navbar .btn-link {
    color: #e0e0e0 !important;
}

/* Alertas */
.alert {
    border: 1px solid #444;
}

/* Dropdowns */
.dropdown-menu {
    background-color: #252525;
    border: 1px solid #444;
}

.dropdown-item {
    color: #e0e0e0;
}

    .dropdown-item:hover {
        background-color: #343434;
        color: #ffffff;
    }