/* ===== Floating Labels (Google-like) ===== */

.lr-form-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.lr-form .lr-section {
  margin-bottom: 22px;
}

.lr-form .lr-section-title h4,
.lr-form .lr-section-title h5 {
  margin: 0 0 14px;
}

/* Grid helper */
.lr-form .lr-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}
.lr-form .lr-grid-2 {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 720px) {
  .lr-form .lr-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Field wrapper */
.lr-form .lr-field {
  position: relative;
  display: block;
}

/* Inputs base */
.lr-form input[type="text"],
.lr-form input[type="number"],
.lr-form input[type="email"],
.lr-form input[type="tel"],
.lr-form input[type="file"],
.lr-form select,
.lr-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d0d7de!important;
  border-radius: 10px;
  padding: 18px 14px 12px; /* top padding for floating label */
  font-size: 14px;
  outline: none;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}

/* Textarea height */
.lr-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Focus ring */
.lr-form .lr-field:focus-within input[type="text"],
.lr-form .lr-field:focus-within input[type="email"],
.lr-form .lr-field:focus-within input[type="tel"],
.lr-form .lr-field:focus-within select,
.lr-form .lr-field:focus-within textarea {

}

/* Label floating (works even if label is BEFORE input) */
.lr-form .lr-field > label {
  position: absolute;
  left: 12px;
  top: 14px;
  padding: 0 6px;
  background: #fff;
  color: #5f6368;
  font-size: 14px;
  line-height: 1;
  pointer-events: none;
  transform-origin: left top;
  transform: translateY(0) scale(1);
  transition: transform .15s ease, color .15s ease, top .15s ease;
}

/* When focused or filled -> float label */
.lr-form .lr-field:focus-within > label,
.lr-form .lr-field.is-filled > label {
  transform: translateY(-16px) scale(0.86);
  color: #1a73e8;
}

/* File input: keep normal label style */
.lr-form input[type="file"] {
  padding: 14px;
}
.lr-form .lr-field input[type="file"] + * { /* no-op safe */
}

/* Radios */
.lr-form .lr-radios {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.lr-form .lr-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.lr-form .lr-radio input {
  width: 16px;
  height: 16px;
}

/* Checkboxes */
.lr-form .lr-checkbox label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.lr-form .lr-checkbox input[type="checkbox"] {
  margin-top: 3px;
  display: block;
}

/* Notes */
.lr-form .lr-note,
.lr-form .lr-legal,
.lr-form .lr-required-note {
  color: #4b5563;
  font-size: 13px;
}
.lr-form .lr-note {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Buttons */
.lr-form .lr-actions {
  margin-top: 18px;
  margin-bottom: 30px;
}
.lr-btn {
  display: inline-block;
  border: 0;
  border-radius: 12px;
  padding: 20px 40px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
}
.lr-alert-success a.lr-btn.lr-btn-primary {
    margin-bottom: 0px;
    background: var(--main2);
    margin-top: 10px;
}


.lr-alert-success a.lr-btn.lr-btn-primary:hover {
    color: white;
}
.lr-btn-primary {
  background: #000000;
  color: #fff;
  display: block;
}
.lr-btn-primary:hover {
  filter: brightness(0.96);
}

/* Success box */
.lr-alert {
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.lr-alert-success {
  background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.25);
}

/* ===== FIX: Checkboxes (Términos) ===== */

/* Evita que el label de checkbox use floating label (position:absolute) */
.lr-form .lr-field.lr-checkbox > label{
  position: static;
  left: auto;
  top: auto;
  padding: 0;
  background: transparent;
  pointer-events: auto;
  transform: none;
  transition: none;

  display: flex;
  gap: 10px;
  align-items: flex-start;
}

/* Quita estilos raros del span si el tema mete cosas */
.lr-form .lr-field.lr-checkbox > label > span{
  display: block;
  color: inherit;
  font-size: 14px;
  line-height: 1.35;
}
.lr-section.lr-ch {
    padding: 20px 0 0;
}

.lr-btn-primary:hover {
    opacity: .5;
}
/* Si el tema mete márgenes al checkbox */
.lr-form .lr-field.lr-checkbox input[type="checkbox"]{
  margin: 2px 0 0 0;
}

/* ===== (Opcional) Checkbox custom estilo limpio ===== */
.lr-form .lr-field.lr-checkbox input[type="checkbox"]{
  appearance: none;
  -webkit-appearance: none;

  width: 18px;
  height: 18px;
  border: 2px solid #d0d7de;
  border-radius: 5px;
  background: #fff;
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  flex: 0 0 18px;
}

.lr-form .lr-field.lr-checkbox input[type="checkbox"]:focus{
  outline: none;
  box-shadow: 0 0 0 3px rgba(26,115,232,.15);
  border-color: #1a73e8;
}

.lr-form .lr-field.lr-checkbox input[type="checkbox"]:checked{
  background: #1a73e8;
  border-color: #1a73e8;
}

.lr-form .lr-field.lr-checkbox input[type="checkbox"]:checked::after{
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  margin-top: -1px;
}

/* Links dentro de términos */
.lr-form .lr-field.lr-checkbox a{
  text-decoration: underline;
}


.lr-form-submitted div#hero {
    display: none;
}

.lr-form-submitted main {
    background: white!important;
    padding-top: 100px;
}

.lr-form-submitted form#formulario-reclamos {
    display: none;
}