/* SpecSix - account.css
   Inloggen / registreren (rolkeuze bezoeker of dealer), Mijn account en de accountknop in de header. */

/* ---------------------------------------------------------------- headerknop */
.acc-avatar{width:26px;height:26px;border-radius:50%;background:var(--accent);color:var(--ink);display:inline-grid;place-items:center;font-size:11px;font-weight:700;letter-spacing:.02em;flex:none}
.acc-avatar.lg{width:52px;height:52px;font-size:18px;font-family:var(--f-display)}
.hdr-btn.account.signed-in{padding-left:6px}

/* ---------------------------------------------------------------- gedeeld */
.btn.sm{height:38px;padding:0 14px;font-size:13px;gap:7px}
.btn.sm svg.lucide{width:15px;height:15px}
.btn.busy{opacity:.6;pointer-events:none}
.btn:disabled{opacity:.45;cursor:not-allowed}
.au-alert{background:#F7E9E7;color:#A23B32;border-radius:var(--r-sm);padding:11px 14px;font-size:13.5px;font-weight:500}
.au-alert[hidden]{display:none}
.au-note{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:var(--r-sm);background:var(--paper);font-size:13.5px;color:var(--stone-600);line-height:1.5}
.au-note svg.lucide{width:17px;height:17px;flex:none;margin-top:1px;color:var(--accent-deep)}
.input.pw input{padding-right:4px}
.pw-toggle{width:46px;height:100%;display:grid;place-items:center;color:var(--stone-500);flex:none}
.pw-toggle:hover{color:var(--ink)}
.pw-toggle svg.lucide{width:18px;height:18px}
.input.readonly{background:var(--paper)}
.input.readonly input{color:var(--stone-600)}

/* ---------------------------------------------------------------- inlog-/registratiepopup */
.au-card{width:min(940px,100%)}
.au-grid{display:grid;grid-template-columns:320px 1fr;min-height:560px}
.au-side{display:flex;flex-direction:column;gap:28px;padding:34px 30px;background:var(--ink);color:var(--paper);border-radius:8px 0 0 8px}
.au-side .wm{font-family:var(--f-display);font-size:19px;letter-spacing:.02em}
.au-side .wm b{font-weight:800}
.au-side .wm em{font-style:normal;color:var(--accent);font-weight:600}
.au-side-body{display:grid;gap:18px;margin-top:auto}
.au-side-ic{width:48px;height:48px;border-radius:50%;background:rgba(176,138,87,.16);color:var(--accent);display:grid;place-items:center}
.au-side-ic svg.lucide{width:22px;height:22px}
.au-side h3{font-family:var(--f-display);font-size:22px;font-weight:600;letter-spacing:-.02em;line-height:1.15}
.au-side ul{list-style:none;display:grid;gap:14px}
.au-side li{display:flex;gap:12px;align-items:flex-start;font-size:14px;color:rgba(245,244,240,.78);line-height:1.45}
.au-side li svg.lucide{width:17px;height:17px;flex:none;margin-top:1px;color:var(--accent)}
.au-secure{display:flex;gap:9px;align-items:flex-start;font-size:12.5px;color:rgba(245,244,240,.55);margin-top:auto}
.au-secure svg.lucide{width:15px;height:15px;flex:none;margin-top:1px}
.au-main{padding:30px 40px 34px;display:grid;gap:18px;align-content:start}
.au-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-right:44px}
.au-tabs button{position:relative;height:42px;padding:0 4px;margin-right:18px;font-size:14px;font-weight:600;color:var(--muted)}
.au-tabs button.active{color:var(--ink)}
.au-tabs button.active::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--ink)}
.au-main h2{font-family:var(--f-display);font-size:28px;font-weight:600;letter-spacing:-.025em;line-height:1.1}
.au-reason{display:flex;gap:8px;align-items:center;font-size:14px;color:var(--accent-deep)}
.au-reason svg.lucide{width:16px;height:16px}
.au-roles{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.au-role{display:flex;gap:12px;align-items:center;text-align:left;padding:14px 16px;border:1px solid var(--stone-200);border-radius:var(--r);background:var(--white);transition:border-color .2s,box-shadow .2s}
.au-role:hover{border-color:var(--stone-400)}
.au-role.active{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.au-role svg.lucide{width:22px;height:22px;color:var(--stone-500);flex:none}
.au-role.active svg.lucide{color:var(--accent-deep)}
.au-role span{display:grid;gap:2px}
.au-role strong{font-size:14.5px}
.au-role small{font-size:12.5px;color:var(--muted)}
.au-role:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.au-form{display:grid;gap:16px}
.au-form .grid-2{gap:16px}
.au-submit{width:100%;height:54px;font-size:15px}
.au-submit svg.lucide{color:var(--accent)}
.au-switch{font-size:13.5px;color:var(--muted);text-align:center}

/* ---------------------------------------------------------------- mijn account */
.acct-card{width:min(980px,100%)}
.acct-head{display:flex;gap:16px;align-items:center;padding:30px 40px 24px;border-bottom:1px solid var(--line)}
.acct-head h2{font-family:var(--f-display);font-size:26px;font-weight:600;letter-spacing:-.02em;line-height:1.1}
.acct-head p{display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:var(--muted);font-size:14px;margin-top:4px}
.acct-role,.acct-status{display:inline-flex;align-items:center;height:20px;padding:0 7px;border-radius:3px;font-family:var(--f-mono);font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;background:var(--paper);color:var(--stone-600);font-style:normal}
.acct-role.admin{background:var(--ink);color:var(--paper)}
.acct-role.dealer{background:#E8EEF7;color:#2B4C7E}
.acct-status.pending{background:#FBF1DE;color:#8A5A12}
.acct-status.online{background:var(--ok-soft);color:var(--ok)}
.acct-status.offline{background:var(--paper);color:var(--stone-500)}
.acct-body{display:grid;grid-template-columns:220px 1fr;min-height:460px}
.acct-nav{display:flex;flex-direction:column;gap:2px;padding:20px 14px;border-right:1px solid var(--line);background:#FBFAF7}
.acct-nav button,.acct-nav a{display:flex;align-items:center;gap:10px;height:42px;padding:0 12px;border-radius:var(--r-sm);font-size:14px;font-weight:500;color:var(--stone-600);text-decoration:none;text-align:left}
.acct-nav button:hover,.acct-nav a:hover{background:var(--paper);color:var(--ink)}
.acct-nav button.active{background:var(--white);color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.08)}
.acct-nav button.active svg.lucide{color:var(--accent-deep)}
.acct-nav svg.lucide{width:17px;height:17px}
.acct-nav .acct-admin{margin-top:12px;border-top:1px solid var(--line);border-radius:0;padding-top:12px;height:auto;padding-bottom:10px}
.acct-nav .acct-logout{margin-top:auto;color:#A23B32}
.acct-panel{padding:28px 36px 36px;display:grid;gap:18px;align-content:start;min-width:0}
.acct-ph{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.acct-ph h3{font-family:var(--f-display);font-size:21px;font-weight:600;letter-spacing:-.015em}
.acct-ph p{font-size:13.5px;color:var(--muted);margin-top:4px;max-width:520px}
.acct-ph .btn{flex:none}
.acct-empty{display:grid;justify-items:center;text-align:center;gap:10px;padding:44px 20px;border:1px dashed var(--stone-200);border-radius:var(--r);color:var(--muted);font-size:14px}
.acct-empty svg.lucide{width:26px;height:26px;color:var(--stone-400)}
.acct-form{max-width:560px}
.acct-form .btn{justify-self:start}

/* opgeslagen zoekopdrachten */
.ss-list{list-style:none;display:grid;gap:12px}
.ss-item{display:grid;gap:12px;padding:18px 20px;border:1px solid var(--line);border-radius:var(--r);background:var(--white)}
.ss-item.paused{background:#FBFAF7}
.ss-item.paused .fchips,.ss-item.paused .ss-item-meta{opacity:.6}
.ss-item-top{display:flex;justify-content:space-between;gap:12px;align-items:center}
.ss-item-top strong{font-size:15.5px}
.ss-item .fchips{display:flex;flex-wrap:wrap;gap:6px}
.ss-item .more{font-size:12px;color:var(--muted);align-self:center}
.ss-item-meta{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:13px;color:var(--stone-600)}
.ss-item-meta>span{display:inline-flex;align-items:center;gap:6px}
.ss-item-meta svg.lucide{width:15px;height:15px;color:var(--stone-400)}
.ss-item-meta select{border:0;background:transparent;font:inherit;font-weight:600;color:var(--ink);cursor:pointer;padding:0}
.ss-item-acts{display:flex;gap:8px;flex-wrap:wrap}
.ss-item-meta a{color:var(--ink);text-decoration:underline;text-underline-offset:2px}
.ss-item-meta .ss-msg{flex-basis:100%;font-style:italic}
.req-msg{font-size:14px;color:var(--stone-600);font-style:italic;padding:10px 14px;background:var(--paper);border-radius:var(--r-sm)}
.btn.danger{color:#A23B32}
.btn.danger.confirm{background:#A23B32;border-color:#A23B32;color:var(--white)}

/* favorieten en dealervoorraad */
.fav-list{list-style:none;display:grid;gap:8px}
.fav-list li{display:flex;align-items:center;gap:6px}
.fav-row{flex:1;min-width:0;display:flex;align-items:center;gap:14px;padding:8px 12px 8px 8px;border:1px solid var(--line);border-radius:var(--r);background:var(--white);text-align:left;transition:border-color .2s}
.fav-row:not(:disabled):hover{border-color:var(--stone-400)}
.fav-row:disabled{cursor:default}
.fav-thumb{width:84px;height:56px;border-radius:var(--r-sm);overflow:hidden;background:var(--paper);display:grid;place-items:center;flex:none;color:var(--stone-400)}
.fav-thumb img{width:100%;height:100%;object-fit:cover}
.fav-txt{flex:1;min-width:0;display:grid;gap:2px}
.fav-txt strong{font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fav-txt small{font-size:12.5px;color:var(--muted)}
.fav-price{display:grid;justify-items:end;gap:4px;font-weight:600;font-size:14px;white-space:nowrap}
.fav-remove{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:var(--stone-500);flex:none}
.fav-remove:hover{background:var(--paper);color:#A23B32}
.fav-remove svg.lucide{width:16px;height:16px}

/* dealerstatus */
.dealer-status{display:flex;gap:16px;padding:20px;border-radius:var(--r);background:#FBF1DE}
.ds-ic{width:44px;height:44px;border-radius:50%;background:var(--white);color:#8A5A12;display:grid;place-items:center;flex:none}
.dealer-status strong{font-size:15.5px}
.dealer-status p{font-size:14px;color:var(--stone-600);margin:4px 0 12px}
.dealer-status dl{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;font-size:13.5px}
.dealer-status dt{color:var(--muted)}

/* opslaan-popup: ingelogd */
.ss-signed{display:flex;gap:12px;align-items:center;padding:12px 14px;border-radius:var(--r);background:var(--paper)}
.ss-signed span:last-child{display:grid}
.ss-signed small{font-size:13px;color:var(--muted)}
.ss-done-acts{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:8px}
.ss-done-acts .btn{margin-top:0}

/* ---------------------------------------------------------------- mobiel */
@media (max-width:820px){
  .au-grid{grid-template-columns:1fr;min-height:0}
  .au-side{display:none}
  .au-main{padding:26px 18px 24px}
  .acct-body{grid-template-columns:1fr}
  .acct-nav{flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid var(--line);padding:10px}
  .acct-nav button,.acct-nav a{flex:none}
  .acct-nav .acct-admin{margin-top:0;border-top:0;padding-top:0;height:42px}
  .acct-nav .acct-logout{margin-top:0}
  .acct-head{padding:24px 18px 18px;padding-right:60px}
  .acct-panel{padding:20px 18px 26px}
  .acct-ph{flex-direction:column}
}
@media (max-width:520px){
  .au-roles{grid-template-columns:1fr}
  .au-main h2{font-size:24px}
  .fav-thumb{width:64px;height:44px}
  .fav-txt small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
