/* 🌐=============================
   GLOBAL & TIPOGRAFÍA
=============================== */
body {
  background-color: #f8f9fa;
  font-family: 'Segoe UI', sans-serif;
}

.container {
  text-align: center;
  padding-top: 60px;
}

.input-mayusculas {
  text-transform: uppercase;
}

/* 🔗=============================
   LOGOS Y ENCABEZADO
=============================== */
.logos img {
  height: 80px;
  margin: 0 10px;
}

.titulo-sistema {
  font-size: 2rem;
  font-weight: bold;
  margin-top: 20px;
}

.descripcion {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* 🧱=============================
   MODALES
=============================== */
.modal-content {
  border-radius: 1rem;
  border: none;
}

.modal-header {
  border-bottom: none;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.modal-header.bg-primary {
  background-color: #007bff !important;
  color: white;
}

/* 🧾=============================
   TARJETAS DE CUENTA
=============================== */
.cuenta-card {
  background-color: #fdfdfd;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.cuenta-card strong {
  color: #333;
}

.cuenta-card button {
  margin-right: 10px;
  padding: 6px 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

/* 🟢 ESTADO VISUAL DE CUENTAS */
.estado-recibida {
  border-left: 8px solid #FFC107;
  background-color: #e6f7ff;
}

.estado-firmada {
  border-left: 8px solid #28A745;
  background-color: #fffbe6;
}

.estado-entregada {
  border-left: 8px solid #007BFF;
  background-color: #e6ffe6;
}

.estado-devuelta {
  border-left: 8px solid #DC3545;
  background-color: #ffe6e6;
}

.estado-otro {
  border-left: 8px solid #6C757D;
  background-color: #f0f0f0;
}

/* 🪪=============================
   BOTONES DE ACCIÓN
=============================== */
.btnEditar {
  background-color: #007bff;
  color: white;
}

.btnEliminar {
  background-color: #dc3545;
  color: white;
}

.btnEditarCuenta {
  background-color: #ffc107;
  border: 2px solid #e0a800;
  color: #212529;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  transition: all 0.3s ease-in-out;
  box-shadow: none;
}

.btnEditarCuenta i {
  color: inherit;
}

/* 📑=============================
   HISTORIAL DE CUENTAS
=============================== */
#historialCuentas h5 {
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 15px;
}

#historialCuentas table {
  width: 100%;
  border-collapse: collapse;
}

#historialCuentas th {
  background-color: #007bff;
  color: white;
  text-align: center;
  padding: 10px;
}

#historialCuentas td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

#historialCuentas tr:nth-child(even) {
  background-color: #f8f9fa;
}

#historialCuentas tr:hover {
  background-color: #e2e6ea;
}

/* 📦=============================
   LISTAS DINÁMICAS / BADGES
=============================== */
.list-group-item {
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.list-group-item:hover {
  background-color: #f8f9fa;
  transform: scale(1.02);
}

.badge.bg-primary {
  background-color: #007bff;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 5px;
}

body {
  background: linear-gradient(135deg, #f0f2f5, #d9e4f5);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Segoe UI', sans-serif;
}

.login-container {
  background: #fff;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 100%;
  max-width: 600px;
}

.logos img {
  margin: 0 1rem;
}

.btn-primary {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  border-radius: 2rem;
}

.modal.fade .modal-dialog {
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.4s ease;
}
.modal.fade.show .modal-dialog {
  transform: translateY(0);
  opacity: 1;
}

.modal-content input.form-control {
  border: 1px solid #ced4da;
  border-radius: 6px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
  background-color: #fdfdfd;
  transition: box-shadow 0.3s;
}
.modal-content input.form-control:focus {
  box-shadow: 0 0 5px rgba(13,110,253,0.5);
  border-color: #86b7fe;
  background-color: #fff;
}
.modal-content label.form-label {
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}
/* Botones del formulario de consulta */
#formularioBusqueda .btn {
  border-radius: 0.5rem;
  font-weight: 600;
  padding: 0.6rem 1rem;
  font-size: 1rem;
}

#formularioBusqueda .btn {
  border-radius: 0.3rem;
  font-weight: 600;
  font-size: 1rem;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

#formularioBusqueda .btn-primary,
#formularioBusqueda .btn-secondary {
  width: 100%;
}

/* Campo de búsqueda del formulario de consulta */
#formularioBusqueda input[type="text"] {
  border-radius: 0.5rem;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  border: 1px solid #ced4da;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
  transition: border-color 0.3s, box-shadow 0.3s;
}

#formularioBusqueda input[type="text"]:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.15rem rgba(13,110,253,0.25);
}

/* Ajustes para botón de mostrar/ocultar contraseña */
#toggleContrasena {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0.75rem;
  z-index: 2;
  border: none;
  background: transparent;
  padding: 0.25rem;
  font-size: 1.25rem;
  line-height: 1;
}

.seleccionadoVisual {
  background-color: #a6f7f1 !important; /* Aguamarina suave */
  border: 1px solid #5cd3c2 !important;
  color: #004d4d !important;
  font-weight: 500;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.fondo-inicio {
  background-image: url('../assets/img/logo_interno.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 590px; /* Aumentamos el mínimo */
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-body {
  padding: 0;
  overflow: visible;
}


  .fila-seleccionada {
    background-color: #fff3cd !important; /* Amarillo claro */
  }

