:root{
  --red:#f0143c;
  --red2:#b90025;
  --dark:#15151d;
  --muted:#6b7280;
  --line:#eceef2;
  --bg:#fafafa;
  --card:#fff;
  --soft:#fff3f5;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:Inter,Arial,sans-serif;
  background:var(--bg);
  color:var(--dark);
}

a{text-decoration:none;color:inherit}

.shell{
  display:flex;
  min-height:100vh;
}

.sidebar{
  width:280px;
  min-width:280px;
  height:100vh;
  background:#fff;
  border-right:1px solid var(--line);
  padding:24px;
  position:fixed;
  top:0;
  left:0;
  overflow-y:auto;
  overflow-x:hidden;
}

.main{
  margin-left:280px;
  width:calc(100% - 280px);
  min-height:100vh;
  padding:34px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  font-size:22px;
}

.brand-mark{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:14px;
  background:linear-gradient(135deg,var(--red),var(--red2));
  color:#fff;
  box-shadow:0 14px 30px rgba(240,20,60,.24);
}

.side-brand{margin-bottom:20px}

.user-card{
  border:1px solid var(--line);
  border-radius:22px;
  padding:16px;
  background:linear-gradient(180deg,#fff,#fff7f8);
  margin:18px 0;
}

.user-card span,
.user-card small{
  display:block;
  color:var(--muted);
  margin-top:5px;
  font-size:13px;
}

.side-nav{
  display:grid;
  gap:8px;
  padding-bottom:90px;
}

.side-nav a,
.logout{
  display:block;
  padding:13px 14px;
  border-radius:16px;
  color:#4b5563;
  font-weight:800;
}

.side-nav a.active,
.side-nav a:hover{
  background:var(--soft);
  color:var(--red);
}

.side-label{
  font-size:12px;
  text-transform:uppercase;
  color:#9ca3af;
  font-weight:900;
  margin:18px 0 4px;
}

.logout{
  background:#111827;
  color:#fff;
  text-align:center;
  margin-top:24px;
}

.page-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  margin-bottom:24px;
}

.page-head h1{
  font-size:36px;
  margin:0;
}

.muted{
  color:var(--muted);
  line-height:1.55;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:999px;
  padding:12px 18px;
  font-weight:800;
  cursor:pointer;
}

.btn-red{
  background:var(--red);
  color:#fff;
  box-shadow:0 16px 34px rgba(240,20,60,.24);
}

.btn-light{
  background:#fff;
  color:var(--dark);
  border:1px solid var(--line);
}

.btn-dark{
  background:var(--dark);
  color:#fff;
}

.metrics{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.metric,
.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:20px;
}

.metric span{
  color:var(--muted);
  font-weight:800;
}

.metric strong{
  display:block;
  font-size:30px;
  margin-top:10px;
}

.grid-2{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:18px;
  margin-top:18px;
}

.table-wrap{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  overflow:hidden;
  margin-top:18px;
}

.table{
  width:100%;
  border-collapse:collapse;
}

.table th,
.table td{
  padding:15px;
  border-bottom:1px solid var(--line);
  text-align:left;
  font-size:14px;
}

.table th{
  background:#fbfbfc;
  color:#6b7280;
  text-transform:uppercase;
  font-size:12px;
}

.status{
  display:inline-flex;
  padding:7px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
}

