/* GENERAL */
body {
    font-family: 'Segoe UI', sans-serif;
    background: #f4f6f8;
    margin: 0;
    padding: 0;
  }
  input,
textarea,
select {
  font-size: 16px;
}
  
  /* MAIN */
  main {
    display: flex;
    justify-content: center;
    align-items: center;
     /* min-height: calc(100vh - 140px);*/
    min-height: calc(100vh - 305px);
    padding: 20px;
  }
  
  /* LOGIN BOX */
  .login-box {
    background: #000;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
  }
  
  .login-box h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #e7e7e7;
  }
  
  label {
    display: block;
    margin-top: 15px;
    color: #b1aaaa;
    font-weight: bold;
  }
  
  input[type=text],
  input[type=email],
  input[type=password],
  input[type=submit] {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border-radius: 6px;
    border: 1px solid #444;
    background-color: #1e1e2f;
    color: #fff;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    
  }
  
  input[type=submit] {
  margin: 10px;
  padding: 10px 20px;
  background: linear-gradient(to right, #00ff99, #00ccff);
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s ease;
  max-width:95%;
  margin-top: 30px; 
   font-size: 16px; 
  }
  
  input[type=submit]:hover {
    background: linear-gradient(to right, #00ccff, #00ff99);
  }
  
  .error {
    color: red;
    text-align: center;
    margin-bottom: 10px;
  }

  .error ul {
    padding-left: 20px;
    margin: 0;
  }
  
  .error li {
    color: red;
    margin-bottom: 5px;
  }
  
  .success {
    color: green;
    text-align: center;
    margin-bottom: 10px;
  }
  .password-wrapper {
    position: relative;
  }
  
  .toggle-password {
    position: absolute;
    top: 54%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
  }
  
  .remember-label {
    display: block;
    margin-top: 10px;
    font-size: 0.95em;
    color: #555;
  }

  #form-feedback ul {
    padding-left: 20px;
    margin: 0;
  }
  
  #form-feedback li {
    color: red;
    margin-bottom: 5px;
  }

.register-link {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}

.register-link a {
  color: #007bff;
  text-decoration: none;
}

.register-link a:hover {
  text-decoration: underline;
}

.register-link a:visited {
  color: #6c757d; /* gris suave, puedes cambiarlo */
  font-style: italic;
} 


  .spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007BFF;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 0.8s linear infinite;
    margin: 10px auto;
  }


  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  