body {
  font-family: Inter, Arial, sans-serif;
  background: #f6f4ee;
  margin: 0;
  color: #071b3a;
}

.container {
  max-width: 1100px;
  margin: 50px auto;
  padding: 24px;
}

.brand {
  font-weight: 700;
  color: #c99313;
  margin-bottom: 24px;
  text-decoration:none;
}

.card {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 18px 45px rgba(20, 30, 60, 0.10);
  border: 1px solid #eee5d6;
}

h1 {
  font-size: 38px;
  margin: 0 0 12px;
}

h2 {
  margin: 8px 0 0;
  font-size: 22px;
}

p, span {
  color: #5f6678;
  line-height: 1.5;
}

input {
  width: 100%;
  max-width: 420px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #ddd6c8;
  font-size: 16px;
  box-sizing: border-box;
  margin-top: 16px;
}

button, .btn {
  display: inline-block;
  margin-top: 16px;
  padding: 15px 20px;
  border-radius: 14px;
  background: #071b3a;
  color: white;
  border: none;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.secondary {
  background: #c99313;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.progress {
  height: 12px;
  background: #e8e2d6;
  border-radius: 50px;
  overflow: hidden;
  margin-top: 18px;
}

#progressBar {
  height: 100%;
  width: 0%;
  background: #c99313;
  transition: width 0.4s ease;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.hidden {
  display: none;
}

#mensaje {
  font-weight: 700;
  color: #c99313;
}

.chip {
  display: inline-block;
  background: #f6f1e7;
  color: #071b3a;
  border: 1px solid #e8d8b8;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 14px;
  margin: 4px 4px 0 0;
}

#indice span {
  font-size: 15px;
  color: #5f6678;
}

.next-panel {
  margin-top: 28px;
}

.next-panel h2 {
  font-size: 26px;
}

.whatsapp {
  background: #25D366;
  color: white;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.resumen-panel {
  margin-top: 28px;
}

.resumen-panel p {
  font-size: 17px;
  line-height: 1.7;
  max-width: 850px;
}

.datos-panel {
  margin-top: 28px;
}

select {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #ddd6c8;
  font-size: 16px;
  box-sizing: border-box;
  background: white;
}

#mensajeDatos {
  font-weight: 700;
  color: #c99313;
}

.datos-panel {
  margin-top: 28px;
}

.campo {
  width: 100%;
  max-width: none;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #ddd6c8;
  font-size: 16px;
  box-sizing: border-box;
  background: #fff;
  color: #071b3a;
  margin: 0;
}

.campo:disabled,
.campo[readonly] {
  background: #f6f4ee;
  color: #5f6678;
}

#mensajeDatos {
  font-weight: 700;
  color: #c99313;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  body {
    background: white;
  }

  #loginBox,
  .actions,
  button,
  #guardarDatosPerfil,
  #mensajeDatos {
    display: none !important;
  }

  .container {
    max-width: 100%;
    margin: 0;
    padding: 20px;
  }

  .card {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }
}

.badge-completo {
  display: inline-block;
  margin: 12px 0 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff4d8;
  color: #946800;
  font-weight: 800;
  border: 1px solid #e8d8b8;
}

.hidden {
  display: none;
}

.informe-btn {
  font-family: inherit;
  font-size: inherit;
  margin-top: 16px;
}
.brand {
  display: inline-block;
  font-size: 22px;
  font-weight: 900;
  color: #c99313;
  text-decoration: none;
  letter-spacing: -0.4px;
  margin-bottom: 18px;
}

.brand:hover {
  opacity: 0.8;
}

.multi-select-wrapper {
  position: relative;
}

.multi-select-button {
  text-align: left;
  cursor: pointer;
}

.multi-select-list {
  position: absolute;
  z-index: 20;
  top: 58px;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd6c8;
  border-radius: 14px;
  padding: 12px;
  max-height: 260px;
  overflow-y: auto;
  box-shadow: 0 18px 45px rgba(20,30,60,.14);
}

.multi-select-list label {
  display: block;
  padding: 8px 6px;
  font-size: 15px;
  cursor: pointer;
}

.multi-select-list input {
  margin-right: 8px;
}

.hidden {
  display: none;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: 14px;
  font-weight: 800;
  color: #071b3a;
}

.field .campo {
  margin-top: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.field {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: 14px;
  font-weight: 800;
  color: #071b3a;
}

.field .campo {
  width: 100%;
  max-width: none;
  margin-top: 0;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.datos-panel .form-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-top: 18px !important;
}

.datos-panel .field {
  width: 100% !important;
}

@media (max-width: 768px) {
  .datos-panel .form-grid {
    grid-template-columns: 1fr !important;
  }
}