/* === Reset básico === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
  color: #000;
}

a {
  color: #611232; /* Color Guinda Institucional */
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* === Header === */
.top-header {
  background-color: #611232;
  padding: 16px 20px;
  color: white;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
}

.logo {
  height: 40px;
}

@media screen and (min-width: 768px) {
  .header-container {
    justify-content: flex-start;
  }
}


/* === Breadcrumb === */
.breadcrumb {
  font-size: 14px;
  padding: 16px 20px;
  background-color: #f8f8f8;
}
.breadcrumb a { color: #611232; }

/* === Main container === */
.container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
}

/* === Título principal === */
h1 { font-size: 28px; margin-bottom: 30px; color: #111; }

/* === Pasos === */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.step {
  text-align: center;
  background-color: #eaeaea;
  padding: 14px;
  border-radius: 8px;
  font-size: 14px;
  color: #555;
  font-weight: normal;
}

.step.active {
  background-color: #611232;
  color: white;
  font-weight: bold;
}
.step.completado {
  background-color: #28a745;
  color: #fff;
  border: 2px solid #28a745;
  font-weight: bold;
}

  @media (max-width: 768px) {
  .step {
    font-size: 13px;
    padding: 10px 6px;
  }

    .steps {
  grid-template-columns: repeat(2, 1fr);
 
}

}


/* === Formulario === */
.form-section {
  background: #ffffff;
  padding: 20px 20px;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-top: 20px;
}
.form-section h2 { color: #611232; margin-bottom: 12px; font-size: 20px; }
.form-section p { font-size: 15px; margin-bottom: 20px; }
.form-section label { display: block; margin-bottom: 8px; font-weight: 600; }
.form-section input,
.form-section select {
  width: 100%;
  padding: 12px;
  border: 1px solid #bbb;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 16px;
}

/* === Botón alineado a la izquierda y estilizado === */
.form-section button {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 20px 0 0;       /* '0' a la derecha lo pega a la izquierda */
    background-color: #611232;
    color: #fff;
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    text-align: center;
}

.form-section button:hover { 
    background-color: #4a0d26; 
}

/* === Info final === */
.info-box {
  background-color: #f1f1f1;
  padding: 30px 20px;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-top: 50px;
  text-align: center;
}
.info-box h2 { font-size: 20px; color: #611232; margin-bottom: 12px; }
.info-box p { font-size: 16px; color: #333; line-height: 1.5; }

/* Centrar el contenedor de términos */
/* Centrar el contenedor de términos - AHORA ALINEADO A LA IZQUIERDA */
.terminos-container {
    display: flex;
    align-items: center; /* Centrado vertical entre checkbox y texto */
    justify-content: flex-start; /* Alinea al inicio (izquierda) */
    gap: 10px; 
    margin: 20px 0;
    text-align: left; /* Asegura el texto a la izquierda */
    width: 100%;
}

.terminos-container input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: #611232; 
    cursor: pointer;
    flex-shrink: 0; /* Evita que el checkbox se aplaste en móviles */
}

.terminos-container label {
    font-size: 14px;
    color: #444;
    cursor: pointer;
    line-height: 1.2;
    display: inline-block;
}
/* === Footer === */
.footer {
  margin-top: 120px;
  padding: 40px 20px;
  font-size: 13px;
  color: #555;
  text-align: center;
  background-color: #f7f7f7;
  border-top: 1px solid #ddd;
}
.footer a { color: #611232; }

/* === Separación de bloques en el formulario === */
fieldset.datos-personales,
fieldset.datos-cita {
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 25px;
  background-color: #fafafa;
}

fieldset legend {
  font-weight: 600;
  color: #611232;
  padding: 0 10px;
  font-size: 16px;
}

/* === Formulario de Documentos === */
fieldset.documentos-grupo {
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  background-color: #fafafa;
}

fieldset.documentos-grupo legend {
  font-weight: 600;
  color: #611232;
  padding: 0 10px;
  font-size: 16px;
}

#form-documentos select {
  width: 100%;
  padding: 12px;
  border: 1px solid #bbb;
  border-radius: 6px;
  margin-top: 10px;
  font-size: 16px;
}

#form-documentos button {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 20px 0 0;
  background-color: #611232;
  color: #fff;
  padding: 14px 28px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  text-align: center;
}

#form-documentos button:hover {
  background-color: #4a0d26;
}











