/* Reset basique */
/* =========================
   Style global MoodSync
   ========================= */

/* Police et couleur générale */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #007bff, #00a8ff);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Conteneur principal */
.container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0px 6px 25px rgba(0,0,0,0.15);
    text-align: center;
    animation: fadeIn 0.6s ease;
    max-width: 400px;
    width: 100%;
}

/* Logo */
.container img {
    width: 80px;
    margin-bottom: 15px;
}

/* Titres */
h1, h2 {
    color: #0056b3;
    margin-bottom: 20px;
}

/* Champs de formulaire */
input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

/* Boutons */
button, .btn {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 12px 20px;
    margin: 8px 5px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.3s;
}
button:hover, .btn:hover {
    background-color: #0056b3;
}

/* Liens secondaires */
.link-secondary {
    display: block;
    margin-top: 12px;
    color: #555;
    text-decoration: none;
}
.link-secondary:hover {
    text-decoration: underline;
}

/* Messages d'erreur */
.error {
    color: red;
    margin-bottom: 10px;
}

/* Animation d'apparition */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* reCAPTCHA ajustement */
.g-recaptcha {
    margin: 15px 0;
}





* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: all 0.3s ease;
  scroll-behavior: smooth;
  color: #333;
  background-color: #f9f9f9;
}

/* Conteneur principal */
.container {
  max-width: 960px;
  margin: 40px auto;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Titres */
h1, h2, h3 {
  color: #222;
  margin-bottom: 1rem;
  font-weight: 700;
  text-align: center;
}

/* Paragraphe */
p {
  line-height: 1.6;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

/* Boutons */
button, .btn {
  cursor: pointer;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  border: none;
  color: white;
  padding: 0.7rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(37, 117, 252, 0.5);
  user-select: none;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

button:hover, .btn:hover {
  background: linear-gradient(135deg, #2575fc 0%, #6a11cb 100%);
  box-shadow: 0 6px 20px rgba(106, 17, 203, 0.7);
}

/* Inputs */
input[type="text"], input[type="email"], input[type="password"], select, textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 1rem;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, select:focus, textarea:focus {
  border-color: #2575fc;
  outline: none;
  box-shadow: 0 0 8px rgba(37, 117, 252, 0.3);
}

/* Cartes (exemple pour humeur ou posts) */
.card {
  background: #fff;
  padding: 20px;
  margin-bottom: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Liste d’humeurs / choix */
.mood-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.mood-item {
  flex: 1 1 140px;
  background: #e5e7ff;
  color: #3f51b5;
  padding: 15px 20px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 3px 10px rgba(63, 81, 181, 0.3);
  transition: background 0.3s ease, color 0.3s ease;
}

.mood-item:hover {
  background: #3f51b5;
  color: white;
  box-shadow: 0 8px 20px rgba(63, 81, 181, 0.6);
}

/* Responsive simple */
@media (max-width: 600px) {
  .mood-list {
    flex-direction: column;
    gap: 12px;
  }
  
  .mood-item {
    flex: 1 1 100%;
  }
}

/* Footer simple */
footer {
  text-align: center;
  margin-top: 40px;
  padding: 20px 10px;
  font-size: 0.9rem;
  color: #777;
}
