/* ====== auth.css ====== */

body {
  font-family: 'Roboto', sans-serif;
  background-color: #f4f4f9;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

/* Contenedor principal */
.auth-container {
  top: 150px;
  position: absolute;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 30px 25px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* T¨ªtulo */
.auth-container h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #333;
  font-weight: 600;
}

/* Campos de formulario */
.auth-container input[type="text"],
.auth-container input[type="email"],
.auth-container input[type="password"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-container input:focus {
  border-color: #0088cc;
  box-shadow: 0 0 5px rgba(0,136,204,0.3);
  outline: none;
}

/* Bot¨®n */
.auth-container button {
  width: 100%;
  padding: 12px;
  background-color: #0088cc;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.auth-container button:hover {
  background-color: #007bb5;
}

/* Enlaces inferiores */
.auth-container p {
  text-align: center;
  margin-top: 15px;
  font-size: 0.9rem;
  color: #555;
}

.auth-container a {
  color: #0088cc;
  text-decoration: none;
}

.auth-container a:hover {
  text-decoration: underline;
}

/* Mensajes de error */
.auth-container .error {
  background: #ffeaea;
  color: #c0392b;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
  text-align: center;
  font-size: 0.9rem;
}

/* Responsivo */
@media (max-width: 500px) {
  .auth-container {
    margin: 0 15px;
    padding: 25px 20px;
  }
}
