/*@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');*/

* {
  margin: 0;  
  box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

/*body {
    background: linear-gradient(90deg, rgb(70 167 206) 0%, rgba(87, 199, 133, 1) 49%, rgb(101 123 76) 100%);
    font-family: "Oswald", sans-serif;
    color: #fff;
    font-size: 11px;
}*/

body {
    font-family: "Outfit", system-ui, sans-serif;
    background: #f8f6f4 url("/img/Santuario.webp") no-repeat center center fixed;
    /*background-color: #f8f6f4;
    background-image: url("/img/NSSC_3D03.png");
    background-repeat: no-repeat;
    background-position: center center;*/
    background-size: cover;     /* Escala la imagen para cubrir todo sin distorsión */
    background-attachment: fixed;  /* ¡Esto es lo que la mantiene fija! */
    color: #222;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.texto-formato-input {
    margin-bottom: 20px;
    color: #727272;
    font-size: 13px;
}

.cabecera {
    text-align: center;
    display:grid;
}

h1 {
    margin-bottom: 5px;
    font-size: 22px;
    text-align: center;
    display: grid;
}

.hero3 {
    margin-top: 25px;
    padding: 2rem 5%;
    text-align: center;
    position: relative; /* corrige y permite que se lea sobre el fondo*/
}
.hero3 h1, h2, h4, h5 {
    text-align: center;
}

/*.formuInfo {
    display: flex;*/
    /*width: 400px;
    margin: 50px auto;
    text-align: center;*/
    /*align-items: center;
    justify-content: center;
}
#form1,
form {
    width: 100%;
    max-width: 420px;               /* ← clave: limita el ancho para que margin auto funcione */
    /*margin: 0 auto;*/                 /* centra con margen automático */
    /*padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;*/         /* elementos uno debajo del otro */
    /*gap: 12px;*/                      /* espacio entre inputs */
    /*background: rgba(0, 0, 0, 0.15);*/ /* opcional: fondo sutil para destacar */
    /*border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);/
}*/

/* Fuerza centrado del formulario con mayor prioridad */
/*#formuInfo {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;*/   /* o center si quieres vertical también */
    /*padding: 2rem 1rem;
}

#form1,
#formuInfo form {
    width: 100% !important;
    max-width: 440px !important;*/          /* un poco más ancho si quieres */
    /*margin: 0 auto !important;
    padding: 1.8rem 1.4rem !important;
    background: rgba(0, 0, 0, 0.18) !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    box-sizing: border-box !important;
}*/

/* Asegura que los .flex internos no rompan el ancho */
/*#form1 .flex {
    width: 100% !important;
    max-width: none !important;
}*/

#novalidate {
    display: flex;
    align-items: center;
}

.input, button {
    /*width: 100%;
    margin: 3px 0;
    font-size: 11px;
    padding: 5px 3px;
    border: 0;
    border-bottom: .5px solid #fff;
    outline: 0;
    background: transparent;
    color: #fff;*/
    width: 100%;
}

.input::placeholder {
    color: #000000;
}

.input:focus {
    border-width: 2px;
}

.checkbox {
    margin: 10px 0;
    font-size: 11px;
}

label {
    width: 100%;
}

button {
    margin-top: 1rem;
    padding: 10px;
    font-size: 13px;
    font-weight: 500;
    /*
    padding: 5px 12px;
    font-size: 11px;
    color: #fff;
    border: 0;
    border-radius: 2px;
    background-color: #000;
    cursor: pointer;
    transition: padding 0.4s;*/
}

button:hover {
    background-color: #fff;
    color: #000;
}

/* custom class */
.flex {
    display: flex;
    gap: 12px;
    width: 100%;
}

.w50 {
    flex: 1; /* width: 50%;*/
}

.w100 {
    width: 100%;
}

.input-error {
    border-bottom: 1px solid red;
}

.caja-texto-inicio #formuInfo,
.caja-texto-inicio #form1,
.caja-texto-inicio form {
    margin: 0 auto 3rem;
    /*margin-left: auto !important;
    margin-right: auto !important;*/
    max-width: 900px !important;
    width: 100% !important;          /* más adaptable a móvil */
    padding: 1rem;
}

/*.caja-texto-inicio h1 {
    text-align: center;
    display: flex;
}*/

#form1 .texto-rojo {
    font-weight: 700;
    font-size: 1.2rem;
    color: #c8102e;
}

#registroForm .texto-rojo {
    font-weight: 700;
    font-size: 1.2rem;
    color: #c8102e;
}

#formuInfo {
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
    /*background: transparent;*/
}

#form1 {
    width: 100%;
    max-width: 480px;           /* ← este valor controla lo “centrado” que se ve */
    margin: 0 auto;
    padding: 2rem;
    background: rgba(240, 233, 228, 0.85);  /* o blanco semitransparente para que combine */
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

#form1 .flex {
    gap: 1rem;
}

.input {
    padding: 0.9rem;
    border: 1px solid #d4c9bd;
    border-radius: 6px;
    background: white;
    color: #222;
    font-size: 1rem;
}

button {
    background: #c8102e;
    color: black;
    border: none;
    padding: 0.9rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

button:hover {
    background: #a00d24;
}

.oauth-button {
    border: 1px solid #d1d9e0;
    background-color: #f6f8fa;
    cursor: pointer;
}

.oauth-button:hover {
    background-color: #e7eaec;
}

/* error */
.texto-formato-input {
    margin-bottom: 20px;
    color: #727272;
    font-size: 13px;
}

.error-msg {
    font-size: 10px;
    color: rgb(253, 67, 67);
}

.margen-parrafo, p {
    text-align: justify;
    margin-top: 1%;
}

.margen-lista {
    text-align: justify;
    padding: 3%;
}

form a {
    color: #2c1810;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

form a:hover {
    color: #c8102e;
    transform: translateY(-1px);
    text-shadow: #c8102e;
}

.error-msg:not(:empty) {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  color: #c8102e;
  font-weight: 500;
}

.error-input {
  border-color: #c8102e !important;
  background-color: #fff5f5;
  outline: none;
}

.checkbox .error-msg {
  margin-top: 8px;
  margin-left: 2.5rem;
}