@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:wght@500;600;700&display=swap');
/* SMITH AUTO HUB — LUXURY DESIGN SYSTEM / ALL MARKETPLACE PAGES */
:root{
 --sah-night:#090a0b;--sah-night-2:#151617;--sah-champagne:#dfbd69;
 --sah-gold:#f2d995;--sah-ivory:#f5f1e8;--sah-paper:#fffdf8;
 --sah-ink:#1b1b19;--sah-muted:#77736b;--sah-line:#e2d9c8;
 --sah-shadow:0 18px 50px rgba(28,22,11,.09);
}
html{scroll-behavior:smooth}
body{font-family:"DM Sans",Arial,sans-serif!important;background:var(--sah-ivory)!important;color:var(--sah-ink)!important}
h1,h2,h3,.page-heading h1,.auth-heading,.section-title{font-family:"Playfair Display",Georgia,serif!important;letter-spacing:-.035em}
a{transition:color .2s ease,border-color .2s ease,background .2s ease}
button,.btn,.primary-button,.auth-button,.save-button,.action-button,.sell-button,.sell-btn,.search-btn{font-family:"DM Sans",Arial,sans-serif!important;letter-spacing:.035em}
.site-header,.header,.admin-topbar,header:not(.modal header){background:rgba(8,9,10,.98)!important;color:#f6f0e3!important;border-bottom:1px solid rgba(223,189,105,.35)!important;box-shadow:0 12px 32px rgba(0,0,0,.12);backdrop-filter:blur(18px)}
.site-header a,.header a,.admin-topbar a,header:not(.modal header) a{color:#f1eadb}
.site-header nav a,.header nav a{font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.site-header nav a:hover,.header nav a:hover{color:var(--sah-gold)}
.logo,.logo-text,.brand-text strong{font-family:"DM Sans",sans-serif!important;letter-spacing:.11em!important;font-weight:800!important}
.logo span,.eyebrow,.section-label,.page-heading .eyebrow{color:#a27b31!important;letter-spacing:.22em!important;text-transform:uppercase;font-size:10px;font-weight:800}
.admin-topbar .brand-mark,.brand-mark,.logo-mark{border:1px solid rgba(223,189,105,.65)!important;background:linear-gradient(145deg,#242018,#08090a)!important;color:var(--sah-gold)!important}
button,.btn,.primary-button,.auth-button,.save-button,.action-button,.sell-button,.sell-btn,.search-btn,.primary-button,.call-button,.modal-submit{border-radius:3px!important}
.btn.primary,.primary-button,.auth-button,.save-button,.sell-button,.sell-btn,.search-btn,.modal-submit,.call-button{background:linear-gradient(135deg,#f2dfa9,#c49b4a)!important;color:#17140d!important;border:1px solid #d9b65e!important;box-shadow:0 8px 22px rgba(177,137,53,.14)}
.btn.secondary,.secondary,.cancel-button,.action-btn{border:1px solid #c8b887!important;background:transparent!important;color:inherit}
button:hover,.btn:hover,.primary-button:hover,.auth-button:hover,.save-button:hover,.sell-btn:hover,.sell-button:hover{filter:brightness(1.04);transform:translateY(-1px)}
input,select,textarea{border:1px solid #d8cfbe!important;border-radius:3px!important;background:#fffdf8!important;color:#222!important;box-shadow:none!important}
input:focus,select:focus,textarea:focus{outline:2px solid rgba(196,155,74,.22)!important;border-color:#b28b3e!important}
.card,.auth-card,.admin-login-card,.admin-card,.stat-card,.listing-card,.category-card,.feature,.service-card,.section-card,.seller-card,.modal-box,.contact-box,.profile-card,.message-card,.request-card,.notification-card,.verification-card,.dashboard-card,.product-card,.cars-card{
 border:1px solid var(--sah-line)!important;border-radius:4px!important;background:var(--sah-paper)!important;box-shadow:var(--sah-shadow)!important
}
.dashboard,.dashboard-content,.page,.wrap,.cars-page,.products-page,.auth-container{color:var(--sah-ink)}
.dashboard-content,.dashboard,.page,.wrap{background:transparent}
.admin-login-card,.auth-card{background:#111315!important;color:#f4efe4!important;border-color:rgba(223,189,105,.35)!important}
.admin-login-card label,.auth-card label,.admin-login-card p,.auth-card p{color:#d7d0c2}
.auth-card input,.admin-login-card input{background:#fffdf8!important;color:#222!important}
.admin-login-card .admin-logo,.auth-logo{color:var(--sah-gold)!important}
.admin-topbar .logout-button,.logout-button{background:transparent!important;color:#f2d995!important;border:1px solid rgba(223,189,105,.6)!important;border-radius:3px!important}
.admin-card,.stat-card{color:#20201e}
.stat-card strong,.stat-card h3{color:#9a742d}
.dashboard-heading h1,.page-heading h1{color:#1b1b19}
.page-heading p,.muted,.description,.auth-footer,.security-note{color:#77736b}
table{border-collapse:collapse;background:#fffdf8;border-color:var(--sah-line)}
th{background:#171819!important;color:#f2d995!important;text-transform:uppercase;letter-spacing:.08em;font-size:10px}
td,th{border-color:var(--sah-line)!important;padding:12px}
tr:nth-child(even){background:#f7f2e8}
.badge,.status-badge{border-radius:2px!important;letter-spacing:.04em}
.modal,.overlay{backdrop-filter:blur(8px)}
.modal-box,.modal-content{background:#fffdf8!important;color:#20201e!important;border:1px solid #d9bd79!important}
footer,.site-footer,.footer{background:#090a0b!important;color:#ddd5c4!important;border-top:1px solid rgba(223,189,105,.3)!important}
footer a,.site-footer a,.footer a{color:#e6cb8a!important}
footer a:hover,.site-footer a:hover{color:#fff!important}
.empty-state,.empty-message,.loading,.error-box{border-radius:3px!important}
.empty-state,.empty-message{background:#fffdf8!important;border:1px dashed #cdbb92!important;color:#77736b}
img{max-width:100%}
@media(max-width:800px){
 .site-header .nav,.header .nav{gap:10px}
 .site-header nav a,.header nav a{font-size:10px}
 .admin-topbar .topbar-inner{gap:12px;flex-wrap:wrap}
 .dashboard-content,.page,.wrap{width:100%;max-width:100%}
 .card,.auth-card,.admin-card,.stat-card,.section-card{box-shadow:0 10px 28px rgba(28,22,11,.07)!important}
 button,.btn,.primary-button,.auth-button,.save-button,.sell-btn,.sell-button{min-height:42px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


/* =========================================================
   LUXURY SYSTEM — CROSS-PAGE READABILITY & COMPONENT POLISH
   Applied after legacy page styles to prevent low-contrast text.
========================================================= */
:root{
 --sah-text:#1b1b19;--sah-secondary:#625e56;--sah-dark-text:#f4efe4;
}
body{color:var(--sah-text)!important}
p,li,small,label,figcaption,.subtitle,.description,.details,.empty,.muted,.stat-label,.form-note,.help-text{
 color:var(--sah-secondary);
}
h1,h2,h3,h4,h5,h6,.page-heading h1,.page-header h1,.section-title,.form-title h2{
 color:#1b1b19;
}
.card,.stat-card,.listing-card,.category-card,.feature,.service-card,.section-card,
.seller-card,.profile-card,.message-card,.request-card,.notification-card,
.verification-card,.dashboard-card,.product-card,.review-card,.table-wrap,
.page-heading,.page-header,.choice,form,.empty,.empty-state,.empty-message{
 color:#22211e;
}
.card p,.card li,.stat-card p,.stat-card span,.listing-card p,.category-card p,
.feature p,.service-card p,.section-card p,.seller-card p,.profile-card p,
.message-card p,.request-card p,.notification-card p,.verification-card p,
.dashboard-card p,.product-card p,.review-card p,.page-heading p,.page-header p,
.choice small,.table-wrap td,.table-wrap label{
 color:#625e56;
}
.card h1,.card h2,.card h3,.stat-card h1,.stat-card h2,.stat-card h3,
.listing-card h2,.listing-card h3,.category-card h2,.category-card h3,
.feature h2,.feature h3,.service-card h2,.service-card h3,
.section-card h2,.section-card h3,.profile-card h2,.profile-card h3{
 color:#1b1b19;
}
.auth-card,.admin-login-card,.admin-topbar,.admin-sidebar,.watchlist-page,
.watchlist-card,.sell-box,.tool-section,.tool-car,.tools-hero,
.welcome,.cta-section,.top,.topbar,.dark-panel{
 color:#f4efe4;
}
.auth-card h1,.auth-card h2,.auth-card h3,.auth-card .auth-heading,
.auth-card .auth-heading h1,.auth-card .auth-heading p,
.admin-login-card h1,.admin-login-card h2,.admin-login-card p,
.sell-box h1,.sell-box h2,.sell-box h3,.sell-box p,
.tool-section h1,.tool-section h2,.tool-section h3,.tool-section p,
.tool-car h3,.tool-car p,.watchlist-page h1,.watchlist-page p,
.watchlist-card h2,.watchlist-card h3,.watchlist-card p,
.welcome h1,.welcome h2,.welcome p,.cta-section h1,.cta-section h2,.cta-section p{
 color:#f4efe4;
}
.auth-card .eyebrow,.admin-login-card .admin-eyebrow,.sell-box .eyebrow,
.tool-section .eyebrow{color:#e8c66a!important}
.auth-card label,.sell-box label,.tool-section label{color:#e8e1d4!important}
.auth-card input,.auth-card select,.auth-card textarea,
.admin-login-card input,.admin-login-card select,.admin-login-card textarea{
 background:#fffdf8!important;color:#222!important;border-color:#cfc4ae!important;
}
.sell-box input,.sell-box select,.sell-box textarea,
.tool-section input,.tool-section select,.tool-section textarea{
 background:#090a0b!important;color:#f7f1e6!important;border-color:#5a513f!important;
}
input::placeholder,textarea::placeholder{color:#77736b!important;opacity:1}
.sell-box input::placeholder,.tool-section input::placeholder,
.sell-box textarea::placeholder,.tool-section textarea::placeholder{
 color:#aaa397!important;
}
button:disabled{opacity:.58;cursor:not-allowed}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
 outline:2px solid #c49b4a!important;outline-offset:3px;
}
@media(max-width:700px){
 .auth-card{padding:26px 20px!important}
 .page-heading,.page-header{padding:18px!important}
 .table-wrap{overflow-x:auto}
}


/* =========================================================
   READABILITY FIX — DARK PANELS AND VERIFICATION STATUS BOXES
   Keep text readable where a dark message panel sits inside a
   light card, and preserve light text inside dark page sections.
========================================================= */
.wrap .card #status,
.card #status,
.wrap .card #status * {
  color: #f4efe4 !important;
}
.wrap .card #status a,
.card #status a {
  color: #f2d995 !important;
}
:is(.sell-box,.tool-section,.tool-car,.tools-hero,.welcome,.cta-section,.top,.topbar,.dark-panel,.admin-login-card,.auth-card)
:is(p,li,small,figcaption,.subtitle,.description,.details,.empty,.muted,.form-note,.help-text) {
  color: #d8d1c4 !important;
}
:is(.sell-box,.tool-section,.tool-car,.tools-hero,.welcome,.cta-section,.top,.topbar,.dark-panel,.admin-login-card,.auth-card)
:is(h1,h2,h3,h4,h5,h6,strong) {
  color: #f4efe4;
}


/* FINAL VERIFICATION STATUS VISIBILITY — all identity and seller verification steps */
html body .wrap .card #status,
html body .wrap .card #status.verification-status,
html body .card #status {
 display:block !important; visibility:visible !important; opacity:1 !important;
 position:relative !important; width:100% !important; min-height:48px !important;
 height:auto !important; max-height:none !important; overflow:visible !important;
 padding:14px 16px !important; margin:18px 0 !important;
 background:#242424 !important; color:#ffffff !important;
 border:1px solid #806b3d !important; border-radius:8px !important;
 font-family:Arial,sans-serif !important; font-size:15px !important;
 font-weight:600 !important; line-height:1.65 !important;
 white-space:pre-wrap !important; overflow-wrap:anywhere !important;
 word-break:normal !important; text-shadow:none !important;
}
html body .wrap .card #status *, html body .card #status * {
 color:#ffffff !important; visibility:visible !important; opacity:1 !important;
}
html body .wrap .card #status a, html body .card #status a { color:#ffe08a !important; }
