@import url("/css/home.css");

/* === Card formulaire === */
.login-form {
  width: 360px;
  background-color: var(--color-surface);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 0 1px #2c2c2c, 0 6px 16px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.login-form h2 {
  text-align: center;
  margin: 0;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text);
  font-family: var(--font-alt); 
}

/* === Champs === */
.input-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--bg-main); 
  border-radius: 6px;
  padding: 0.6rem 0.8rem;
}
.input-group span {
  color: var(--color-muted);
  font-size: 1.2rem;
}
.input-group input {
  flex-grow: 1;
  border: none;
  background: transparent;
  color: var(--color-text);
  font-size: 1rem;
  outline: none;
}

/* === Bouton === */
.login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.6rem;
  border: none;
  border-radius: 6px;
  background-color: var(--color-primary); 
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}
.login-btn:hover {
  background-color: #2563eb; 
}

/* === Liens === */
.login-extra {
  text-align: center;
}
.login-extra a {
  font-size: 0.85rem;
  color: var(--color-accent); 
  text-decoration: none;
}
.login-extra a:hover {
  text-decoration: underline;
}

.info {
  background-color: #2a2a2a;
  color: var(--color-success);
  padding: 0.8rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 0 0 1px #3a3a3a;
  margin-top: 1rem;
}

/* === Responsive mobile === */
@media (max-width: 480px) {
  .login-form {
    width: 100%;
    max-width: 340px;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
  }
  .login-form h2 {
    font-size: 1.2rem;
  }
}
