* {
  box-sizing: border-box;
  margin: 0;
}

html,
body {
  height: 100%;
  font-family: Arial, sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('/assets/bg-travel.jpg') center/cover no-repeat;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.35); /* 🔥 AU LIEU DE noir */
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  padding: 20px;
}

.card {
  width: 100%;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  padding: 34px 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  animation: fadeIn 0.5s ease;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  margin: 0 auto 18px auto;
}

.badge-wrap {
  text-align: center;
}

h1 {
  text-align: center;
  font-size: 32px;
  color: #0f172a;
}

.subtitle {
  margin-top: 10px;
  text-align: center;
  color: #334155;
  font-size: 14px;
  line-height: 1.5;
}

.form {
  margin-top: 24px;
}

.input-group {
  margin-bottom: 16px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: #0f172a;
}

input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  color: #0f172a;
}

input:focus {
  outline: 2px solid rgba(34, 197, 94, 0.35);
}

.btn {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  margin-top: 8px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.links {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  color: #334155;
}

.links a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
}

.error {
  background: rgba(254, 226, 226, 0.95);
  color: #991b1b;
  padding: 12px;
  border-radius: 12px;
  margin-top: 16px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}