
:root {
  --brand: #0073e6;
  --dark: #222;
  --light: #f9f9f9;
  --radius: 10px;
  --max-width: 1200px;
  --font: "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font); line-height: 1.6; color: #333; background: #fff; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--max-width); margin: auto; padding: 0 20px; }

/* Header */
.site-header {
  background: var(--light);
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0; z-index: 1000;
}
.header-inner {
  display: flex; justify-content: space-between; align-items: center; padding: 10px 0;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: bold; color: var(--dark); }
.logo { background: var(--brand); color: #fff; font-weight: bold; padding: 6px 10px; border-radius: var(--radius); }
.title { font-size: 1.2rem; }

.search-inline input {
  padding: 6px 10px; border: 1px solid #ccc; border-radius: var(--radius); width: 220px;
}
.icon-btn { background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* Layout */
.layout { display: grid; grid-template-columns: 240px 1fr; gap: 20px; margin: 20px auto; max-width: var(--max-width); }
.sidebar-nav {
  display: flex; flex-direction: column; gap: 6px; padding: 12px; background: var(--dark); color: #fff; border-radius: var(--radius); height: fit-content;
  position: sticky; top: 80px;
}
.sidebar-nav a { color: #fff; padding: 8px; border-radius: 6px; font-weight: 600; }
.sidebar-nav a.active, .sidebar-nav a:hover { background: var(--brand); }

.main-card { background: #fff; padding: 20px; border-radius: var(--radius); box-shadow: 0 2px 5px rgba(0,0,0,0.1); }

/* Footer */
.site-footer { text-align: center; padding: 20px; background: var(--light); margin-top: 40px; font-size: 0.9rem; }

/* Mobile */
@media (max-width: 768px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar-nav { display: none; }
  .search-inline input { width: 140px; }
}
