
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #00b09b, #96c93d);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
  }
  
  h1 {
    margin-bottom: 20px;
    color: white;
  }
  
  form {
    background: white;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
  }

  label {
    display: block;
    margin-top: 15px;         /* Ajoute de l’espace au-dessus du label */
    margin-bottom: 5px;       /* Un petit espace sous le label */
    color: #333;
    font-weight: 500;
  }
  
  input[type="email"],
  input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s;
    font-size: 15px;
  }
  
  input[type="email"]::placeholder,
  input[type="password"]::placeholder {
    color: #aaa;
    font-style: italic;
  }
  
  input[type="email"]:focus,
  input[type="password"]:focus {
    border-color: #00b09b;
    outline: none;
  }
  
  button {
    margin-top: 25px;
    width: 100%;
    padding: 14px;
    background-color: #00b09b;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .subtitle {
    margin-top: -10px;
    margin-bottom: 20px;
    color: #e8f5e9;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
  }
  
  .password-wrapper {
    position: relative;
    margin-bottom: 15px;
  }
  
  .password-wrapper input {
    width: 100%;
    padding: 12px 45px 12px 12px; /* ✅ espace à droite pour l’icône */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 15px;
    box-sizing: border-box;
    background-color: #e9f2fc;
  }
  
  .password-wrapper i {
    position: absolute;
    top: 60%;
    right: 14px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    font-size: 18px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  button:hover {
    background-color: #009688;
  }
  