/*Bloque principal*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --primary-color: #7f00ff;    /* morado vibrante */
  --primary-color-alt: #b300b3; /* morado oscuro intenso */
  --header-height: 12vh;
  --header-font-family: "Inika", serif;
  --header-text-color: black;
  --submenu-bg: rgba(253, 189, 159, 0.85);
  --menu-bg-mobile: rgba(133, 133, 133, 0.9);
  --background-color: #f4f4f4;
  --gradient-start: #ff7e00;  /* naranja brillante */
  --gradient-end: #ffae42;    /* naranja claro / melocotón */
  --gradient-hover-start: #cc6600; /* naranja oscuro */
  --gradient-hover-end: #ff8000; /* naranja medio */
  --text-color: white;
  --btn-color: #a53fa9;
}


a:link,
a:visited,
a:hover,
a:active {
    
    text-decoration: none; /* quita el subrayado si no lo quieres */
}



header {
  font-family: "Inika", serif;
}
body {
  font-family: "Montserrat", sans-serif;
  width: 100%;
  height: 100%;
}

h1 {
  font-weight: 400;
  font-size: 40px;
  width: 100%;
}

button {
  width: 160px;
  height: 45px;
  background-color: var(--btn-color, #7f00ff); /* fallback */
  border: none;
  border-radius: 25px;
  padding: 8px 16px;
  color: white;
  font-weight: 600;
  font-family: inherit;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(127, 0, 255, 0.3);
  transition: all 0.25s ease;
  cursor: pointer;
}

button:hover {
  background-color: #9411b8;
  color: white;
  box-shadow: 0 6px 14px rgba(148, 17, 184, 0.4);
  transform: translateY(-2px);
}

button:active {
  transform: scale(0.95);
  box-shadow: 0 3px 8px rgba(148, 17, 184, 0.2);
}


.form-step 
        {
            display: none;
            background-color: rgb(252, 230, 219);
        }
.form-step.active 
    {
            display: block;
            background-color: rgb(252, 230, 219);
    }
    
    .button-group {
        display: flex;
        justify-content: center;
        margin-top: 20px;
        margin-bottom: 10px;
        gap: 20px;
}

.form-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* esto centra el grupo, pero no el contenido del grupo */
    margin-top: 10px;
    margin-bottom: 10px;
}

.form-group {
    width: 100%;
    max-width: 80%; /* ajusta a tu gusto */
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
    text-align: left;
}

.form-group input{
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.form-group select{
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
}



.radio-inline-group {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 5px;
  }

  .radio-option {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
  }

  .radio-option input[type="radio"], .radio-option input[type="checkbox"] {
    vertical-align: middle;
    accent-color: #e74c3c;
    width: 18px;
    height: 18px;
    margin: 0;
  }

  label[for="sexo"] {
    font-weight: bold;
  }

  .required-star {
    color: red;
    margin-left: 4px;
  }



.input-error {
    border: 2px solid red;
}

.error-message {
    color: red;
    font-size: 0.875rem;
    margin-top: 4px;
}




.status {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100%;
  height: 40px;
  background-color: #7cee82;
  color: black;
}

.eliminado {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100%;
  height: 40px;
  background-color: red;
  color: black;
}

.center {
  text-align: center;
}

a {
  text-decoration: none;
  color: black;
  cursor: pointer;
}

input {
  border: 1px solid black;
  border-radius: 0.375rem;
  border-color: grey;
}
input:focus {
  border-color: red;
}

option {
  padding: 7px;
}

.underline:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  header h1 {
    font-size: 30px;
  }
  a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none; /* quita el subrayado si no lo quieres */
}
}
