/* 🧾 Botón de búsqueda por DNI */
.busqueda {
  margin: 20px 0;
  display: flex;
  gap: 10px;
  align-items: center;
}

.busqueda input {
  padding: 8px;
  border-radius: 5px;
  border: none;
  background-color: #e9e9e9;
  color: var(--color-negro);
}

/* 📤 Botones de acción */
#btn-exportar {
  padding: 8px 15px;
  background-color: #2cce90;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}
#btn-exportar:hover {
  background-color: #00c0a3;
}

#btn-renovar {
  padding: 8px 15px;
  background-color: #f9db03e0;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}
#btn-renovar:hover {
  background-color: #b1a003a9;
}

/* 🟢 Estados visuales */
.estado-activo     { color: #00ff88; font-weight: bold; }
.estado-inactivo   { color: #ff4d4d; font-weight: bold; }
.estado-venciendo  { color: #ffa500; font-weight: bold; }
.estado-deuda      { color: #ff4d4d; font-weight: bold; }
.estado-renovado   { color: #44d1ff; font-weight: bold; }

/* 🧮 Campos ocultos personalizados */
#input-deuda,
#personalizado-input {
  display: none;
  background-color: #3a3a3a;
}

/* 🪪 Botón de DNI */
#btn-dni {
  max-width: 45px;
  background-color: var(--color-secundario);
  color: #000;
  font-weight: bold;
  padding: 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/*MODALES */

.modal {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 16px;
  width: 95%;
  max-width: 460px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: fadeIn 0.3s ease;
  font-family: 'Segoe UI', sans-serif;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal h3 {
  font-size: 20px;
  font-weight: 600;
  color: #007ca8;
  margin-bottom: 0;
  text-align: center;
}

/* ❌ Botón cerrar */
.cerrar-modal {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  transition: color 0.2s;
}
.cerrar-modal:hover {
  color: #333;
}

.modal form input,
.modal form select,
.modal form button {
  min-height: 44px;
  font-family: 'Segoe UI', sans-serif;
}

.modal form input,
.modal form select {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
  transition: border 0.2s ease;
  appearance: none;
  font-size: 14px;
}

.modal form input:focus,
.modal form select:focus {
  border-color: #00bcd4;
  outline: none;
}

/* 🧩 Agrupación de campos */
.modal form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* 🔘 Botón guardar */
/* Botón */
.modal button[type="submit"] {
  width: 100%;
  background: linear-gradient(to right, #00c6ff, #0072ff);
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s;
}

.modal button[type="submit"]:hover {
  background: linear-gradient(to right, #0072ff, #00c6ff);
}

/* ✨ Animación */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


