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, body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    height: 100%;
    margin: 0;
}


.alinear-horizontal {
    display: flex;
    justify-content: center; /* centra horizontalmente */
    width: 100%;
    height: calc(100vh - 40px);
    max-height: calc(100vh - 40px);
}

.alinear-centro {
    display: flex;
    flex-direction: column;
    justify-content: center; /* centra verticalmente */
    min-height: calc(100vh - 40px); /* ocupa toda la altura de la pantalla */
}


.alinear-arriba {
    display: flex;
    margin-top: 20px;
    flex-direction: column;
    justify-content: flex-start; /* inicio vertical */
    min-height: calc(100vh - 60px); /* ocupa toda la altura de la pantalla */
}



.botonverde {
    width: 45%;
    padding: 10px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    background-color: forestgreen;
    color: white;
    cursor: pointer;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 12px;
}
    .botonverde:hover {
        background-color: forestgreen;
    }

.botonrojo {
    width: 45%;
    padding: 10px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    background-color: darkred;
    color: white;
    cursor: pointer;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 12px;
}

    .botonrojo:hover {
        background-color: darkred;
    }


input[type="text"], input[type="password"] {
    width: 90%;
    padding: 4px;
    margin: 4px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 12px;
}

    input[type="text"]:focus,
    input[type="password"]:focus {
        outline: none;
        border-color: rgba(255, 125, 0, 1); /*naranjo*/
        background-color: rgba(255, 255, 225, 0.9); /*amarillo*/
    }

table.table, table.table th, table.table td {
    font-size: 12px;
}