* {
    font-family: 'Archivo Narrow', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    padding: 15px 30px;
    font-size: 1.40rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body {
    background-color: #6497A8;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.contenedor {
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.226);
}

.contenedor h2 {
    color: #6497A8;
    text-align: center;
}

.input-contenedor {
    position: relative;
    margin: 20px 0;
    width: 100%;
    border-bottom: 2px solid #6497A8;
}

.input-contenedor input {
    width: 100%;
    height: 40px;
    background-color: transparent;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 5px 10px;
    color: #6497A8;
}

.input-contenedor i {
    position: absolute;
    color: #6497A8;
    font-size: 1.2rem;
    top: 12px;
    right: 10px;
}

button {
    width: 100%;
    height: 45px;
    border-radius: 40px;
    background: #6497A8;
    border: none;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
    color: white;
}

button:hover {
    background-color: #5b8b9b;
}

.registrar {
    font-size: 0.9rem;
    text-align: center;
    margin-top: 15px;
}

.registrar p a {
    text-decoration: none;
    color: #6497A8;
    font-weight: bold;
}

.registrar p a:hover {
    text-decoration: underline;
}

/* Estilos modal de Registro*/
.popup-oculto {
  display: none;
}

.popup-visible {
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 9999;
}

.popup-contenido {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 2rem;
border-radius: 20px;
  border: 4px solid  #6497A8;;
  width: 100%;
  max-width: 400px;
  margin: auto;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.popup-contenido h2 {
   color:  #6497A8;
  font-family: 'Archivo Narrow', sans-serif;
}

.textoRegistro{
    color:  #6497A8;
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 20px;
}

.btnAceptar {
  font-family: 'Archivo Narrow', sans-serif;
    font-size: 1.2rem;
    background-color: #5a8796; 
    color: white;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1rem; 
    border-radius: 20px;
    border: none; 
    max-width: 100px;
}

.btn-cerrar-popup {
  position: absolute;
  top: 0px;
  right: -150px;
  background: transparent;
  border: none;
  font-size: 2.5rem;
  color: #6497A8;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.btn-cerrar-popup:hover {
  background: transparent;
  color: #6497A8;
}

.btn-cerrar-popup:focus {
  outline: none;
  box-shadow: none;
}

.btn-cerrar-popup:active {
  background: transparent;
  color: #6497A8;
}