/* assets/dashboard.css
   Responsive, professional styling using Source Sans Pro.
   Colors: black (#000000) and red (#e70100).
*/
:root{
  --black:#000000;
  --red:#e70100;
  --bg:#fafbfc;
  --card:#ffffff;
  --muted:#6b7280;
  --shadow: 0 8px 30px rgba(15,23,42,0.06);
  --radius:12px;
  --gap:18px;
  --font: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
}
*{box-sizing:border-box}
body{margin:0;font-family:var(--font);background:var(--bg);color:var(--black);-webkit-font-smoothing:antialiased}
.app{display:flex;min-height:100vh}
.sidebar{width:260px;background:var(--card);padding:20px;border-right:1px solid #eceff3;display:flex;flex-direction:column;gap:18px}
.brand{display:flex;gap:12px;align-items:center}
.brand-logo{width:48px;height:48px;border-radius:10px;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:20px}
.brand-title{font-size:18px;font-weight:800}
.brand-sub{font-size:12px;color:var(--muted)}
.status-row{display:flex;align-items:center;gap:8px;padding:8px 4px}
.status-dot{width:12px;height:12px;border-radius:50%;background:#cbd5e1;border:2px solid #fff;box-shadow:0 1px 0 rgba(0,0,0,0.06)}
.status-text{font-size:13px;color:var(--muted)}
.menu{display:flex;flex-direction:column;gap:6px}
.menu-item{display:flex;align-items:center;gap:10px;padding:10px;border-radius:8px;color:var(--black);text-decoration:none;font-weight:600}
.menu-item:hover{background:#f3f6f8;box-shadow:var(--shadow)}
.sidebar-actions{display:flex;flex-direction:column;gap:8px}
.sidebar-foot{margin-top:auto;font-size:13px;color:var(--muted)}
.main{flex:1;padding:22px;display:flex;flex-direction:column;gap:18px}
.topbar{display:flex;justify-content:space-between;align-items:center;gap:12px}
.search{padding:10px 12px;border-radius:10px;border:1px solid #e6eef7;min-width:360px}
.company-name{font-weight:800;font-size:14px}
.overview .cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}
.card{background:var(--card);padding:16px;border-radius:12px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:8px}
.card .label{font-size:13px;color:var(--muted);font-weight:600}
.card .value{font-size:28px;font-weight:900}
.card-cta{margin-top:auto}
.link{color:var(--red);font-weight:700;text-decoration:none}
.content-row{display:flex;gap:18px;align-items:flex-start}
.panel{background:var(--card);border-radius:12px;padding:12px;box-shadow:var(--shadow)}
.panel-left{flex:1}
.panel-right{width:340px}
.panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.admin-table{width:100%;border-collapse:collapse}
.admin-table thead th{font-weight:700;color:var(--muted);text-align:left;padding:10px 12px}
.admin-table td{padding:10px 12px;border-bottom:1px solid #f1f4f6}
.muted{color:var(--muted)}
.right{text-align:right}
.quick-links a{display:block;padding:8px;border-radius:8px;color:var(--black);text-decoration:none;border:1px solid #f1f4f6;margin-bottom:8px}
.btn{padding:8px 12px;border-radius:8px;border:0;cursor:pointer;font-weight:800}
.btn.primary{background:var(--black);color:#fff}
.btn.ghost{background:#fff;border:1px solid #e6eef7}
@media (max-width:900px){
  .sidebar{display:none}
  .search{min-width:160px}
  .content-row{flex-direction:column}
  .panel-right{width:100%}
  .brand-title{font-size:16px}
}