:root {
  --brand-blue: #007bff;
  /* primary (buttons/focus) */
  --brand-blue-light: #9dcfff;
  /* corner glow */
  --brand-text: #0f2437;
  /* labels/body */
  --brand-accent: #0282cb;
  /* “Inscription” title */
}

body {
  background: #f8f9fa;
}

.login-container {
  max-width: 420px;
  margin: 100px auto 0;
  padding: 28px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  /* required for the glow */
}

/* --- Top-right blue glow --- */
@keyframes cornerPulse {
  0% {
    opacity: 0.35;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.08);
  }

  100% {
    opacity: 0.35;
    transform: scale(1);
  }
}

.login-container::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle at 35% 35%,
    var(--brand-blue-light) 0%,
    transparent 70%
  );
  filter: blur(6px);
  opacity: 0.45;
  animation: cornerPulse 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* --- Header with logo + underline --- */
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand-accent);
  position: relative;
  margin: 0 0 18px;
  z-index: 1;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 42px;
  bottom: -6px;
  width: 72px;
  height: 3px;
  background: var(--brand-blue);
  border-radius: 2px;
}

.section-title img {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* --- Inputs & labels --- */
.form-group label {
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--brand-text);
}

.form-control {
  border-radius: 6px;
  border: 1px solid #d9e1ea;
}

.form-control:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

.email-rules,
.password-rules {
  font-size: 0.95rem;
  margin: 10px 0 18px;
}

.password-rules li {
  margin-bottom: 5px;
}

.submit-btn {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 700;
  border: none;
  margin-top: 18px;
}

.submit-btn:hover {
  background: #0069d9;
}
