/* Import des polices */
@import url("https://fonts.googleapis.com/css2?family=Lobster+Two:wght@400;700&family=Poppins:wght@300;400;500;600;700&display=swap");

/* Variables de couleurs du site */
:root {
  --pink-accent: #fb6f92;
  --beige: #f5e6d3;
  --brown: #6f4e37;
  --white: #ffffff;
  --beige-light: #fef3e3;
  --brown-light: #8b6f47;
}

/* Titre principal */
.login-title {
  font-family: "Lobster Two", cursive;
  font-size: 3.5rem;
  color: var(--pink-accent);
  text-shadow: 2px 2px 4px rgba(251, 111, 146, 0.2);
  margin-bottom: 1rem;
}

.login-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  color: var(--brown);
  font-weight: 300;
}

/* Conteneur principal des formulaires */
.login-wrapper {
  background: linear-gradient(135deg, var(--white) 0%, var(--beige-light) 100%);
  border-radius: 25px;
  padding: 0;
  box-shadow: 0 10px 30px rgba(111, 78, 55, 0.15);
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

/* Sections des formulaires */
.form-section {
  padding: 3rem;
  height: 100%;
}

.login-section {
  background: linear-gradient(135deg, var(--white) 0%, var(--beige-light) 50%);
}

.register-section {
  background: linear-gradient(135deg, var(--beige-light) 50%, var(--white) 100%);
}

/* Titres des formulaires */
.form-title {
  font-family: "Lobster Two", cursive;
  font-size: 2.2rem;
  color: var(--pink-accent);
  margin-bottom: 2rem;
  text-align: center;
}

/* Labels des formulaires */
.form-label {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  color: var(--brown);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Inputs des formulaires */
.auth-input {
  font-family: "Poppins", sans-serif;
  border: 2px solid var(--beige);
  border-radius: 15px;
  padding: 0.9rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--white);
}

.auth-input:focus {
  border-color: var(--brown-light);
  box-shadow: 0 0 0 0.2rem rgba(111, 78, 55, 0.15);
  outline: none;
  background: var(--white);
}

/* Boutons */
.btn-auth {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, var(--brown), var(--brown-light));
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(111, 78, 55, 0.3);
  width: 100%;
  max-width: 300px;
}

.btn-auth:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(111, 78, 55, 0.4);
  background: linear-gradient(135deg, var(--brown), var(--brown-light));
}

/* Ligne verticale de séparation (Desktop) */
.vertical-divider {
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--pink-accent) 20%, var(--pink-accent) 80%, transparent);
  min-height: 500px;
}

/* Ligne horizontale de séparation (Mobile) */
.horizontal-divider {
  height: 2px;
  width: 80%;
  background: linear-gradient(to right, transparent, var(--pink-accent) 20%, var(--pink-accent) 80%, transparent);
  margin: 2rem auto;
}

/* Alerts */
.alert {
  font-family: "Poppins", sans-serif;
  border-radius: 15px;
  font-size: 0.95rem;
}

/* Responsive Mobile */
@media (max-width: 768px) {
  .login-title {
    font-size: 2.5rem;
  }

  .login-subtitle {
    font-size: 1rem;
  }

  .form-section {
    padding: 2rem 1.5rem;
  }

  .form-title {
    font-size: 1.8rem;
  }

  .btn-auth {
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }

  .login-wrapper {
    border-radius: 20px;
  }
}

@media (max-width: 576px) {
  .form-section {
    padding: 1.5rem 1rem;
  }

  .form-title {
    font-size: 1.6rem;
  }

  .auth-input {
    padding: 0.8rem;
    font-size: 0.95rem;
  }

  .btn-auth {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }
}
