/* v5.8.0 conditional CSS: account/auth/favorites/compare (v3.2) */
/* v3.2.0 — account, auth, favorites and comparison UX */
.nav-account-actions{display:flex;align-items:center;gap:8px;padding-left:4px;border-left:1px solid var(--line)}
.nav-account-link{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 11px;border-radius:12px;font-weight:800!important;color:#334155!important;white-space:nowrap}
.nav-account-link:hover,.nav-account-link.is-current{background:#eff6ff;color:var(--blue)!important}
.nav-account-logout{color:#64748b!important}
.account-page-title{background:radial-gradient(circle at 88% 10%,#dbeafe 0,transparent 24%),linear-gradient(135deg,#fff,#f8fafc)}
.account-section{padding-top:34px}
.account-kicker{display:block;color:var(--blue);font-size:12px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;margin-bottom:8px}
.account-shell{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}
.account-main,.account-side>*{min-width:0}
.account-shortcode-shell,.account-gate,.account-empty-state,.account-welcome,.account-quick-card,.account-benefit-card,.account-status-card{background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 14px 42px rgba(15,23,42,.07)}
.account-shortcode-shell{padding:24px;overflow:hidden}
.account-shortcode-shell>h1:first-child,.account-shortcode-shell>h2:first-child{margin-top:0}
.account-shortcode-shell form{max-width:100%}
.account-shortcode-shell input:not([type=checkbox]):not([type=radio]),.account-shortcode-shell select,.account-shortcode-shell textarea{max-width:100%;background:#fff}
.account-shortcode-shell input[type=submit],.account-shortcode-shell button:not(.favorite-btn):not(.compare-btn){border:0;border-radius:14px;padding:12px 18px;background:linear-gradient(135deg,var(--blue),var(--blue2));color:#fff;font-weight:800;cursor:pointer;min-height:44px}
.account-shortcode-shell table{display:block;width:100%;max-width:100%;overflow-x:auto;border-collapse:collapse;-webkit-overflow-scrolling:touch}
.account-shortcode-shell th,.account-shortcode-shell td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}
.account-shortcode-shell th{background:#f8fafc;font-size:13px;color:#475569}
.account-gate{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:22px;align-items:center;padding:30px}
.account-gate-icon,.empty-state-mark{display:grid;place-items:center;width:62px;height:62px;border-radius:20px;background:#eff6ff;color:var(--blue);font-size:31px;font-weight:800}
.account-gate h2,.account-empty-state h2,.account-welcome h2,.account-toolbar h2,.account-benefit-card h2{margin:0;letter-spacing:-.04em}
.account-gate p,.account-empty-state p{margin:8px 0 0;color:var(--muted);line-height:1.6;max-width:720px}
.account-actions{display:flex;gap:10px;flex-wrap:wrap}
.account-side{display:grid;gap:14px;position:sticky;top:100px}
.account-benefit-card,.account-status-card{padding:22px}
.account-benefit-card.accent{background:linear-gradient(145deg,#0f172a,#1e3a8a);color:#fff;border:0}
.account-benefit-card.accent .account-kicker{color:#93c5fd}
.account-benefit-card h2{font-size:27px;line-height:1.08}
.account-benefits{display:grid;gap:11px;list-style:none;margin:18px 0 0;padding:0}
.account-benefits li{position:relative;padding-left:25px;color:#dbeafe;line-height:1.45}
.account-benefits li:before{content:'✓';position:absolute;left:0;top:0;color:#86efac;font-weight:900}
.account-status-card{display:grid;gap:6px;box-shadow:none}
.account-status-card strong{font-size:16px}
.account-status-card span{color:var(--muted);line-height:1.5;font-size:14px}
.account-status-card.is-open{background:#f0fdf4;border-color:#bbf7d0}.account-status-card.is-open strong{color:#166534}
.account-status-card.is-closed{background:#fff7ed;border-color:#fed7aa}.account-status-card.is-closed strong{color:#9a3412}
.account-side-link{display:block;padding:4px 2px;color:var(--blue);font-weight:800}
.auth-help{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.auth-help a{color:var(--blue);font-weight:800}

/* v7.17.0 — normalize the native WordPress login controls. The shared form
   rules intentionally size ordinary text fields to 100%, but that selector
   must never turn the remember-me checkbox into a full-width input. */
.auth-shortcode-shell #loginform p.login-remember{margin:16px 0 0}
.auth-shortcode-shell #loginform p.login-remember label{display:flex;align-items:center;gap:9px;min-height:22px;color:var(--text);font-size:14px;line-height:1.4}
.auth-shortcode-shell #loginform p.login-remember input[type="checkbox"]{appearance:none;-webkit-appearance:none;display:inline-grid;place-content:center;flex:0 0 18px;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:0!important;padding:0!important;border:1px solid #94a3b8;border-radius:4px;background:#fff;cursor:pointer}
.auth-shortcode-shell #loginform p.login-remember input[type="checkbox"]::before{content:"";width:9px;height:5px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg) scale(0);transform-origin:center;transition:transform .12s ease}
.auth-shortcode-shell #loginform p.login-remember input[type="checkbox"]:checked{border-color:var(--blue);background:var(--blue)}
.auth-shortcode-shell #loginform p.login-remember input[type="checkbox"]:checked::before{transform:rotate(-45deg) scale(1)}
.auth-shortcode-shell #loginform input#wp-submit{display:block;width:100%!important;min-height:48px;margin-top:18px;padding:12px 18px;border:0!important;border-radius:14px;background:linear-gradient(135deg,var(--blue),var(--blue2))!important;color:#fff!important;font-weight:900;cursor:pointer;box-shadow:0 12px 24px rgba(37,99,235,.2)}
.auth-shortcode-shell #loginform input#wp-submit:hover{filter:brightness(.96);transform:translateY(-1px)}
.auth-shortcode-shell #loginform input#wp-submit:focus-visible,.auth-shortcode-shell #loginform p.login-remember input[type="checkbox"]:focus-visible{outline:3px solid #60a5fa;outline-offset:3px}
.account-welcome,.account-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;padding:22px 24px}
.account-toolbar{padding:0;background:none;border:0;box-shadow:none}
.account-toolbar h2{font-size:30px}
.account-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}
.account-quick-card{display:grid;grid-template-columns:auto 1fr;column-gap:12px;row-gap:3px;padding:18px;box-shadow:none;transition:.18s}
.account-quick-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.account-quick-card b{grid-row:1/3;display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#eff6ff;color:var(--blue);font-size:22px}
.account-quick-card strong{font-size:16px}
.account-quick-card span{color:var(--muted);font-size:13px;line-height:1.4}
.account-empty-state{display:grid;justify-items:center;text-align:center;padding:46px 28px}
.account-empty-state .empty-state-mark{margin-bottom:16px}
.account-empty-state h2{font-size:34px}
.account-empty-state .account-actions{justify-content:center;margin-top:22px}
.compare-shortcode-shell{padding:0;background:transparent;border:0;box-shadow:none;overflow:visible}
.compare-shortcode-shell table{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}
.favorites-shortcode-shell .car-grid,.favorites-shortcode-shell .catalog-car-grid{grid-template-columns:repeat(3,minmax(0,1fr))}

@media(max-width:1080px){
  .nav-account-actions{border-left:0;border-top:1px solid var(--line);padding:12px 0 0;width:100%;justify-content:flex-start}
  .nav-account-link{padding-left:0;padding-right:14px}
  .account-shell{grid-template-columns:1fr}.account-side{position:static;grid-template-columns:1fr 1fr}.account-side-link{grid-column:1/-1}
}
@media(max-width:900px){
  .account-section{padding-top:24px}.account-gate{grid-template-columns:auto 1fr}.account-gate .account-actions{grid-column:1/-1}
  .account-quick-grid{grid-template-columns:1fr 1fr}.favorites-shortcode-shell .car-grid,.favorites-shortcode-shell .catalog-car-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .account-page-title{padding:30px 0}.account-section{padding-top:18px}.account-shortcode-shell{padding:16px;border-radius:18px}
  .account-gate{grid-template-columns:1fr;padding:20px;border-radius:18px}.account-gate-icon{width:52px;height:52px;border-radius:16px}.account-gate .account-actions{grid-column:auto;width:100%}.account-gate .account-actions .btn{width:100%}
  .account-side{grid-template-columns:1fr}.account-side-link{grid-column:auto}.account-benefit-card,.account-status-card{padding:18px;border-radius:18px}
  .account-welcome,.account-toolbar{display:grid;padding:18px}.account-toolbar{padding:0}.account-welcome .btn,.account-toolbar .btn{width:100%}
  .account-quick-grid{grid-template-columns:1fr;gap:10px}.account-quick-card{border-radius:18px}
  .account-empty-state{padding:32px 18px;border-radius:18px}.account-empty-state h2{font-size:28px}.account-empty-state .account-actions{display:grid;width:100%}.account-empty-state .btn{width:100%}
  .favorites-shortcode-shell .car-grid,.favorites-shortcode-shell .catalog-car-grid{grid-template-columns:1fr}
  .account-shortcode-shell th,.account-shortcode-shell td{padding:10px 11px;font-size:13px}
}

