body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    height: 100%;
    background: #f5f7fb;
  }
  
  .login-wrapper {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .login-box {
    background-color: rgb(255, 255, 255);
    padding: 40px;
    border-radius: 20px;
    width: 340px;
    text-align: center;
    color: #666; 
    box-shadow: none;
    transition: box-shadow 0.3s ease-in-out;
  }
  
  .login-box:hover {
    box-shadow:
      0 0 25px rgba(172, 123, 123, 0.7),
      0 10px 30px rgba(0, 0, 0, 0.4);
  }
  
  .logo {
    width: 200px;
    margin-bottom: -20px;
  }
  
  h1 {
    margin: 0;
    font-size: 28px;
    font-weight: bold;
  }
  
  .welcome-text {
    font-size: 14px;
    margin: 10px 0 30px;
  }
  
  .input-group {
    margin-bottom: 20px;
    text-align: left;
  }
  
  .input-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 5px;
    color: #ffffff;
  }
  
  .input-group input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background-color: #ffffff28;
    color: white;
    font-size: 14px;
    box-sizing: border-box;
  }
  
  .input-icon {
    position: relative;
  }
  
  .input-icon input {
    padding-left: 36px;
  }
  
  .input-icon i {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 14px;
  }
  
  .input-icon .fa-lock {
    left: 12px;
    pointer-events: none;
  }

  .input-icon .fa-user {
    left: 12px;
    pointer-events: none;
  }
  
  
  .input-icon .fa-eye,
  .input-icon .fa-eye-slash {
    right: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
  }
  
  .input-icon .fa-eye:hover,
  .input-icon .fa-eye-slash:hover {
    transform: scale(1.2);
    color: #f55;
  }
  
  .forgot-password {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 25px;
    text-decoration: none;
  }

  .forgot-password:hover {
    color: #e53935;
    text-decoration: underline;
  }
  
  .login-btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(to right, #e53935, #e35d5b);
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .login-btn:hover {
    opacity: 0.9;
  }
  
  /* Masque l'icône "œil" native des navigateurs */
  input[type="password"]::-ms-reveal,
  input[type="password"]::-webkit-credentials-auto-fill-button,
  input[type="password"]::-webkit-input-decoration-container {
    display: none !important;
  }

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.reset-password-container {
    background-color: rgb(250, 250, 250);
    padding: 40px;
    border-radius: 20px;
    width: 340px;
    text-align: center;
    color: #666; 
    box-shadow: 0 2px 8px rgba(0, 0, 0, 18%);
    margin: auto;
}

h2 {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
}

.input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.input-wrapper i {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 14px;
}

.input-wrapper input {
    width: 100%;
    padding: 12px;
    padding-left: 36px;
    border: none;
    border-radius: 8px;
    background-color: #25222228;
    color: #666;
    font-size: 14px;
    box-sizing: border-box;
    transition: background 0.18s, box-shadow 0.18s;
}

.input-wrapper input:hover, .input-wrapper input:focus {
    background-color: #ffffff38;
    box-shadow: 0 0 0 2px rgba(229,57,53,0.10);
    outline: none;
}

.btn-reset {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(to right, #e53935, #e35d5b);
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s, transform 0.18s;
}

.btn-reset:hover {
    opacity: 0.9;
    transform: scale(1.04);
}

.success-message {
    display: none;
    font-size: 14px;
    color: #4CAF50;
    margin-top: 20px;
}

.success-message.show {
    display: block;
}

input::placeholder {
    position: absolute;
    left: 50px;
}
