/* ══════════════════════════════════════════════════
   Auth pages — scoped under .auth-wrap
   Zero conflict with parent theme
   ══════════════════════════════════════════════════ */

/* Page reset */
body#authentication,
body#registration {
  overflow-x: hidden !important;
}

body#authentication #wrapper,
body#registration   #wrapper {
  background: #f0f2f5 !important;
  padding: 0 !important;
  box-shadow: none !important;
  height: 100vh !important;
  overflow: hidden !important;
}
body#authentication #main,
body#registration   #main { padding: 0 !important; height: 100% !important; }
body#authentication #content,
body#registration   #content { padding: 0 !important; max-width: none !important; height: 100% !important; }

/* ── Page shell ─────────────────────────────────── */
.auth-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  background: #f0f2f5;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ── Top bar ────────────────────────────────────── */
.auth-wrap .aw-topbar {
  width: 100%;
  max-width: 620px;
  margin-bottom: 36px;
}

.auth-wrap .aw-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  text-decoration: none;
  transition: color .15s;
}
.auth-wrap .aw-back:hover { color: #111; text-decoration: none; }

/* ── Logo ───────────────────────────────────────── */
.auth-wrap .aw-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}
.auth-wrap .aw-logo img { max-height: 76px; width: auto; }

/* ── Card ───────────────────────────────────────── */
.auth-wrap .aw-card {
  width: 100%;
  max-width: 620px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06), 0 8px 32px rgba(0,0,0,.06);
  padding: 48px 52px;
  margin-bottom: 24px;
}

body#registration .auth-wrap .aw-card { max-width: 620px; }

.auth-wrap .aw-title {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}

