@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

/* ===== GENERALES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  min-height: 100vh;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

a {
  color: #ffca2c;
  text-decoration: none;
  font-size: 0.95rem;
}

a:hover {
  text-decoration: underline;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== LOGIN & REGISTER CARDS ===== */
.login,
.register-card {
  background-color: #fff;
  color: #000;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 500px;
  animation: fadeIn 1s ease-in-out;
}

.login h2,
.register-card h2 {
  margin-bottom: 25px;
  color: #ffca2c;
  font-weight: 700;
  text-align: center;
}

/* ===== FORMULARIOS ===== */
#loginForm,
#registerForm {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#loginForm input,
#registerForm input,
#registerForm select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: border-color 0.3s;
}

#loginForm input:focus,
#registerForm input:focus,
#registerForm select:focus {
  border-color: #ffca2c;
  outline: none;
}

#loginForm button[type="submit"],
#registerForm .btn-submit {
  background-color: #ffca2c;
  color: #000;
  border: none;
  padding: 10px;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

#loginForm button[type="submit"]:hover,
#registerForm .btn-submit:hover {
  background-color: #e6b420;
}

/* ==== WRAPPERS ==== */
.form-wrapper {
  width: 100%;
  max-width: 600px;
  animation: fadeIn 1s ease-in-out;
}

#errorMsg {
  font-size: 0.9rem;
}
