* {
  box-sizing: border-box;
}

.login-body {
  margin: 0;
  min-height: 100vh;
  background: #0a0b0e;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Carte de connexion avec bordure neutre au repos */
.login-card {
  width: 100%;
  max-width: 420px;
  background: #12111f;
  border: 1px solid #232838; /* Bordure neutre de base */
  border-radius: 22px;
  padding: 40px 32px 32px;
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Pas de halo au repos */
}

/* Bordure violette + halo lumineux au survol */
.login-card:hover {
  border-color: #7c5ce0;
  box-shadow: 0 0 30px rgba(124, 92, 237, 0.4);
}

.login-logo-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -16px;
  background: radial-gradient(circle, rgba(124, 102, 220, 0.45), transparent 70%);
  border-radius: 50%;
  filter: blur(6px);
}
.login-logo {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #a78bfa, #6d5bd0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.login-logo i {
  width: 26px;
  height: 26px;
}

.login-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
}
.login-subtitle {
  color: #8d8aa6;
  font-size: 0.95rem;
  margin: 0 0 28px;
}

.login-form {
  text-align: left;
}
.login-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #cbd0dc;
  margin-bottom: 8px;
}
.login-input {
  width: 100%;
  background: #eef1fb;
  color: #14131f;
  border: none;
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.login-input::placeholder {
  color: #8891a8;
}
.login-input:focus {
  outline: 2px solid #7c66dc;
  outline-offset: 1px;
}

.login-password-wrap {
  position: relative;
}
.login-password-wrap .login-input {
  padding-right: 42px;
  margin-bottom: 0;
}
.login-eye-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #8891a8;
  cursor: pointer;
  padding: 4px;
  display: flex;
}
.login-eye-btn:hover {
  color: #4b5266;
}

.login-forgot {
  text-align: right;
  margin: 10px 0 20px;
}
.login-forgot a {
  color: #7c66dc;
  font-size: 0.82rem;
  text-decoration: none;
}
.login-forgot a:hover {
  text-decoration: underline;
}

.login-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #7c66dc;
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 8px 20px -6px rgba(124, 102, 220, 0.6);
  transition: background-color 0.2s ease, filter 0.2s ease;
}
.login-submit:hover {
  background: #6c57ce;
  filter: brightness(1.05);
}

.login-signup {
  margin-top: 22px;
  color: #8d8aa6;
  font-size: 0.85rem;
  text-align: center;
}
.login-signup a {
  color: #7c66dc;
  font-weight: 600;
  text-decoration: none;
}
.login-signup a:hover {
  text-decoration: underline;
}