/* Modern authentication pages (connexion / connexion spéciale) */

.auth-body {
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(135deg, #0f4c43 0%, #145c50 45%, #1c7a68 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Segoe UI', Arial, sans-serif;
  padding: 20px;
  box-sizing: border-box;
}

.auth-body .container {
  background: transparent;
  width: auto;
  max-width: none;
}

.auth-card {
  width: 360px;
  max-width: 100%;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  padding: 40px 34px 32px;
  box-sizing: border-box;
  text-align: center;
  animation: auth-fade-in .35s ease-out;
}

@keyframes auth-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.auth-logo-wrap {
  width: 96px;
  height: 96px;
  margin: -74px auto 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.auth-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-app-name {
  color: #8aa8a2;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 4px;
  font-weight: 600;
}

.auth-title {
  color: #17403a;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 26px;
}

.auth-field {
  position: relative;
  margin-bottom: 16px;
  text-align: left;
}

.auth-field i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa8a5;
  font-size: 14px;
}

.auth-field input {
  width: 100%;
  height: 46px;
  padding: 0 14px 0 40px;
  border: 1px solid #dfe6e4;
  border-radius: 10px;
  background: #f6f9f8;
  font-size: 14px;
  color: #1f2d2a;
  box-sizing: border-box;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.auth-field input::placeholder {
  color: #9aa8a5;
}

.auth-field input:focus {
  outline: none;
  border-color: #1c7a68;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(28, 122, 104, 0.15);
}

.auth-submit {
  width: 100%;
  height: 46px;
  margin-top: 6px;
  border: none;
  border-radius: 10px;
  background: #1c7a68;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .3px;
  cursor: pointer;
  transition: background .2s, transform .1s;
}

.auth-submit:hover {
  background: #145c50;
}

.auth-submit:active {
  transform: translateY(1px);
}

.auth-actions {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.auth-actions .auth-submit {
  width: auto;
  flex: 1;
  margin-top: 0;
}

.auth-btn-secondary {
  background: #f1f3f2;
  color: #4a5a56;
}

.auth-btn-secondary:hover {
  background: #e4e8e6;
}

.auth-footnote {
  margin-top: 20px;
  font-size: 12px;
  color: #9aa8a5;
}
