:root{
 --yellow:#ffcf00;
 --black:#111317;
 --dark:#1c2026;
 --gray:#68717e;
 --line:#e1e5ea;
 --background:#f4f6f9;
}

*{box-sizing:border-box}

body{
 margin:0;
 font-family:Arial,Helvetica,sans-serif;
 background:var(--background);
 color:#20242a;
 line-height:1.5;
}

a{text-decoration:none;color:inherit}
button,input,select,textarea{font:inherit}
button{cursor:pointer}

.demo-strip{
 background:#fff1ad;
 padding:6px 12px;
 text-align:center;
 font-size:11px;
 font-weight:800;
 letter-spacing:1px;
}

.top-header{
 background:var(--black);
 color:white;
 min-height:78px;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:20px;
 padding:15px 35px;
}

.brand{
 color:var(--yellow);
 font-weight:900;
 line-height:1.1;
 font-size:23px;
}

.brand span,.brand strong{display:block}
.brand strong{font-size:13px;color:white;letter-spacing:1.3px}

.header-actions{
 display:flex;
 align-items:center;
 gap:20px;
 font-size:13px;
}

.app-shell{
 display:grid;
 grid-template-columns:240px minmax(0,1fr);
 min-height:calc(100vh - 108px);
}

.sidebar{
 background:#191d23;
 color:white;
 padding:25px 15px;
}

.sidebar-title{
 color:#aeb7c2;
 font-size:11px;
 letter-spacing:1px;
 font-weight:900;
 margin:0 12px 25px;
}

.sidebar>a{
 display:block;
 padding:13px 14px;
 border-radius:7px;
 margin:4px 0;
 font-size:14px;
}

.sidebar>a:hover,
.sidebar>a.active{
 background:#353b43;
 color:var(--yellow);
}

.sidebar-bottom{
 border-top:1px solid #41454a;
 margin-top:45px;
 padding:20px 12px;
 font-size:12px;
 color:#bfc5cc;
}

.main-content{
 padding:35px;
 max-width:1550px;
 width:100%;
 min-width:0;
}

.page-heading{
 display:flex;
 justify-content:space-between;
 align-items:center;
 gap:20px;
 margin-bottom:30px;
}

.eyebrow{
 font-size:11px;
 color:#7b838c;
 font-weight:900;
 letter-spacing:2px;
}

h1{
 font-size:32px;
 margin:5px 0;
}

h2{font-size:20px;margin-top:0}

.yellow-button,
.outline-button{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 min-height:44px;
 border-radius:6px;
 padding:12px 17px;
 font-weight:800;
 border:0;
 font-size:13px;
}

.yellow-button{
 background:var(--yellow);
 color:#111;
}

.outline-button{
 background:white;
 border:1px solid var(--line);
}

.stat-grid{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:17px;
 margin-bottom:25px;
}

.stat{
 background:white;
 border:1px solid var(--line);
 border-radius:10px;
 padding:25px;
}

.stat span,.stat small{
 display:block;
 color:var(--gray);
}

.stat strong{
 display:block;
 font-size:35px;
 margin:8px 0;
}

.two-column{
 display:grid;
 grid-template-columns:1.5fr 1fr;
 gap:20px;
}

.panel{
 background:white;
 border:1px solid var(--line);
 border-radius:10px;
 padding:25px;
 margin-bottom:23px;
 min-width:0;
}

.panel-heading{
 display:flex;
 justify-content:space-between;
 align-items:center;
 gap:12px;
}