.auth-wrap .aw-sub {
  font-size: 14px;
  color: #888;
  margin: 0 0 32px;
}
.auth-wrap .aw-sub a { color: #28a745; font-weight: 600; text-decoration: none; }
.auth-wrap .aw-sub a:hover { text-decoration: underline; }

/* ── Errors ─────────────────────────────────────── */
.auth-wrap .aw-errors {
  background: #fff5f5;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #dc2626;
}

/* ════════════════════════════════════════════════
   FORM FIELD OVERRIDES — all scoped to .auth-wrap
   ════════════════════════════════════════════════ */

/* Reset Bootstrap row/col inside card */
.auth-wrap .form-group {
  margin-bottom: 20px !important;
  padding: 0 !important;
}

.auth-wrap .form-group.row {
  display: flex !important;
  flex-direction: column !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Label */
.auth-wrap .form-control-label,
.auth-wrap .col-md-3.form-control-label {
  flex: none !important;
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 0 7px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #374151 !important;
  text-align: left !important;
}

/*
 * Astérisque et badge "optionnel" — uniquement sur les champs texte/select/radio.
 * :has(.custom-checkbox) exclut les groupes checkbox dont le label extérieur
 * est vide (mais contient du whitespace, donc :empty ne matchait pas).
 */
/* Toutes les étapes — :has(.custom-checkbox) empêche les astérisques flottants sur les labels vides des checkboxes */
.auth-wrap .form-group.row:not(:has(.custom-checkbox)) .form-control-label.required::after {
  content: ' *';
  color: #ef4444;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}

.auth-wrap .form-group.row:not(:has(.custom-checkbox)) .form-control-label:not(.required)::after {
  content: 'optionnel';
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  color: #9ca3af;
  background: #f3f4f6;
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 7px;
  vertical-align: middle;
  letter-spacing: .03em;
  text-transform: lowercase;
}

/* Input column */
.auth-wrap .col-md-6 {
  flex: none !important;
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}

/* Optional comment */
.auth-wrap .col-md-3.form-control-comment {
  width: 100% !important;
  max-width: 100% !important;
  padding: 5px 0 0 !important;
  font-size: 11px !important;
  color: #aaa !important;
  font-style: italic !important;
}

/* ── Inputs ─────────────────────────────────────── */
.auth-wrap .form-control {
  display: block !important;
  width: 100% !important;
  height: 48px !important;
  padding: 0 14px !important;
  background: #f9fafb !important;
  border: 1.5px solid #e5e7eb !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  color: #111 !important;
  box-shadow: none !important;
  outline: none !important;
  transition: border-color .18s, background .18s !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.auth-wrap .form-control::placeholder { color: #c4c4c4 !important; }

.auth-wrap .form-control:focus {
  background: #fff !important;
  border-color: #28a745 !important;
  box-shadow: 0 0 0 3px rgba(40,167,69,.1) !important;
}

.auth-wrap .form-group.has-error .form-control {
  border-color: #f87171 !important;
  background: #fff !important;
}

/* field errors */
.auth-wrap .help-block { margin: 5px 0 0 !important; }
.auth-wrap .help-block .alert { background: none !important; border: none !important; padding: 0 !important; margin: 0 !important; }
.auth-wrap .help-block .alert-danger { font-size: 12px !important; color: #dc2626 !important; }
.auth-wrap .form-control-comment { font-size: 11px !important; color: #bbb !important; margin-top: 4px !important; }

/* select */
.auth-wrap select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 13px center !important;
  padding-right: 36px !important;
  cursor: pointer !important;
}

/* ── Password ───────────────────────────────────── */
/*
 * Parent : display:table + float:left (Bootstrap 3 table-cell pattern).
 * On écrase tout pour passer en flex propre.
 */
.auth-wrap .input-group {
  display: flex !important;
  float: none !important;       /* annule le float:left du parent */
  width: 100% !important;
  border-radius: 10px !important;
  overflow: hidden;
}

.auth-wrap .input-group .form-control {
  display: block !important;    /* annule display:table-cell du parent */
  float: none !important;       /* annule float:left du parent */
  border-radius: 10px 0 0 10px !important;
  border-right: 0 !important;
  flex: 1 !important;
  width: auto !important;       /* en flex, width:100% du parent écraserait flex */
}

.auth-wrap .input-group-btn {
  display: flex !important;
  align-items: stretch !important;
  width: auto !important;       /* annule width:1% (table-cell) du parent */
}

.auth-wrap .input-group-btn .btn[data-action="show-password"] {
  height: 48px !important;
  padding: 0 16px !important;
  background: #f9fafb !important;
  border: 1.5px solid #e5e7eb !important;
  border-left: none !important;
  border-radius: 0 10px 10px 0 !important;
  color: #888 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background .15s, color .15s !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

.auth-wrap .input-group:focus-within .form-control { border-color: #28a745 !important; }
.auth-wrap .input-group:focus-within .input-group-btn .btn { border-color: #28a745 !important; }

.auth-wrap .input-group-btn .btn:hover {
  background: #f0fdf4 !important;
  color: #28a745 !important;
}

/* ── Radio (Titre) ──────────────────────────────── */
/*
 * Le parent utilise .custom-radio comme cercle visuel (border grey)
 * et un <span> intérieur bleu (#2fb5d2) quand coché.
 * On re-thème le tout en vert.
 */
.auth-wrap .form-control-valign {
  display: flex !important;
  gap: 16px !important;
  padding: 6px 0 !important;
}

.auth-wrap .radio-inline {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 14px !important;
  color: #374151 !important;
  cursor: pointer !important;
  margin: 0 !important;
}

/* Cercle visuel */
.auth-wrap .custom-radio {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 20px !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  border: 2px solid #d1d5db !important;
  background: #f9fafb !important;
  position: relative !important;
  margin-right: 0 !important;
  transition: border-color .15s !important;
}

.auth-wrap .radio-inline:hover .custom-radio {
  border-color: #28a745 !important;
}

/* Input natif : invisible mais cliquable */
.auth-wrap .custom-radio input[type="radio"] {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  cursor: pointer !important;
  margin: 0 !important;
}

/* Point intérieur : remplace le bleu du parent par du vert */
.auth-wrap .custom-radio input[type="radio"] + span {
  display: none !important;
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background: #28a745 !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

.auth-wrap .custom-radio input[type="radio"]:checked + span {
  display: block !important;
}

/* Cercle vert quand coché */
.auth-wrap .custom-radio:has(input[type="radio"]:checked) {
  border-color: #28a745 !important;
  background: #fff !important;
}

/* Focus clavier radio (parent met border-color:#7a7a7a sur le +span, on cible le cercle) */
.auth-wrap .custom-radio input[type="radio"]:focus-visible ~ * { outline: none; }
.auth-wrap .custom-radio:has(input[type="radio"]:focus-visible) {
  outline: 3px solid rgba(40,167,69,.35) !important;
  outline-offset: 2px !important;
}

/* ── Checkboxes ─────────────────────────────────── */

/* Masque les colonnes vides générées par PrestaShop */
.auth-wrap .form-group.row .form-control-label:empty,
.auth-wrap .form-group.row .col-md-3.form-control-label:empty,
.auth-wrap .form-group.row .col-md-3.form-control-comment:empty { display: none !important; }

/* Masque aussi le label whitespace-only des groupes checkbox (whitespace != :empty en CSS) */
.auth-wrap .form-group.row:has(.custom-checkbox) .form-control-label { display: none !important; }

.auth-wrap .custom-checkbox {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  cursor: pointer !important;
  padding: 2px 0 !important;
  position: relative !important; /* CRITIQUE : l'input absolu doit rester dans ce conteneur */
}

/*
 * Le thème parent cache le <input> natif avec opacity:0;position:absolute
 * et utilise un <span> comme visuel (carré noir).
 * On réinitialise le <input> et on restyle le <span>.
 */
.auth-wrap .custom-checkbox input[type="checkbox"] {
  opacity: 0 !important;        /* garde l'<input> invisible (overlay cliquable) */
  position: absolute !important;
  width: 18px !important;
  height: 18px !important;
  cursor: pointer !important;
  margin: 0 !important;
  z-index: 1 !important;
}

/* Le <span> : carré visuel custom → vert */
.auth-wrap .custom-checkbox input[type="checkbox"] + span {
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  border: 2px solid #d1d5db !important;
  border-radius: 5px !important;
  background: #f9fafb !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 2px 0 0 !important;
  transition: border-color .15s, background .15s !important;
  cursor: pointer !important;
}

.auth-wrap .custom-checkbox:hover input[type="checkbox"] + span {
  border-color: #28a745 !important;
}

/* Cochée */
.auth-wrap .custom-checkbox input[type="checkbox"]:checked + span {
  background: #28a745 !important;
  border-color: #28a745 !important;
}

/* Icône check (Font Awesome) */
.auth-wrap .custom-checkbox input[type="checkbox"] + span .checkbox-checked {
  display: none !important;
  color: #fff !important;
  font-size: 11px !important;
  margin: 0 !important;
  line-height: 1 !important;
}
.auth-wrap .custom-checkbox input[type="checkbox"]:checked + span .checkbox-checked {
  display: block !important;
}

/* Focus clavier checkbox */
.auth-wrap .custom-checkbox:has(input[type="checkbox"]:focus-visible) input[type="checkbox"] + span {
  outline: 3px solid rgba(40,167,69,.35) !important;
  outline-offset: 2px !important;
}

.auth-wrap .custom-checkbox label {
  font-size: 13px !important;
  color: #555 !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  cursor: pointer !important;
  margin: 0 !important;
  padding-left: 0 !important;
}


/* ── Forgot password ────────────────────────────── */
.auth-wrap .forgot-password { text-align: right; margin-top: 6px; }
.auth-wrap .forgot-password a {
  font-size: 13px;
  color: #28a745;
  font-weight: 500;
  text-decoration: none;
}
.auth-wrap .forgot-password a:hover { text-decoration: underline; }

/* ── Submit button ──────────────────────────────── */
.auth-wrap .form-footer {
  margin-top: 28px !important;
  clear: both !important;
  padding: 0 !important;
}

.auth-wrap #submit-login,
.auth-wrap .btn-primary,
.auth-wrap button[type="submit"] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 50px !important;
  background: #28a745 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background .18s, box-shadow .18s !important;
  box-shadow: 0 4px 14px rgba(40,167,69,.3) !important;
  float: none !important;
}

.auth-wrap #submit-login:hover,
.auth-wrap .btn-primary:hover,
.auth-wrap button[type="submit"]:hover {
  background: #218838 !important;
  box-shadow: 0 6px 20px rgba(40,167,69,.4) !important;
}

/* ── Separator ──────────────────────────────────── */
.auth-wrap .aw-sep {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0;
  color: #ccc;
  font-size: 12px;
}
.auth-wrap .aw-sep::before,
.auth-wrap .aw-sep::after { content: ''; flex: 1; height: 1px; background: #eee; }

/* ── Create account block ───────────────────────── */
.auth-wrap .aw-register { margin-bottom: 28px; }
.auth-wrap .aw-register-title { font-size: 14px; font-weight: 700; color: #111; margin: 0 0 4px; }
.auth-wrap .aw-register-link { font-size: 14px; color: #28a745; font-weight: 600; text-decoration: none; }
.auth-wrap .aw-register-link:hover { text-decoration: underline; }

/* ── Benefits ───────────────────────────────────── */
.auth-wrap .aw-perks-title { font-size: 14px; font-weight: 700; color: #111; margin: 0 0 12px; }
.auth-wrap .aw-perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.auth-wrap .aw-perks li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #555; }
.auth-wrap .aw-perks li svg { color: #28a745; flex-shrink: 0; }

/* ── Page footer ────────────────────────────────── */
.auth-wrap .aw-footer {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: #bbb;
  margin-top: 8px;
}
.auth-wrap .aw-footer a { color: #bbb; text-decoration: none; }
.auth-wrap .aw-footer a:hover { color: #888; }

/* ── Registration compact overrides ────────────── */
body#registration .auth-wrap                    { padding: 16px 20px; }
body#registration .auth-wrap .aw-topbar         { margin-bottom: 18px; }
body#registration .auth-wrap .aw-logo           { margin-bottom: 16px; }
body#registration .auth-wrap .aw-logo img       { max-height: 76px; }
body#registration .auth-wrap .aw-card           { padding: 36px 52px; margin-bottom: 16px; }
body#registration .auth-wrap .aw-title          { font-size: 19px; margin-bottom: 2px; }
body#registration .auth-wrap .aw-sub            { margin: 0 0 20px; font-size: 13px; }
body#registration .auth-wrap .form-group        { margin-bottom: 14px !important; }
body#registration .auth-wrap .form-control      { height: 42px !important; font-size: 16px !important; }
body#registration .auth-wrap .input-group-btn .btn[data-action="show-password"] { height: 42px !important; }
body#registration .auth-wrap .form-control-label,
body#registration .auth-wrap .col-md-3.form-control-label { padding: 0 0 5px !important; font-size: 12px !important; }
body#registration .auth-wrap .form-footer       { margin-top: 20px !important; }
body#registration .auth-wrap button[type="submit"],
body#registration .auth-wrap .btn-primary       { height: 44px !important; }

/* ════════════════════════════════════════════════
   MULTI-STEP FORM
   ════════════════════════════════════════════════ */

/* Steps show/hide */
.auth-wrap .aw-step           { display: none; }
.auth-wrap .aw-step.is-active { display: block; }

/* Progress indicator */
.aw-progress {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 28px;
}

.aw-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex: none;
}

.aw-progress-line {
  flex: 1;
  min-width: 36px;
  max-width: 72px;
  height: 2px;
  background: #e5e7eb;
  margin-top: 14px;
  transition: background .3s;
}
.aw-progress-line.is-done { background: #28a745; }

.aw-progress-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #bbb;
  transition: all .25s;
  flex-shrink: 0;
}

.aw-progress-step.is-active .aw-progress-dot,
.aw-progress-step.is-done   .aw-progress-dot {
  border-color: #28a745;
  background: #28a745;
  color: #fff;
}

.aw-progress-label {
  font-size: 10px;
  font-weight: 600;
  color: #ccc;
  white-space: nowrap;
  transition: color .25s;
}
.aw-progress-step.is-active .aw-progress-label,
.aw-progress-step.is-done   .aw-progress-label { color: #28a745; }

/* Step navigation */
.aw-step-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.aw-prev-btn {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  font-size: 13px !important;
  color: #999 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: auto !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  transition: color .15s !important;
}
.aw-prev-btn:hover { color: #333 !important; }

/* Email recap on password step */
.aw-email-recap {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  background: #f3f4f6;
  border-radius: 8px;
  padding: 8px 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ════════════════════════════════════════════════
   DATE PICKER
   ════════════════════════════════════════════════ */

/* Trigger — scoped inside .auth-wrap */
.auth-wrap .dp-wrap { position: relative; }

.auth-wrap .dp-trigger {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  color: #c4c4c4 !important;
  text-align: left !important;
  transition: border-color .18s, background .18s !important;
}
.auth-wrap .dp-trigger:hover      { border-color: #28a745 !important; }
.auth-wrap .dp-trigger.has-value  { color: #111 !important; }
.auth-wrap .dp-trigger .dp-text   { flex: 1; font-size: 14px; }
.auth-wrap .dp-trigger svg        { flex-shrink: 0; color: #ccc; }
.auth-wrap .dp-trigger.has-value svg { color: #28a745; }

/* Column labels — scoped */
.auth-wrap .dp-col-labels {
  display: flex;
  padding: 0 4px;
  margin-bottom: 6px;
}
.auth-wrap .dp-col-labels span {
  font-size: 10px;
  font-weight: 600;
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: .07em;
  text-align: center;
}
.auth-wrap .dp-col-labels span:nth-child(1) { flex: 1; }
.auth-wrap .dp-col-labels span:nth-child(2) { flex: 2; }
.auth-wrap .dp-col-labels span:nth-child(3) { flex: 1.4; }

/* Backdrop */
.dp-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
}
.dp-backdrop.is-open { display: block; }

/* Modal */
.dp-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.95);
  z-index: 9999;
  width: 320px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(0,0,0,.22);
  padding: 24px 20px 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  opacity: 0;
  transition: opacity .2s, transform .2s;
}
.dp-modal.is-open {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Header */
.dp-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.dp-modal-title {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  letter-spacing: -.01em;
}
.dp-modal-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f3f4f6;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  transition: background .15s, color .15s;
}
.dp-modal-close:hover { background: #e5e7eb; color: #111; }

/* Drums wrapper — scoped inside .dp-modal */
.dp-modal .dp-drums-wrap {
  position: relative;
  margin-bottom: 16px;
  border-radius: 14px;
  overflow: hidden;
  background: #f9fafb;
}

.dp-modal .dp-selector-line {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0; right: 0;
  height: 44px;
  background: #fff;
  border-top: 1.5px solid #e5e7eb;
  border-bottom: 1.5px solid #e5e7eb;
  pointer-events: none;
  z-index: 1;
}

.dp-modal .dp-drums-wrap::before,
.dp-modal .dp-drums-wrap::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 35%;
  pointer-events: none;
  z-index: 2;
}
.dp-modal .dp-drums-wrap::before { top: 0;    background: linear-gradient(to bottom, #f9fafb 0%, transparent 100%); }
.dp-modal .dp-drums-wrap::after  { bottom: 0; background: linear-gradient(to top,   #f9fafb 0%, transparent 100%); }

.dp-modal .dp-drums { display: flex; }

.dp-modal .dp-drum {
  height: 220px;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.dp-modal .dp-drum::-webkit-scrollbar { display: none; }

#dp-drum-d { flex: 1; }
#dp-drum-m { flex: 2; border-left: 1px solid #f0f0f0; border-right: 1px solid #f0f0f0; }
#dp-drum-y { flex: 1.4; }

.dp-modal .dp-drum-inner { padding: 88px 0; }

.dp-modal .dp-drum-item {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  font-size: 13px;
  color: #bbb;
  cursor: pointer;
  user-select: none;
  position: relative;
  z-index: 3;
  transition: color .1s, font-weight .1s;
}
.dp-modal .dp-drum-item.is-selected {
  color: #111;
  font-weight: 700;
  font-size: 15px;
}

.dp-modal .dp-confirm {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  background: #28a745;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(40,167,69,.35);
  transition: background .18s, box-shadow .18s;
}
.dp-modal .dp-confirm:hover {
  background: #218838;
  box-shadow: 0 6px 20px rgba(40,167,69,.45);
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 680px) {
  .auth-wrap .aw-card,
  body#registration .auth-wrap .aw-card { padding: 32px 28px; }
}

@media (max-width: 520px) {
  .auth-wrap { padding: 16px; justify-content: flex-start; padding-top: 24px; }
  .auth-wrap .aw-topbar { margin-bottom: 20px; }
  .auth-wrap .aw-logo { margin-bottom: 18px; }
  .auth-wrap .aw-logo img { max-height: 56px; }
  .auth-wrap .aw-card { padding: 24px 18px; border-radius: 14px; margin-bottom: 16px; }
  .auth-wrap .aw-title { font-size: 20px; }
  body#registration .auth-wrap { padding-top: 20px; }
  body#registration .auth-wrap .aw-card { padding: 20px 16px; }
  body#registration .auth-wrap .aw-logo img { max-height: 48px; }
}

@media (max-width: 380px) {
  .auth-wrap { padding: 12px; padding-top: 16px; }
  .auth-wrap .aw-card { padding: 20px 14px; border-radius: 12px; }
  .auth-wrap .aw-title { font-size: 18px; }
  body#registration .auth-wrap .aw-card { padding: 16px 12px; }
}
