* {
  box-sizing: border-box;
  margin: 0;
}

body {
  font-family: Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('/assets/bg-travel.jpg') center/cover no-repeat;
}

.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 750px;
  background: rgba(255, 255, 255, 0.75); /* plus opaque */
  backdrop-filter: blur(18px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15); /* plus léger */
  animation: fadeIn 0.5s ease;
}

h1 {
  text-align: center;
  font-size: 30px;
  color: #0f172a;
}

.subtitle {
  text-align: center;
  margin-top: 8px;
  color: #334155;
  font-size: 14px;
}

.form {
  margin-top: 25px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.input-group {
  display: flex;
  flex-direction: column;
}

.input-group.full {
  grid-column: 1 / -1;
}

label {
  margin-bottom: 5px;
  font-weight: 600;
  color: #0f172a;
}

input,
textarea {
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

textarea {
  min-height: 100px;
  resize: none;
}

button {
  margin-top: 15px;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  font-weight: bold;
  cursor: pointer;
  font-size: 15px;
}

button:hover {
  transform: scale(1.02);
}

.error {
  background: #fee2e2;
  color: #991b1b;
  padding: 10px;
  border-radius: 10px;
  margin-top: 10px;
  font-size: 14px;
}

.link {
  text-align: center;
  margin-top: 15px;
}

.link a {
  text-decoration: none;
  color: #0f172a;
  font-weight: bold;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 700px) {
  .grid {
    grid-template-columns: 1fr;
  }
}