@charset "UTF-8";
#btnJSON {
  position: relative;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

/* Spinner oculto por defecto */
.spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

/* Animación */
@keyframes spin {
  0% {
    transform: translateY(-50%) rotate(0deg);
  }
  100% {
    transform: translateY(-50%) rotate(360deg);
  }
}
/* Estado cargando */
.loading {
  pointer-events: none;
  opacity: 0.7;
}

.loading .spinner {
  display: inline-block;
}

* {
  box-sizing: border-box;
  font-family: sans-serif;
}

.note,
.muted,
.small {
  font-size: 13px;
  color: #6b7280;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f2de9c, #eef3ff);
  padding: 10px;
  color: #0f172a;
}

.signature-area {
  border: 1px dashed #cfe3ff;
  border-radius: 8px;
  padding: 8px;
  background: #f2de9c;
  max-width: 600px;
}

form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
form fieldset {
  border: 1px solid #e6eefc;
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 10px;
  min-width: 0;
}

button {
  background: #e4b92c;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  border: 0;
  font-weight: 600;
  cursor: pointer;
}

button.secondary {
  background: transparent;
  color: #e4b92c;
  border: 1px solid #f2de9c;
}

label,
p {
  display: block;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 6px;
}

legend {
  font-weight: 600;
  color: #e4b92c;
  padding: 0 6px;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 6px 20px rgba(10, 15, 30, 0.06);
}

input[type=text],
input[type=date],
input[type=email],
input[type=tel],
input[type=number],
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #dbe7ff;
  border-radius: 8px;
  background: #fbfdff;
}

/* Chrome, Safari, Edge */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  /* ✅ estándar */
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
  -webkit-appearance: textfield;
          appearance: textfield;
  /* ✅ estándar */
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
header h1 {
  font-size: 16px;
}
header img {
  border: 10px solid white;
  border-radius: 50%;
  /* esto hace que sea circular */
  background-color: white;
  width: 120px;
  /* puedes usar cualquier tamaño fijo o relativo */
  height: 120px;
  /* debe ser igual al ancho para que sea perfectamente circular */
  -o-object-fit: cover;
     object-fit: cover;
  /* asegura que la imagen cubra el área sin deformarse */
}
header .title_page {
  display: flex;
  flex-direction: row;
  align-items: center;
}
header .title_page div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 5px;
}

.second_row {
  align-items: end;
}

.compromiso #compromiso {
  text-wrap: auto;
  text-align: justify;
  background-color: #f2de9c;
  padding: 1rem;
  border-radius: 1rem;
}

.phone_input {
  display: block;
}
.phone_input div {
  display: flex;
}
.phone_input div #countryCode {
  width: 104px;
  margin-right: 5px;
}

.file-input {
  display: flex;
  flex-direction: column;
  font-family: sans-serif;
  max-width: 350px;
}
.file-input input[type=file] {
  display: none;
}
.file-input .muted {
  color: #6c757d;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}
.file-input .custom-file {
  display: flex;
  align-items: center;
  border: 2px dashed #ccc;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.file-input .custom-file:hover {
  border-color: #b39525;
  background-color: #f2de9c;
}
.file-input .custom-file .file-label {
  flex: 1;
  color: #555;
  font-size: 0.9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-input .custom-file .file-button {
  background-color: #e4b92c;
  color: white;
  border: none;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
  margin-left: 0.5rem;
  transition: background 0.2s;
}
.file-input .custom-file .file-button:hover {
  background-color: #b39525;
}

.hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 719px) {
  .buttons_container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    /* Espacio entre los botones */
  }
  .buttons_container button {
    flex: 1;
    /* Esto hace que el botón ocupe todo el espacio disponible */
    padding: 0.5rem 1rem;
    /* Ajusta el padding según tus necesidades */
  }
  .container {
    max-width: 100%;
    padding: 0 4px;
  }
  .grid,
  .cols-1,
  .cols-2,
  .cols-3 {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }
  input[type=number],
  select,
  textarea {
    padding: 8px 10px;
    font-size: 14px;
  }
  textarea {
    min-height: 60px;
  }
  .row,
  .inline-radio,
  .file-input,
  .actions {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }
  header div {
    flex-direction: column;
  }
}
@media (min-width: 720px) {
  .container {
    max-width: 920px;
    margin: 0 auto;
  }
  .grid {
    display: grid;
    gap: 12px;
  }
  .cols-1 {
    grid-template-columns: repeat(1, 1fr);
  }
  .cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  textarea {
    min-height: 84px;
    resize: vertical;
  }
  .row {
    display: flex;
    gap: 12px;
    align-items: center;
  }
  .inline-radio {
    display: flex;
    gap: 10px;
    align-items: center;
  }
  .small {
    font-size: 13px;
  }
  .actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
  }
  .note {
    font-size: 13px;
    color: #334155;
  }
}
@media (min-width: 720px) and (min-width: 720px) {
  form {
    grid-template-columns: 1fr;
  }
  .two-cols {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
  }
}
@media (min-width: 720px) and (max-width: 600px) {
  .cols-3 {
    grid-template-columns: 1fr;
  }
}/*# sourceMappingURL=app.css.map */