/* ═══════════════════════════════════════════
   membre.css — Espace membres L'Art-Scène
   ═══════════════════════════════════════════ */

:root {
  --m-gold: #c9a84c;
  --m-bg: #080808;
  --m-card: #fff;
  --m-border: #e8e4dc;
  --m-text: #111;
  --m-text2: #555;
  --m-text3: #999;
}

* { box-sizing: border-box; }

body.membre-auth-body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: var(--m-bg);
  background-image: radial-gradient(circle at 20% 20%, rgba(201,168,76,0.06), transparent 50%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-wrap { width: 100%; max-width: 400px; }

.auth-card {
  background: #0f0f0f;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 8px;
  padding: 40px 36px;
  text-align: center;
}

.auth-logo img { height: 32px; width: auto; margin-bottom: 8px; }

.auth-sub {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
}

.auth-title {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  margin: 0 0 24px;
}

.auth-intro {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin: 0 0 24px;
  text-align: left;
}

.auth-error {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(224,96,96,0.1);
  border: 1px solid rgba(224,96,96,0.3);
  color: rgba(224,96,96,0.95);
  font-size: 12px;
  padding: 10px 14px;
  border-radius: 4px;
  margin-bottom: 20px;
  text-align: left;
}

.auth-success {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(92,184,92,0.1);
  border: 1px solid rgba(92,184,92,0.3);
  color: rgba(92,184,92,0.95);
  font-size: 12px;
  padding: 14px;
  border-radius: 4px;
  margin-bottom: 24px;
  text-align: left;
  line-height: 1.6;
}
.auth-success i { font-size: 20px; flex-shrink: 0; }

.auth-form { text-align: left; }

.auth-label {
  display: block;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin: 16px 0 6px;
}
.auth-label:first-child { margin-top: 0; }

.auth-input {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 14px;
  padding: 11px 14px;
  border-radius: 4px;
  font-family: inherit;
  transition: border-color 0.15s;
}
.auth-input:focus {
  outline: none;
  border-color: var(--m-gold);
}

.auth-hint {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  margin-top: 4px;
}

.auth-submit {
  display: block;
  width: 100%;
  background: var(--m-gold);
  color: #000;
  border: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 20px;
  margin-top: 24px;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s;
}
.auth-submit:hover { background: #ddb95a; }
.auth-submit-link { display: block; }

.auth-links {
  margin-top: 24px;
  font-size: 11px;
}
.auth-links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
}
.auth-links a:hover { color: var(--m-gold); }
.auth-sep { color: rgba(255,255,255,0.2); margin: 0 8px; }

/* ═══════════════════════════════════════════
   Layout espace membre connecté
   ═══════════════════════════════════════════ */

body.m-body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: #0a0a0a;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
}