.status.pending{background:#fff5d6;color:#9a6500}
.status.active{background:#e7f8ee;color:#08753d}
.status.paused{background:#eef2ff;color:#3346a3}
.status.rejected,.status.blocked{background:#ffe4e6;color:#b00020}
.status.draft{background:#f3f4f6;color:#4b5563}

.form{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:24px;
  max-width:960px;
}

.form-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}

.field{
  display:grid;
  gap:8px;
}

.field.full{grid-column:1/-1}

.field label{font-weight:900}

.field input,
.field select,
.field textarea{
  width:100%;
  padding:14px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  font:inherit;
}

.field textarea{min-height:110px}

.notice{
  padding:14px 16px;
  border-radius:16px;
  margin-bottom:16px;
}

.notice.error{background:#ffe4e6;color:#9f1239}
.notice.ok{background:#dcfce7;color:#166534}

.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.inline-form{display:inline}

.small-btn{
  border:0;
  border-radius:12px;
  padding:8px 10px;
  font-weight:900;
  cursor:pointer;
}

.danger{background:#ffe4e6;color:#b00020}
.okbtn{background:#dcfce7;color:#166534}
.warn{background:#fff7d6;color:#8a5b00}

.topbar{
  height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 48px;
  background:#fff;
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:5;
}

.public-nav{
  display:flex;
  align-items:center;
  gap:24px;
  color:#555;
  font-weight:700;
}

.hero{
  padding:72px 48px 40px;
  display:grid;
  grid-template-columns:1fr 460px;
  gap:48px;
  align-items:center;
}

.eyebrow{
  display:inline-flex;
  padding:9px 13px;
  border-radius:999px;
  background:var(--soft);
  color:var(--red);
  font-weight:900;
  margin-bottom:18px;
}

.hero h1{
  font-size:62px;
  line-height:1.02;
  margin:0 0 18px;
  letter-spacing:-2px;
}

.hero p{
  font-size:18px;
  line-height:1.7;
  color:var(--muted);
  max-width:690px;
}

.hero-actions{
  display:flex;
  gap:12px;
  margin-top:28px;
}

.preview{
  background:linear-gradient(180deg,#fff,#fff7f8);
  border:1px solid var(--line);
  border-radius:34px;
  padding:18px;
  box-shadow:0 30px 90px rgba(20,20,29,.1);
}

.preview-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:18px;
}

.dots{display:flex;gap:6px}

.dots span{
  width:9px;
  height:9px;
  border-radius:50%;
  background:#ddd;
}

.fake-chart{
  height:160px;
  border-radius:24px;
  background:linear-gradient(135deg,#fff,#ffe8ed);
  position:relative;
  overflow:hidden;
}

.fake-chart:after{
  content:"";
  position:absolute;
  inset:35px 25px;
  background:linear-gradient(135deg,transparent 40%,rgba(240,20,60,.35));
  clip-path:polygon(0 80%,18% 55%,36% 68%,55% 30%,74% 44%,100% 12%,100% 100%,0 100%);
}

.mini-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  margin-top:14px;
}

.mini{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:16px;
}

.mini strong{
  display:block;
  font-size:24px;
}

.section{
  padding:48px;
}

.section h2{
  font-size:38px;
  letter-spacing:-1px;
  margin:0 0 12px;
}

.section-intro{
  color:var(--muted);
  max-width:760px;
}

.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:24px;
}

.card h3{margin:0 0 10px}

.card p{color:var(--muted);line-height:1.55}

.auth-page{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:24px;
  background:radial-gradient(circle at top left,#ffe4ea,transparent 34%),#fff;
}

.auth-card{
  width:min(470px,100%);
  background:#fff;
  border:1px solid var(--line);
  border-radius:34px;
  padding:32px;
  box-shadow:0 30px 90px rgba(20,20,29,.12);
}

.auth-card h1{
  margin:20px 0 6px;
  font-size:34px;
}

.footer{
  padding:36px 48px;
  color:#6b7280;
  border-top:1px solid var(--line);
  background:#fff;
  margin-top:40px;
}

@media(max-width:900px){
  .hero{
    grid-template-columns:1fr;
    padding:42px 20px;
  }

  .hero h1{font-size:42px}

  .topbar{padding:0 20px}

  .public-nav{gap:12px}

  .cards,
  .metrics,
  .grid-2,
  .form-grid{
    grid-template-columns:1fr;
  }

  .sidebar{
    position:static;
    width:100%;
    min-width:100%;
    height:auto;
    border-right:0;
  }

  .shell{display:block}

  .main{
    margin-left:0;
    width:100%;
    padding:20px;
  }
}
.geo-search{
width:100%;
padding:12px;
border:1px solid #ddd;
border-radius:12px;
}

.geo-dropdown{
margin-top:10px;
max-height:220px;
overflow:auto;
border:1px solid #eceef2;
border-radius:12px;
background:#fff;
}

.geo-item{
padding:10px 14px;
cursor:pointer;
}

.geo-item:hover{
background:#f5f5f5;
}

.geo-tags{
display:flex;
flex-wrap:wrap;
gap:8px;
margin:10px 0;
}

.geo-tag{
background:#f0143c;
color:white;
padding:6px 10px;
border-radius:999px;
font-size:13px;
cursor:pointer;
}
.geo-search{
width:100%;
padding:12px;
border:1px solid #ddd;
border-radius:12px;
}

.geo-dropdown{
display:none;
position:absolute;
width:100%;
max-height:250px;
overflow:auto;
background:#fff;
border:1px solid #eceef2;
border-radius:12px;
box-shadow:0 10px 30px rgba(0,0,0,.08);
z-index:100;
margin-top:4px;
}

.geo-dropdown.show{
display:block;
}

.geo-dropdown{
display:none;
position:absolute;
width:100%;
max-height:250px;
overflow:auto;
background:#fff;
border:1px solid #eceef2;
border-radius:12px;
box-shadow:0 10px 30px rgba(0,0,0,.08);
z-index:100;
margin-top:4px;
}

.geo-dropdown.show{
display:block;
}