/**
 * Page de connexion + shell auth (canonique partagé).
 * Une seule source de vérité pour cds / publis / wp.
 */

.ds-auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  background-image: none;
  position: relative;
  overflow: hidden;
}

.ds-auth-shell::before,
.ds-auth-shell::after {
  content: none;
  display: none;
}

.ds-auth-shell-inner {
  width: 100%;
  max-width: 420px;
  padding: 16px;
  box-sizing: border-box;
}

.ds-login-page {
  width: 100%;
}

.ds-login-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  padding: 22px 24px;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.ds-login-brand {
  text-align: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 16px;
}

/* Taille fixe : identique quel que soit le parent */
.ds-login-logo-img {
  width: 180px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 12px;
  object-fit: contain;
}

.ds-login-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.ds-login-sub {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.ds-login-form {
  display: grid;
  gap: 12px;
}

.ds-login-form .ds-form-group {
  margin-bottom: 0;
}

.ds-login-btn-full {
  width: 100%;
  justify-content: center;
  padding: 8px 14px;
  font-size: 13px;
  margin-top: 4px;
}

.ds-login-hint {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--text-tertiary);
  text-align: center;
}