.m-header {
  background: #000;
  border-bottom: 3px solid var(--m-gold);
  padding: 0 28px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.m-header-logo { display: flex; align-items: center; gap: 12px; }
.m-header-logo img { height: 36px; width: auto; }
.m-header-tag {
  font-size: 8px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); border-left: 1px solid rgba(255,255,255,0.12);
  padding-left: 12px; line-height: 1.4;
}
.m-header-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.m-notif-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
}
.m-notif-btn i { font-size: 18px; color: rgba(255,255,255,0.5); }
.m-notif-dot {
  position: absolute; top: 2px; right: 4px;
  width: 8px; height: 8px;
  background: #e85555;
  border-radius: 50%;
  border: 2px solid #000;
}
.m-header-user {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.m-header-logout {
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 5px 12px;
  text-decoration: none;
  transition: all 0.15s;
}
.m-header-logout:hover { color: #fff; border-color: rgba(255,255,255,0.3); }

.m-layout { display: flex; min-height: calc(100vh - 56px); }

.m-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #111;
  border-right: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
}
.m-lbl {
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 8px 20px 4px;
}
.m-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 20px;
  cursor: pointer;
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  text-decoration: none;
  transition: all 0.15s;
}
.m-item:hover { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.9); }
.m-item.active {
  background: rgba(201,168,76,0.08); color: #fff; font-weight: 600;
  border-left: 3px solid var(--m-gold);
  padding-left: 17px;
}
.m-item-left { display: flex; align-items: center; gap: 8px; }
.m-item i { font-size: 15px; color: rgba(255,255,255,0.3); }
.m-item.active i { color: var(--m-gold); }
.m-item-danger { color: #e85555; }
.m-item-danger i { color: #e85555 !important; }
.m-badge {
  background: var(--m-gold); color: #000;
  font-size: 8px; font-weight: 700;
  padding: 2px 6px; border-radius: 8px;
}
.m-badge.red { background: #e85555; color: #fff; }
.m-sep { height: 1px; background: rgba(255,255,255,0.07); margin: 12px 16px; }

.m-main { flex: 1; padding: 32px 36px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.m-main > * { width: 100%; max-width: 900px; }
/* Vue d'ensemble : contenu centré verticalement (marges haut/bas égales) */
.m-main--center { justify-content: safe center; }

.m-profil-strip {
  display: flex; align-items: center; gap: 20px;
  background: #1a1a1a;
  border: 1px solid rgba(201,168,76,0.2);
  border-left: 3px solid var(--m-gold);
  padding: 18px 24px;
  margin-bottom: 24px;
}
.m-profil-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #000;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.m-profil-avatar img { width: 100%; height: 100%; object-fit: cover; }
.m-profil-avatar i { font-size: 22px; color: var(--m-gold); }
.m-profil-info { flex: 1; }
.m-profil-name { font-size: 15px; font-weight: 600; color: #fff; }
.m-profil-type { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--m-gold); margin-top: 2px; }
.m-profil-num { font-size: 10px; color: rgba(255,255,255,0.4); margin-top: 2px; }
.m-profil-actions { display: flex; gap: 8px; }
.m-btn-sm {
  font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 14px; border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.55);
  cursor: pointer; display: flex; align-items: center; gap: 5px;
  text-decoration: none; transition: all 0.15s;
}
.m-btn-sm:hover { border-color: var(--m-gold); color: var(--m-gold); }
.m-btn-gold { border-color: var(--m-gold); color: var(--m-gold); background: rgba(201,168,76,0.06); }

.m-notif-banner {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid #e85555;
  padding: 14px 20px;
  margin-bottom: 24px;
  display: flex; align-items: flex-start; gap: 12px;
}
.m-notif-banner i { font-size: 18px; color: #e85555; flex-shrink: 0; margin-top: 1px; }
.m-notif-title { font-size: 11px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.m-notif-text { font-size: 11px; color: rgba(255,255,255,0.6); line-height: 1.5; }
.m-notif-date { font-size: 9px; color: rgba(255,255,255,0.3); margin-top: 4px; }

.m-section-title {
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-bottom: 6px; text-align: center;
  font-weight: 500;
}
.m-section-tagline {
  font-size: 11px; color: rgba(255,255,255,0.25); text-align: center;
  margin-bottom: 20px; letter-spacing: 0.05em; font-style: italic;
}

.m-empty {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 60px 20px;
  color: rgba(255,255,255,0.25);
  text-align: center;
}
.m-empty i { font-size: 32px; }
.m-empty span { font-size: 12px; }

.m-files-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}
.m-file-card {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  text-decoration: none;
  display: block;
  color: inherit;
}
.m-file-card:hover { border-color: var(--m-gold); background: #222; }
.m-file-card.new::after {
  content: 'NOUVEAU';
  position: absolute; top: 8px; right: 8px;
  font-size: 7px; letter-spacing: 0.12em;
  background: var(--m-gold); color: #000;
  padding: 2px 5px; font-weight: 700;
}
.m-file-icon { font-size: 24px; margin-bottom: 8px; }
.m-file-icon.pdf { color: #e85555; }
.m-file-icon.mp3 { color: var(--m-gold); }
.m-file-icon.img { color: #5b9bd5; }
.m-file-icon.doc { color: #5cb85c; }
.m-file-name { font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.85); margin-bottom: 3px; line-height: 1.4; }
.m-file-meta { font-size: 9px; color: rgba(255,255,255,0.35); }
.m-file-dl {
  display: flex; align-items: center; gap: 4px;
  font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--m-gold); margin-top: 10px;
}

@media (max-width: 720px) {
  .m-layout { flex-direction: column; }
  .m-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--m-border); padding: 12px 0; }
  .m-main { padding: 20px 16px; }
}

/* ═══════════════════════════════════════════
   Carte de membre — flip recto/verso
   ═══════════════════════════════════════════ */

.m-carte-hint {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin: 0 0 20px;
  text-align: center;
}

.m-carte-scene {
  perspective: 1200px;
  width: 480px;
  max-width: 100%;
  height: 285px;
  cursor: pointer;
  outline: none;
}
.m-carte-inner {
  width: 100%; height: 100%;
  position: relative;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
}
.m-carte-scene.flipped .m-carte-inner { transform: rotateY(180deg); }
.m-carte-scene:focus-visible .m-carte-inner { outline: 2px solid var(--m-gold); outline-offset: 4px; }

.m-carte-face {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.m-carte-recto { background: #0a0a0a; }
.m-carte-recto::before {
  content: ''; position: absolute; top: -50px; right: -50px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(201,168,76,0.06);
}
.m-carte-recto::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--m-gold), rgba(201,168,76,0.2));
}

.m-recto-content { padding: 20px 24px; height: 100%; display: flex; flex-direction: column; position: relative; z-index: 1; }
.m-recto-top { display: flex; align-items: flex-start; justify-content: space-between; }
.m-recto-logo img { height: 60px; width: auto; }

.m-recto-photo {
  width: 76px; height: 76px; border-radius: 50%;
  border: 2px solid rgba(201,168,76,0.4);
  background: rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.m-recto-photo img { width: 100%; height: 100%; object-fit: cover; }
.m-recto-photo i { font-size: 40px; color: rgba(201,168,76,0.4); }

.m-recto-bottom { margin-top: auto; }
.m-recto-name { font-size: 17px; font-weight: 600; color: #fff; letter-spacing: 0.02em; }
.m-recto-type { font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--m-gold); margin-top: 3px; }
.m-recto-num { font-size: 9px; color: rgba(255,255,255,0.3); margin-top: 6px; letter-spacing: 0.18em; font-family: monospace; }
.m-recto-valid { font-size: 13px; font-weight: 500; letter-spacing: 0.06em; color: rgba(201,168,76,0.9); margin-top: 6px; }

.m-carte-verso {
  background: #111;
  transform: rotateY(180deg);
}
.m-verso-band {
  position: absolute; top: 58px; left: 0; right: 0;
  height: 32px; background: #000;
}
.m-verso-content { padding: 20px 24px; height: 100%; display: flex; flex-direction: column; position: relative; z-index: 1; }
.m-verso-titre { font-family: Georgia, serif; font-size: 23px; line-height: 1.1; letter-spacing: 0.12em; color: #fff; font-weight: 600; }
.m-verso-label { font-size: 8px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.32); margin-top: 3px; }

.m-verso-mid { margin-top: 52px; display: flex; justify-content: space-between; align-items: flex-end; }
.m-verso-sig { flex: 1; }
.m-verso-sig-label { font-size: 7px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.25); margin-bottom: 8px; }
.m-verso-sig-line { width: 140px; height: 1px; background: rgba(255,255,255,0.1); }
.m-verso-qr {
  width: 72px; height: 72px;
  border: 1px solid rgba(201,168,76,0.3);
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px; margin-left: 16px;
}
.m-verso-qr i { font-size: 50px; color: rgba(201,168,76,0.5); }

.m-verso-bottom { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.m-verso-row { display: flex; justify-content: space-between; align-items: baseline; }
.m-verso-key { font-size: 8px; color: rgba(255,255,255,0.3); letter-spacing: 0.1em; text-transform: uppercase; }
.m-verso-val { font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.75); }
.m-gold-text { color: var(--m-gold) !important; }
.m-verso-bar { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(to right, rgba(201,168,76,0.2), var(--m-gold)); }

.m-wallet-btns { display: flex; gap: 8px; flex-wrap: nowrap; margin-top: 12px; width: 480px; max-width: 480px !important; align-self: center; }
.m-btn-wallet {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  flex: 1;
  padding: 10px 8px;
  font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.5);
  cursor: pointer; transition: all 0.15s;
  background: none; border-radius: 2px;
  text-decoration: none;
}
.m-btn-wallet:hover { border-color: var(--m-gold); color: var(--m-gold); }
.m-btn-wallet i { font-size: 15px; }

/* ═══════════════════════════════════════════
   Panels, forms, alertes — profil / suppression / notifications
   ═══════════════════════════════════════════ */

.m-alert {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.m-alert i { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.m-alert-ok { background: rgba(92,184,92,0.08); border: 1px solid rgba(92,184,92,0.3); color: #5cb85c; }
.m-alert-ok i { color: #5cb85c; }
.m-alert-err { background: rgba(224,96,96,0.08); border: 1px solid rgba(224,96,96,0.3); color: #e85555; }
.m-alert-err i { color: #e85555; }

.m-panel {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 22px 26px;
  margin-bottom: 20px;
  max-width: 480px;
}
.m-panel-title {
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--m-gold); margin-bottom: 16px; font-weight: 700;
}

.m-info-row {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 12px;
}
.m-info-key { color: rgba(255,255,255,0.4); }
.m-info-val { color: rgba(255,255,255,0.85); font-weight: 500; }

.m-form { margin-top: 18px; }
.m-label {
  display: block;
  font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin: 14px 0 6px;
}
.m-label:first-child { margin-top: 0; }
.m-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 10px 13px;
  border-radius: 3px;
  font-family: inherit;
  transition: border-color 0.15s;
}
.m-input:focus { outline: none; border-color: var(--m-gold); }

.m-btn-submit {
  display: inline-block;
  background: #000;
  color: var(--m-gold);
  border: 1px solid var(--m-gold);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 11px 22px;
  margin-top: 18px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.15s;
}
.m-btn-submit:hover { background: var(--m-gold); color: #000; }
.m-btn-danger { background: #e85555; color: #fff; border-color: #e85555; }
.m-btn-danger:hover { background: #c93f3f; color: #fff; }

.m-notif-list { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.m-notif-item {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--m-gold);
  padding: 14px 20px;
  display: flex; align-items: flex-start; gap: 12px;
}
.m-notif-item i { font-size: 18px; color: var(--m-gold); flex-shrink: 0; margin-top: 1px; }

/* ═══════════════════════════════════════════
   Vue d'ensemble
   ═══════════════════════════════════════════ */
.m-welcome { display:flex; align-items:center; justify-content:space-between; background:#1a1a1a; border:1px solid rgba(201,168,76,0.2); border-left:3px solid var(--m-gold); border-radius:5px; padding:18px 22px; margin-bottom:0; }
.m-welcome-left { display:flex; align-items:center; gap:16px; }
.m-welcome-name { font-size:18px; font-weight:600; color:#fff; margin-bottom:3px; }
.m-welcome-sub { font-size:9px; letter-spacing:0.15em; text-transform:uppercase; color:var(--m-gold); }
.m-welcome-num { font-size:9px; color:rgba(255,255,255,0.3); margin-top:3px; font-family:monospace; }
.m-badge-actif { font-size:8px; letter-spacing:0.12em; text-transform:uppercase; padding:5px 12px; border:1px solid rgba(201,168,76,0.35); color:rgba(201,168,76,0.8); border-radius:2px; }
.m-stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.m-stat { background:#0e0e0e; border:1px solid rgba(255,255,255,0.07); border-radius:4px; padding:14px 16px; }
.m-stat-val { font-size:28px; font-weight:600; color:#fff; line-height:1; }
.m-stat-val.gold { color:var(--m-gold); }
.m-stat-lbl { font-size:10px; color:rgba(255,255,255,0.35); letter-spacing:0.1em; text-transform:uppercase; margin-top:6px; }
.m-stat-sub { font-size:9px; color:rgba(255,255,255,0.2); margin-top:3px; }
.m-ov-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.m-ov-box { background:#111; border:1px solid rgba(255,255,255,0.1); border-radius:5px; padding:18px 22px; }
.m-ov-ttl { font-size:8px; letter-spacing:0.2em; text-transform:uppercase; color:rgba(201,168,76,0.65); margin-bottom:14px; display:flex; align-items:center; gap:7px; }
.m-ov-ttl i { font-size:15px; }
.m-proj-item { display:flex; align-items:center; gap:10px; padding:9px 0; border-bottom:1px solid rgba(255,255,255,0.06); text-decoration:none; }
.m-proj-item:last-child { border-bottom:0; }
.m-proj-ico { width:30px; height:30px; border-radius:3px; background:rgba(201,168,76,0.07); border:1px solid rgba(201,168,76,0.15); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.m-proj-ico i { font-size:14px; color:rgba(201,168,76,0.45); }
.m-proj-name { font-size:12px; font-weight:500; color:rgba(255,255,255,0.75); }
.m-proj-count { font-size:9px; color:rgba(255,255,255,0.3); margin-top:1px; }
.m-proj-arr { margin-left:auto; font-size:13px; color:rgba(255,255,255,0.2); }
.m-act-item { display:flex; gap:10px; align-items:flex-start; padding:8px 0; border-bottom:1px solid rgba(255,255,255,0.05); }
.m-act-item:last-child { border-bottom:0; }
.m-act-dot { width:6px; height:6px; border-radius:50%; background:var(--m-gold); flex-shrink:0; margin-top:4px; }
.m-act-dot.file { background:#5b9bd5; }
.m-act-txt { font-size:11px; color:rgba(255,255,255,0.6); line-height:1.4; }
.m-act-txt strong { color:rgba(255,255,255,0.85); }
.m-act-date { font-size:9px; color:rgba(255,255,255,0.25); margin-top:2px; }
.m-carte-mini { background:#0e0e0e; border:1px solid rgba(201,168,76,0.18); border-radius:8px; padding:14px 16px; }
.m-cm-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.m-cm-name { font-size:13px; font-weight:600; color:#fff; }
.m-cm-type { font-size:8px; letter-spacing:0.15em; text-transform:uppercase; color:var(--m-gold); margin-top:2px; }
.m-cm-num { font-size:9px; color:rgba(255,255,255,0.25); margin-top:3px; font-family:monospace; }
.m-cm-bar { height:2px; background:rgba(201,168,76,0.35); border-radius:1px; margin-top:10px; }
.m-cm-btn { font-size:9px; letter-spacing:0.1em; text-transform:uppercase; padding:8px 14px; border:1px solid rgba(201,168,76,0.35); color:rgba(201,168,76,0.8); background:none; cursor:pointer; border-radius:2px; width:100%; margin-top:10px; display:flex; align-items:center; justify-content:center; gap:6px; text-decoration:none; }
.m-cm-btn:hover { background:rgba(201,168,76,0.08); }
.m-adh-row { display:flex; justify-content:space-between; padding:7px 0; border-bottom:1px solid rgba(255,255,255,0.06); }
.m-adh-row:last-child { border-bottom:0; }
.m-adh-key { font-size:10px; color:rgba(255,255,255,0.35); text-transform:uppercase; letter-spacing:0.1em; }
.m-adh-val { font-size:11px; color:rgba(255,255,255,0.75); }
.m-adh-val.gold { color:var(--m-gold); font-weight:500; }
.m-adh-val.ok { color:#5cb85c; }


/* ═══════════════════════════════════════════════════════════
   Champ mot de passe : placeholder discret + bouton œil (option 2)
   Séparateur vertical + zone dédiée · icône native masquée
   (mise à jour 05.07.2026 — voir assets/js/password-toggle.js)
   ═══════════════════════════════════════════════════════════ */

.auth-input::placeholder {
  color: rgba(255,255,255,0.28);
  opacity: 1;
}
.auth-input:focus::placeholder {
  color: rgba(255,255,255,0.18);
}

.pw-wrap .auth-input::-webkit-credentials-auto-fill-button,
.pw-wrap .auth-input::-webkit-contacts-auto-fill-button {
  visibility: hidden;
  pointer-events: none;
  position: absolute;
}

.pw-wrap {
  position: relative;
  display: block;
}
.pw-wrap .auth-input {
  padding-right: 52px;
}

.pw-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 44px;
  transform: translateY(-50%);
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,0.12);
  pointer-events: none;
}

.pw-toggle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
  width: 28px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  color: rgba(255,255,255,0.4);
  border-radius: 4px;
  transition: color 0.15s;
}
.pw-toggle:hover,
.pw-toggle:focus-visible {
  color: var(--m-gold);
  outline: none;
}
.pw-toggle.is-on {
  color: var(--m-gold);
}
.pw-toggle svg { display: block; width: 18px; height: 18px; }


/* ═══════════════════════════════════════════
   Profil membre — agencement 3 colonnes à hauteur égale (damier)
   Ordre : Photo · Informations · (Projets au-dessus de Mot de passe)
═══════════════════════════════════════════ */
.m-profil-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  align-items: stretch;
  max-width: 1400px;       /* deborde le cap 900px de .m-main > * */
  width: 100%;
}
.m-profil-grid > .m-panel,
.m-profil-col-stack > .m-panel {
  margin: 0;
  max-width: none;         /* enleve le cap 480px : remplit la colonne */
  height: 100%;            /* colonnes a hauteur egale */
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
}
.m-profil-col-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
}
.m-profil-col-stack > .m-panel { flex: 1; }
@media (max-width: 900px) {
  .m-profil-grid { grid-template-columns: 1fr; }
  .m-profil-grid > .m-panel,
  .m-profil-col-stack > .m-panel { overflow-y: visible; }
}

/* ═══════════════════════════════════════════
   Reçu de cotisation — séparateur, liste, modale
   ═══════════════════════════════════════════ */
.m-sep-grad { height:1px; margin:22px 0 18px; background:linear-gradient(to right, rgba(201,168,76,0), var(--m-gold), rgba(201,168,76,0)); }
.m-recu-vide { font-size:11px; color:rgba(255,255,255,0.35); margin:0; }
.m-recu-item { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 0; border-bottom:1px solid rgba(255,255,255,0.06); }
.m-recu-item:last-of-type { border-bottom:none; }
.m-recu-item-sais { font-size:12px; color:#fff; font-weight:500; }
.m-recu-item-ref  { font-size:10px; color:rgba(255,255,255,0.4); font-family:monospace; margin-top:2px; }
.m-recu-item-btns { display:flex; gap:8px; flex-shrink:0; }
.m-recu-apercu, .m-recu-pdf {
  font-size:9px; letter-spacing:0.12em; text-transform:uppercase; padding:7px 13px;
  border:1px solid rgba(201,168,76,0.45); color:var(--m-gold); background:none;
  border-radius:3px; cursor:pointer; text-decoration:none; transition:all .15s;
}
.m-recu-apercu:hover, .m-recu-pdf:hover { background:rgba(201,168,76,0.12); }

.m-modal { position:fixed; top:0; right:0; bottom:0; left:0; background:rgba(0,0,0,0.75); display:none; align-items:center; justify-content:center; padding:24px; z-index:900; }
.m-modal.visible { display:flex; }
.m-modal-box { background:#141414; border:1px solid rgba(201,168,76,0.25); border-radius:8px; max-width:620px; width:100%; max-height:88vh; overflow-y:auto; position:relative; padding:28px 30px; }
.m-modal-close { position:absolute; top:10px; right:14px; background:none; border:none; color:rgba(255,255,255,0.45); font-size:26px; line-height:1; cursor:pointer; }
.m-modal-close:hover { color:var(--m-gold); }
.m-recu-load { color:rgba(255,255,255,0.4); font-size:12px; text-align:center; padding:30px 0; }

.m-recu-page { max-width:620px; margin:40px auto; padding:0 20px; }
.m-recu-hd { text-align:center; padding-bottom:14px; border-bottom:1px solid rgba(201,168,76,0.35); }
.m-recu-logo { font-family:Georgia,serif; font-size:22px; letter-spacing:0.12em; color:#fff; font-weight:600; }
.m-recu-logo span { color:var(--m-gold); }
.m-recu-sub { font-size:9px; color:rgba(255,255,255,0.4); margin-top:4px; }
.m-recu-titre { font-size:13px; letter-spacing:0.2em; text-transform:uppercase; color:var(--m-gold); margin:22px 0 14px; text-align:center; }
.m-recu-box { background:#1a1a1a; border:1px solid rgba(255,255,255,0.07); border-radius:5px; padding:14px 18px; margin-bottom:12px; }
.m-recu-row { display:flex; justify-content:space-between; align-items:baseline; padding:5px 0; font-size:12px; }
.m-recu-row span { color:rgba(255,255,255,0.42); }
.m-recu-row strong { color:#fff; font-weight:500; }
.m-recu-total { display:flex; justify-content:space-between; align-items:baseline; padding:14px 18px; border-top:1px solid rgba(201,168,76,0.3); margin-top:6px; }
.m-recu-total span { font-size:12px; color:rgba(255,255,255,0.5); }
.m-recu-total strong { font-size:20px; color:var(--m-gold); font-weight:600; }
.m-recu-mention { font-size:10px; color:rgba(255,255,255,0.35); line-height:1.6; margin:16px 0 20px; }
.m-recu-actions { text-align:center; }
.m-recu-dl { display:inline-block; text-decoration:none; max-width:240px; }
