* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, sans-serif; background: #f5f6f8; color: #1f2933; }
a { color: inherit; }
.advertiser-layout { display: flex; min-height: 100vh; }
.advertiser-sidebar { width: 260px; background: #111827; color: #fff; padding: 24px 18px; }
.advertiser-brand { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.advertiser-user { color: #cbd5e1; font-size: 14px; margin-bottom: 22px; }
.advertiser-menu { display: grid; gap: 8px; }
.advertiser-menu a { text-decoration: none; padding: 10px 12px; border-radius: 8px; color: #e5e7eb; }
.advertiser-menu a.active, .advertiser-menu a:hover { background: #273449; }
.advertiser-main { flex: 1; padding: 26px; }
.advertiser-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.advertiser-topbar h1 { margin: 0; font-size: 26px; }
.card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 20px; margin-bottom: 18px; box-shadow: 0 8px 24px rgba(15, 23, 42, .05); }
.grid.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.stat-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 18px; }
.stat-card span { display: block; color: #667085; font-size: 13px; margin-bottom: 8px; }
.stat-card strong { font-size: 24px; }
.btn { display: inline-block; border: 0; border-radius: 9px; padding: 10px 14px; background: #111827; color: #fff; text-decoration: none; cursor: pointer; font-weight: 700; }
.btn-light { background: #eef2f7; color: #111827; }
.btn-sm { padding: 7px 10px; font-size: 13px; }
.alert { padding: 12px 14px; border-radius: 10px; margin-bottom: 15px; }
.alert-success { background: #e7f7ef; color: #116149; }
.alert-danger { background: #feecec; color: #a12626; }
.alert-warning { background: #fff7df; color: #875900; }
.muted { color: #667085; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid #edf0f3; vertical-align: top; }
th { font-size: 13px; color: #667085; background: #fafafa; }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 8px; font-size: 12px; font-weight: 700; background: #eef2f7; color: #344054; }
.badge.active, .badge.paid, .badge.approved, .badge.completed { background: #e7f7ef; color: #116149; }
.badge.pending, .badge.reviewing, .badge.partial, .badge.renewal { background: #fff7df; color: #875900; }
.badge.cancelled, .badge.rejected, .badge.expired, .badge.blocked { background: #feecec; color: #a12626; }
.compact-list { display: grid; gap: 12px; }
.compact-item { border: 1px solid #edf0f3; border-radius: 10px; padding: 12px; }
.compact-item span { display: block; margin-top: 6px; color: #667085; }
.detail-list { display: grid; grid-template-columns: 160px 1fr; gap: 10px 14px; }
.detail-list dt { color: #667085; }
.detail-list dd { margin: 0; font-weight: 700; }
label { display: block; margin-top: 12px; margin-bottom: 6px; font-weight: 700; }
input, select, textarea { width: 100%; border: 1px solid #d0d5dd; border-radius: 9px; padding: 10px; font: inherit; }
textarea { resize: vertical; }
.advertiser-login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: #111827; }
.login-box { width: 100%; max-width: 440px; background: #fff; border-radius: 16px; padding: 28px; box-shadow: 0 18px 60px rgba(0, 0, 0, .25); }
.login-brand { color: #667085; font-weight: 700; margin-bottom: 10px; }
.login-box h1 { margin: 0 0 8px; }
.login-box .btn { width: 100%; margin-top: 18px; }
.back-link { display: inline-block; margin-top: 18px; color: #667085; }
@media (max-width: 900px) {
    .advertiser-layout { display: block; }
    .advertiser-sidebar { width: auto; }
    .grid.two, .stats-grid { grid-template-columns: 1fr; }
    .advertiser-topbar { display: block; }
}

.workflow-box {
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 14px;
    padding: 14px;
    margin: 14px 0;
    background: rgba(255,255,255,0.035);
}
.workflow-box h3 {
    margin-top: 0;
    font-size: 15px;
}
.action-stack {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.compact-item small {
    display: block;
    margin-top: 4px;
    opacity: .75;
}

/* Package 5.3.3 brand icons */
.advertiser-brand,.login-brand{display:flex;align-items:center;gap:10px;line-height:1.15}.advertiser-brand img,.login-brand img{object-fit:cover;border-radius:12px;border:1px solid rgba(215,170,85,.45);box-shadow:0 10px 26px rgba(0,0,0,.18)}.login-brand{color:#111827;font-size:18px}.login-brand img{width:48px;height:48px}.advertiser-brand img{width:36px;height:36px}
