/* ════════════════════════════════════════════
   ESTILOS LEGALES Y LIBRO DE RECLAMACIONES
════════════════════════════════════════════ */
.libro-seccion {
  font-family: "Poppins", Arial, sans-serif;
  background-color: #fbf9fd;
  color: #1a1a2e;
  padding: 40px 0;
}

.container-libro {
  max-width: 850px;
  margin: 0 auto;
  background: #ffffff;
  padding: 35px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(112, 26, 117, 0.06);
}

.header-libro {
  border: 2px solid #701a75;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  margin-bottom: 22px;
  background: #fdf4ff;
}

.header-libro h1 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: #701a75;
  font-weight: 800;
}

.header-libro h2 {
  margin: 5px 0 0 0;
  font-size: 17px;
  font-weight: 600;
  color: #475569;
}

.grid-proveedor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 22px;
  background-color: #faf5ff;
  font-size: 14px;
}

fieldset {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  margin-bottom: 22px;
  padding: 18px;
}

legend {
  font-weight: 700;
  padding: 0 10px;
  font-size: 13px;
  text-transform: uppercase;
  color: #701a75;
}

.form-group {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
}

.form-group-inline {
  display: flex;
  gap: 20px;
  margin-bottom: 14px;
}

label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #334155;
}

input[type="text"],
input[type="email"],
input[type="number"],
textarea {
  width: 100%;
  padding: 10px 12px;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
textarea:focus {
  outline: none;
  border-color: #a21caf;
  box-shadow: 0 0 0 3px rgba(162, 28, 175, 0.15);
}

.radio-container {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 18px;
  font-size: 14px;
}

.radio-container input {
  margin: 0;
  accent-color: #a21caf;
}

.legales {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  margin-top: 20px;
  border-top: 1px dashed #cbd5e1;
  padding-top: 12px;
}

.acciones {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 25px;
}

.btn {
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.btn-enviar {
  background-color: #10b981;
  color: white;
}

.btn-enviar:hover {
  background-color: #059669;
  transform: translateY(-1px);
}

.btn-imprimir {
  background-color: #a21caf;
  color: white;
}

.btn-imprimir:hover {
  background-color: #86198f;
  transform: translateY(-1px);
}

.seccion-firmas {
  display: none;
}

/* ════════════════════════════════════════════
   PÁGINAS LEGALES (PRIVACIDAD, TÉRMINOS, COOKIES)
════════════════════════════════════════════ */
.legal-content {
  font-family: "Poppins", Arial, sans-serif;
  color: #334155;
  line-height: 1.8;
}

.legal-content h1 {
  font-size: 26px;
  color: #1a0b2e;
  margin-bottom: 22px;
  text-align: center;
  border-bottom: 2px solid #a21caf;
  padding-bottom: 12px;
  text-transform: uppercase;
  font-weight: 800;
}

.legal-content h2 {
  font-size: 18px;
  color: #701a75;
  margin-top: 26px;
  margin-bottom: 12px;
  border-left: 4px solid #e11d48;
  padding-left: 12px;
  font-weight: 700;
}

.legal-content p {
  margin-bottom: 16px;
  text-align: justify;
}

.legal-content ul {
  margin-left: 24px;
  margin-bottom: 16px;
}

.legal-content li {
  margin-bottom: 8px;
}

/* ════════════════════════════════════════════
   ESTILOS DE IMPRESIÓN (INDECOPI)
════════════════════════════════════════════ */
@media print {
  body {
    background-color: #ffffff;
    padding: 0;
  }

  header,
  footer,
  .floating-whatsapp {
    display: none !important;
  }

  .container-libro {
    box-shadow: none;
    border: none;
    padding: 0;
    max-width: 100%;
  }

  .acciones {
    display: none;
  }

  .seccion-firmas {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    gap: 50px;
  }

  .firma-box {
    flex: 1;
    border-top: 1px solid #000000;
    text-align: center;
    padding-top: 8px;
    font-size: 12px;
    font-weight: bold;
  }

  input,
  textarea {
    border: none !important;
    border-bottom: 1px dotted #000000 !important;
    background: transparent !important;
    padding: 2px !important;
  }
}
