/* === ESTILOS GENERALES DE LOMAS360 === */
html, body {
  height: 100%;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 15px;
  background-color: #f8f9fa; /* Color de fondo general para páginas que no son de login */
}
.body2 {
  padding-top: 70px;
}
.body-content {
  padding-top: 120px;
}
@media (min-width: 992px) {
  .body-content {
    padding-top: 100px;
  }
}
.card {
  background-color: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
.logo {
  display: block;
  margin: 0 auto;
  max-height: 80px;
  max-width: 100%;
}
.color-360 {
    color: #750006;
}
.logo-img {
    max-height: 80px;
    width: auto;
}
.subtitle {
    font-size: 0.85rem;
    color: #6c757d;
}
.btn-custom-purple {
    color: #fff;
    background-color: #5F4B8B;
}
.btn-custom-purple:hover {
    color: #fff;
    background-color: #4B3C6A;
    border-color: #4B3C6A;
}
.swal2-html-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.4;
    text-align: left;
    max-width: 100%;
}
.estado-mensaje {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    border: 2px solid;
    font-weight: 600;
    font-size: 1.25rem;
    max-width: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    word-wrap: break-word;
}
.mensaje-adicional {
    margin-top: 1rem;
    font-weight: normal;
    font-size: 1rem;
    color: #555;
    text-align: left;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}


/* === ESTILOS PARA PÁGINAS DE LOGIN Y RESETEO === */

/* Estilo base para el fondo de pantalla. */
body#page-login {
    background-image: url('../img/fondo.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Capa oscura semi-transparente para mejorar el contraste */
body#page-login::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Contenedor que centra la tarjeta. */
.login-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Animación de entrada */
@keyframes fadeInSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Estilos para la tarjeta de login/reseteo */
.login-card {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    
    border: none;
    border-radius: 12px;
    padding: 2rem;
    width: 100%;
    max-width: 380px; /* Tarjeta más angosta */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);

    animation: fadeInSlideUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* --- Button Font Size Adjustments for a 'Delicate' Look --- */
/* For the "Iniciar Sesión" button */
.btn-primary.btn-lg.w-100 {
    font-size: 1.05rem;      /* Slightly smaller */
    padding: 0.6rem 1.25rem; /* Adjust padding to match new font size */
    font-weight: 400;       /* Lighter font weight (e.g., normal or semi-bold) */
    letter-spacing: 0.03em; /* Add a bit of space between letters */
}

/* For the "Protocolos de Emergencia" button */
.btn-danger.btn-lg.w-100 {
    font-size: 1.05rem;     /* Even smaller for a delicate feel */
    padding: 0.6rem 1.25rem;
    font-weight: 400;       /* Lighter font weight */
    letter-spacing: 0.02em; /* Subtle letter spacing */
}

/* Estilo para el botón de mostrar/ocultar contraseña */
.btn-show-pass {
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

/* === ESTILOS PERSONALIZADOS PARA LA BARRA DE NAVEGACIÓN === */

.navbar-lomas {
  background-color: #750006 !important; 
}

/* Para que los enlaces y el título se vean bien (blancos) sobre el fondo rojo */
.navbar-lomas .navbar-nav .nav-link,
.navbar-lomas .navbar-brand {
    color: #ffffff;
}

/* Asegura que el ícono del menú "hamburguesa" también sea visible */
.navbar-lomas .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-lomas .navbar-nav .nav-link:hover {
    color: #e0e0e0; /* Un gris claro al pasar el mouse */
}