.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 25vh;
  padding: 2rem;
}

.login-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  width: 500px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  color: #333;
}

.login-header-img {
  position: absolute;
  height: inherit;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.25);
  top: 0;
  left: 0;
}

.login-header {
  background: url("https://www.lejdd.fr/lmnr/var/jdd/public/media/image/2022/07/19/12/escrime-comment-les-francais-apprivoisent-leurs-armes.jpg?VersionId=Mw31AogdDUwVLuCaVdxMozm9kito7TTP") no-repeat center/cover;
  position: relative;
  padding: 4rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  color: white;
}

.login-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  /* voile sombre */
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  /* effet de flou */
  z-index: 1;
  border-radius: 0.5rem;
}

.login-header h1 {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.login-header h2 {
  margin-bottom: 0.5rem;
}

.login-header p {
  font-size: 0.85rem;
  line-height: 1.4;
}

.login-form {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.input-group {
  display: flex;
  align-items: center;
  border-radius: 20px;
  position: relative;
  background-color: #235d4f;
  padding: 1rem;
}

.input-group input {
  width: 100%;
  padding: 1rem;
  font-size: 16px;
  color: white;
  border: none;
  border-bottom: 1px solid white;
  outline: none;
  background: transparent;
}

.input-group input:focus~label,
.input-group input:valid~label {
  top: 0;
  left: 0;
  color: #235d4f;
  font-size: 12px;
  padding: .6rem;
}

.input-group input .form-control:focus {
  border-color: transparent !important;
}

.input-group label {
  position: absolute;
  top: 22px;
  left: 0;
  font-size: 16px;
  color: white;
  pointer-events: none;
  transition: 0.5s;
  padding: .6rem;
}

.input-group .icon {
  color: white;
  margin-right: 0.5rem;
}

.options {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #555;
}

.options a {
  color: #235d4f;
  text-decoration: none;
}

.login-btn {
  background-color: #235d4f;
  color: white;
  padding: 0.6rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-btn:hover {
  background-color: #1b4b3d;
}