/* ─────────────────────────────────────────────────────────────
   LebeInformes — estilos acordes a la identidad LEBE
   Paleta: azules #01497c / #3D6D92 / #6b8aad  |  naranja #ee9622
   Tipografía: Poppins (misma que la web React)
───────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

/* ── Contenedor principal ── */
.lebe-informes-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.14);
  margin: 20px 0;
}

/* ── Panel izquierdo (formulario) ── */
.lebe-informes-left {
  flex: 1 1 340px;
  padding: 36px 32px;
  background: #ffffff;
  color: #2d2d2d;
}

/* ── Panel derecho (info) ── */
.lebe-informes-right {
  flex: 1 1 300px;
  padding: 36px 32px;
  background: #3D6D92;
  color: #eef4ed;
}

/* ── Títulos ── */
.lebe-titulo {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: #01497c;
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.lebe-titulo--claro {
  color: #eef4ed;
}

/* ── Formulario ── */
.lebe-field {
  margin-bottom: 20px;
}
.lebe-field label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  color: #01497c;
  font-size: .88rem;
}
.lebe-input-wrap {
  display: flex;
  align-items: stretch;
  border: 2px solid #a9d6e5;
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .2s;
}
.lebe-input-wrap:focus-within {
  border-color: #01497c;
}
.lebe-icon {
  padding: 0 12px;
  font-size: 1rem;
  color: #6b8aad;
  background: #f0f6fa;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #a9d6e5;
  user-select: none;
  flex-shrink: 0;
  min-width: 44px;
}
.lebe-input-wrap input,
.lebe-input-wrap select {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  color: #2d2d2d;
  background: transparent;
  min-height: 44px;
  box-sizing: border-box;
  min-width: 0;
}
.lebe-field-error {
  display: block;
  color: #c0392b;
  font-size: .76rem;
  margin-top: 4px;
  min-height: 14px;
}

/* ── Botones ── */
.lebe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border: none;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, transform .1s, box-shadow .2s;
  text-decoration: none;
  letter-spacing: .02em;
}
.lebe-btn:hover   { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.lebe-btn:active  { transform: translateY(0); box-shadow: none; }
.lebe-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }

.lebe-btn--primario {
  background: #01497c;
  color: #ffffff;
}
.lebe-btn--primario:hover { background: #013a63; color: #ffffff; }

.lebe-btn--secundario {
  background: #6b8aad;
  color: #ffffff;
}
.lebe-btn--secundario:hover { background: #3D6D92; color: #ffffff; }

.lebe-form-botones,
.lebe-acciones {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 12px;
}

/* ── Spinner ── */
.lebe-spinner {
  width: 16px;
  height: 16px;
  border: 3px solid rgba(255,255,255,.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: lebe-spin .7s linear infinite;
  display: inline-block;
  vertical-align: middle;
}
@keyframes lebe-spin {
  to { transform: rotate(360deg); }
}

/* ── Banners de estado ── */
.lebe-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: .88rem;
  font-weight: 400;
  line-height: 1.55;
  border-left: 5px solid rgba(0,0,0,.18);
}
.lebe-banner__icon {
  font-size: 1.2rem;
  line-height: 1.3;
  flex-shrink: 0;
}
.lebe-banner__texto {
  flex: 1;
  min-width: 0;
}
.lebe-banner strong {
  font-weight: 600;
}

/* Verde — éxito (200 / 206) */
.lebe-banner--success {
  background: #d4edda;
  color: #155724;
  border-left-color: #28a745;
}
.lebe-banner--success .lebe-banner__icon {
  color: #28a745;
}

/* Rojo — error (204 / 205 / error red) */
.lebe-banner--error {
  background: #f8d7da;
  color: #721c24;
  border-left-color: #dc3545;
}
.lebe-banner--error .lebe-banner__icon {
  color: #dc3545;
}

/* Naranja — advertencia (202) */
.lebe-banner--warning {
  background: #fff3cd;
  color: #856404;
  border-left-color: #ee9622;
}
.lebe-banner--warning .lebe-banner__icon {
  color: #ee9622;
}

/* ── Lista de info ── */
.lebe-lista {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lebe-lista li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
  font-size: .86rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.lebe-lista li:last-child { border-bottom: none; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .lebe-informes-left,
  .lebe-informes-right {
    padding: 24px 18px;
  }
  .lebe-btn {
    width: 100%;
  }
  .lebe-form-botones,
  .lebe-acciones {
    flex-direction: column;
  }
}