.panel-heading a{color:#1654a5;font-weight:700}

.quick-actions{
 display:grid;
 grid-template-columns:1fr 1fr;
 gap:12px;
}

.quick-actions a{
 background:#f4f6f8;
 border:1px solid var(--line);
 border-radius:7px;
 padding:18px;
 font-weight:700;
 font-size:13px;
}

.toolbar{
 display:flex;
 flex-wrap:wrap;
 gap:12px;
 margin-bottom:22px;
}

.toolbar input{flex:1;min-width:180px}
.toolbar select{max-width:200px}

input,select,textarea{
 width:100%;
 border:1px solid #d7dce2;
 background:white;
 padding:12px;
 border-radius:6px;
 color:#222;
}

label{
 display:block;
 font-size:13px;
 font-weight:700;
}

label input,
label select,
label textarea{
 margin-top:7px;
}

.form-grid{
 display:grid;
 grid-template-columns:1fr 1fr;
 gap:20px;
}

.wide{grid-column:1/-1}
.form-actions{display:flex;gap:12px}

.table-scroll{
 overflow-x:auto;
 margin-top:15px;
}

table{
 width:100%;
 border-collapse:collapse;
 min-width:650px;
}

th,td{
 padding:15px 12px;
 text-align:left;
 border-bottom:1px solid var(--line);
 font-size:13px;
}

th{background:#f7f8fa}

.vehicle-name{font-weight:800}
.muted{color:var(--gray);font-size:13px}

.status{
 display:inline-block;
 border-radius:30px;
 padding:5px 10px;
 background:#e8edf2;
 font-size:11px;
 font-weight:800;
}

.status.Active{background:#d8f2df;color:#176a35}
.status.Draft{background:#fff0c0;color:#795600}
.status.Sold{background:#e5e5e5;color:#555}

.row-actions{
 display:flex;
 gap:8px;
 flex-wrap:wrap;
}

.row-actions button{
 border:1px solid var(--line);
 background:white;
 padding:7px 10px;
 border-radius:5px;
}

.info-banner{
 background:#fff5c8;
 border-left:4px solid var(--yellow);
 padding:15px;
 margin:20px 0;
}

.upload-zone{
 display:block;
 border:2px dashed #bac4ce;
 border-radius:10px;
 padding:35px;
 text-align:center;
 margin:20px 0;
}

.upload-zone input{margin-top:15px}

.photo-preview{
 display:grid;
 grid-template-columns:repeat(4,1fr);
 gap:10px;
}

.photo-preview img{
 width:100%;
 aspect-ratio:4/3;
 object-fit:cover;
 border-radius:6px;
}

.lead-list{
 display:grid;
 gap:15px;
}

.lead-card{
 border:1px solid var(--line);
 border-radius:8px;
 padding:18px;
}

.lead-card-head{
 display:flex;
 justify-content:space-between;
 gap:15px;
}

.lead-card select{max-width:180px}

.billing-grid{
 display:grid;
 grid-template-columns:1fr 1fr;
 gap:22px;
 margin-bottom:25px;
}

.plan-card{
 background:white;
 border:1px solid var(--line);
 border-radius:12px;
 padding:30px;
}

.plan-card.highlighted{
 border:3px solid var(--yellow);
}

.plan-card h2{
 font-size:37px;
 margin:20px 0;
}

.plan-card h2 small{font-size:15px}

.plan-card li{margin:12px 0}

.plan-label{
 font-size:12px;
 font-weight:900;
 letter-spacing:1px;
}

.chart-bars{
 height:260px;
 display:flex;
 justify-content:space-around;
 align-items:flex-end;
 gap:12px;
 margin-top:30px;
}

.chart-column{
 flex:1;
 height:100%;
 display:flex;
 flex-direction:column;
 justify-content:flex-end;
 text-align:center;
 font-size:12px;
}

.chart-bar{
 background:var(--yellow);
 border-radius:5px 5px 0 0;
}

#notification{
 position:fixed;
 right:25px;
 bottom:25px;
 background:#17191d;
 color:white;
 padding:16px 22px;
 border-radius:8px;
 display:none;
 z-index:100;
 max-width:350px;
}

@media(max-width:1100px){
 .stat-grid{grid-template-columns:repeat(2,1fr)}
 .two-column{grid-template-columns:1fr}
}

@media(max-width:760px){
 .app-shell{grid-template-columns:1fr}
 .sidebar{
  display:flex;
  overflow-x:auto;
  padding:10px;
  gap:5px;
 }
 .sidebar-title,.sidebar-bottom{display:none}
 .sidebar>a{
  white-space:nowrap;
  padding:10px;
 }
 .main-content{padding:18px}
 .top-header{padding:15px}
 .header-actions span{display:none}
 .form-grid,.billing-grid{grid-template-columns:1fr}
 .photo-preview{grid-template-columns:repeat(2,1fr)}
 .page-heading{align-items:flex-start}
}

@media(max-width:480px){
 .stat-grid{grid-template-columns:1fr 1fr;gap:8px}
 .stat{padding:15px}
 .stat strong{font-size:25px}
 .quick-actions{grid-template-columns:1fr}
 .page-heading{flex-direction:column}
}
