body.login-body {
    min-height: 50vh;
    margin: 0;
    background: linear-gradient(rgba(6, 22, 55, 0.88), rgba(6, 22, 55, 0.88)), url('/images/originalv.png') no-repeat center center;
    background-size: cover;
}

/* Wrapper */
.login-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Card elegante */
.login-card-custom {
    background: rgba(255, 255, 255, 0.97);
    padding: 40px;
    border-radius: 6px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.35);
    /* Animación */
    opacity: 0;
    transform: translateY(35px);
    animation: fadeSlideIn 0.8s ease-out forwards;
}

/* Animación */
@keyframes fadeSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Inputs más sobrios */
.form-control {
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: #0c2d5a;
        box-shadow: 0 0 0 0.15rem rgba(12, 45, 90, 0.25);
    }

/* Botón institucional */
.btn-login {
    background: #0c2d5a;
    color: white;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    transition: all 0.3s ease;
}

    .btn-login:hover {
        background: #081e3d;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }


/* Mobile */
@media (max-width: 991px) {
    .login-wrapper {
        display: flex;
        justify-content: center;
        padding: 25px;
    }

    .login-card-custom {
        max-width: 100%;
        padding: 30px;
    }
}

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;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* fondo oscuro */

    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* caja blanca */
.modal-loader {
    background: white;
    padding: 30px 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    min-width: 300px;
}

/* contenido */
.loader img {
    width: 150px;
}

.loader p {
    margin-top: 10px;
    font-size: 20px;
    color: #333;
    font-weight: 500;
}

.otp-container {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.otp-input {
    width: 45px;
    height: 55px;
    font-size: 22px;
    text-align: center;
    border: 2px solid #ccc;
    border-radius: 8px;
}

    .otp-input:focus {
        border-color: #0d6efd;
        outline: none;
        box-shadow: 0 0 5px rgba(13,110,253,.4);
    }