@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
*::after,
*::before,* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: 'nomer_samvilanregular';
    src: url('../fuentes/nomer_samvilan_web/nomer_samvilan-webfont.woff2') format('woff2'),
         url('../fuentes/nomer_samvilan_web/nomer_samvilan-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    }

body, html {
    height: 100%;
    margin: 0;
    font-family: 'nomer_samvilanregular', sans-serif;
    justify-content: center;
    align-items: center;
    background-color: #000000;
    color: rgb(255, 255, 255);
    
}
nav {
    height: 6%;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.index ul{
    display: flex;
    justify-content: space-between;
    list-style: none;   
    width: 100%;
    align-items: center;
    height: 100%;
}
.index ul li:first-child {
    margin-right: auto;
}
.index ul li:last-child {
    position: static;
    transform: none;
    margin-left: auto;
    text-align: right;
}
.index ul li a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}

.index ul li .logo,
.index ul li .tienda {
    display: block;
    height: auto;
}
.index ul li .tienda {
    font-size: 1.9rem;
    margin-right: 0.5rem;
}
.logo{
    width: 4rem;
    height: auto; 
    margin-left: 0.5rem;
}
.contenedorTodo {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0% 10%;
    width: 100%; /* Asegura que el contenedor ocupe todo el ancho */
}
form{
    padding: 2rem;
    border: 0.5px solid #ffffff;
    border-radius: 1rem;
    width: 50%; /* Porcentaje del ancho del contenedor padre */
    margin: 3rem auto;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.7);
}

form, .contenedorRedes {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
h2 {
    font-size: 2rem;
    font-weight: 300;
    margin: 0.5rem;
    margin-bottom: 1.5rem;
}

input{
  text-align: center;
  appearance: none;
  -webkit-appearance: none;
  display: inline-block;
  width: 80%;
  padding: 0.3rem 1rem;
  margin: 0.5rem;
  border: 1px solid #ffffff22;           /* sutil borde */
  border-radius: 12px;                    /* igual que tus inputs */
  background: #fff;                       /* blanco sobre fondo negro */
  color: #111;                            /* buen contraste */
  font: 600 1rem/1 "Poppins", system-ui;
  letter-spacing: .3px;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  box-shadow:
    0 2px 8px #00000080,                  /* sombra base */
    inset 0 0 0 0 #0000;                  /* para animación focus */
}

#send{
    width: auto;
    min-width: 60%;
    max-width: 100%;
    margin: 1.5rem;
}

#send:hover {
  background: #0d0d0d;
  color: #f6f6f6;
  border-color: #ffffff84;
  box-shadow:
    0 4px 16px #000000b0,
    0 0 18px #ffffff12;                   /* halo tenue */
  transform: translateY(-1px);
}

/* Active: feedback click */
#send:active {
  transform: translateY(0);
  box-shadow:
    0 2px 8px #00000080,
    0 0 10px #ffffff0f;
}

/* Deshabilitado (cuando envías el form) */
#send:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

a.forgot-password-link {
  align-self: center;
  margin: 0.15rem 0 0;
  text-align: center;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
}

.form-message,
.password-help {
  width: 80%;
  min-height: 1.4rem;
  margin-top: 0.35rem;
  color: #fff;
  font: 500 0.85rem/1.4 "Poppins", sans-serif;
  text-align: center;
}

.form-message.error,
.password-help.error {
  color: #ff8a8a;
}

.form-message.success,
.password-help.success {
  color: #75df91;
}

.form-description {
  width: 90%;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.secondary-link {
  font-size: 1.5rem;
}

.auth-page {
  min-height: 75%;
}

.auth-page form {
  min-width: 0;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}



::placeholder{
    color: #000000;
}

p {
    font-size: 1rem;
    text-align: center;
    font-family: Poppins, sans-serif;
}
a {
    font-size: 2rem;
    text-decoration: none;
    text-shadow: none; /*#ffffff 0px 0px 0px;*/
    color: #ffffff;
    font-weight: 600;
    font-family: 'nomer_samvilanregular', sans-serif;

}
a:hover {
    text-decoration: underline;
}

.logo-redes {
    width: 45px;
    height: auto; 
    margin-top: 20px; 
}
.redes a {
    text-decoration: none;
    list-style-type: none; 
}
.redes{
    padding-left: 0;
    margin-top: 10%;
}
li{
    display: inline-block;
    margin: 0.3rem;
}
@media (max-width: 668px) {
  .auth-page {
    padding-right: 1rem;
    padding-left: 1rem;
  }
  form{
    width: min(88%, 25rem);
  }
  h2 {
    max-width: 100%;
    font-size: 1.65rem;
    overflow-wrap: anywhere;
  }
  form input {
    width: 100%;
  }
  .form-message,
  .password-help {
    width: 100%;
  }
  .index ul li .tienda {
    font-size: 1.3rem;
  }
}
@media (min-width: 668px) {
  form{
    width: 40%;
  }
  form input {
    width: 100%;
  }
}
@media (min-width: 768px) {
  form{
    width: 29%;
  }
  form input {
    width: 100%;
  }
}
@media (min-width: 1100px) {
  form{
    width: 25%;
  }
  form input {
    width: 100%;
  }
}
@media (min-width: 1550px) {
  form{
    width: 20%;
  }
  form input {
    width: 80%;
  }
}
@media (min-width: 2000px) {
  form{
    width: 15%;
  }
  form input {
    width: 80%;
  }
}
