@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Cairo", sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: url('bg2.avif') no-repeat center center;
  background-size: cover;
}

.wrapper {
  width: 420px;
  background: rgba(255, 255, 255, 0.95); /* blanc légèrement transparent */
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  color: #222;
  border-radius: 12px;
  padding: 30px 40px;
}

.wrapper h1 {
  font-size: 32px;
  text-align: center;
  color: #111;
}

.input-box {
  position: relative;
  width: 100%;
  height: 50px;
  margin: 25px 0;
}

.input-box input {
  width: 100%;
  height: 100%;
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.15);
  outline: none;
  border-radius: 40px;
  font-size: 16px;
  color: #111;
  padding: 12px 20px;
}

.input-box input::placeholder {
  color: #888;
}

.input-box i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #555;
}

.remember-forgot {
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
  margin: -10px 0 15px;
  color: #555;
}

.remember-forgot label input {
  accent-color: #333;
  margin-right: 6px;
}

.remember-forgot a {
  color: #1a73e8;
  text-decoration: none;
}

.remember-forgot a:hover {
  text-decoration: underline;
}

.btn {
  width: 100%;
  height: 45px;
  background: #1a73e8;
  border: none;
  outline: none;
  border-radius: 40px;
  box-shadow: 0 6px 18px rgba(26,115,232,0.25);
  cursor: pointer;
  font-size: 16px;
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  background: #1558b0;
}

.register-link {
  font-size: 14.5px;
  text-align: center;
  margin: 20px 0 15px;
  color: #555;
}

.register-link p a {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 600;
}

.register-link p a:hover {
  text-decoration: underline;
}

