/* css/app-shell.css */

:root {
  /* Brand */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;

  /* Neutrals */
  --bg: #f8fafc;
  --surface: #ffffff;
  --border: #e5e7eb;
  --text: #0f172a;
  --text-muted: #64748b;

  /* Status */
  --success: #16a34a;
  --warning: #f59e0b;
  --error: #dc2626;

  --radius: 12px;
}

* {
  box-sizing: border-box;
}


html, body {
  height: 100%;
  overflow: hidden;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: white;
  color: var(--text);
}

/* Layout */
.app {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.logo {
  font-weight: 700;
  font-size: 18px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav a {
  text-decoration: none;
  color: var(--text-muted);
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 500;
}

.nav a.active,
.nav a:hover {
  background: #eff6ff;
  color: var(--primary);
}



.main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}




.header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header h1 {
  font-size: 20px;
  margin: 0;
}


.content {
  flex: 1;
  padding: 0;
  max-width: none;
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.card h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 18px;
}

.card p {
  color: var(--text-muted);
}

/* Forms */
.form-group {
  margin-bottom: 16px;
}

label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
}

input,
select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 14px;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
}

/* Buttons */
.btn {
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  background: #f1f5f9;
  color: var(--text);
}

/* Mobile */
@media (max-width: 900px) {
  .app {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }
}

/* ================================
   Uniform compliance page
   ================================ */

.page-intro {
  margin-bottom: 32px;
}

.page-intro h1 {
  font-size: 24px;
  margin-bottom: 8px;
}

.page-intro p {
  color: var(--text-muted);
  max-width: 720px;
}

/* Info grids */

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.info-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: #fafafa;
}

.info-box h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 15px;
}

.info-box p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.info-box .muted {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Checklist */

.checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.checklist li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
  font-size: 14px;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 700;
}

/* Badges */

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--text);
  margin-bottom: 8px;
}

.badge-primary {
  background: #eff6ff;
  color: var(--primary);
}

/* Use cases */

.use-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 12px;
}

.use-cases p {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* Subtle card */

.card.subtle {
  background: #f8fafc;
}

/* Responsive */

@media (max-width: 900px) {
  .info-grid {
    grid-template-columns: 1fr;
  }

  .use-cases {
    grid-template-columns: 1fr;
  }
}

    .brand{
      display:flex;
      align-items:center;
      gap:12px;
      font-weight:700;
      letter-spacing:.2px;
    }
    .logo-top{
      width:34px;
      height:34px;
      border-radius:12px;
      background: linear-gradient(135deg, rgba(106,167,255,.95), rgba(134,239,172,.85));
      box-shadow: 0 10px 30px rgba(106,167,255,.15);
      position:relative;
    }
    .logo-top::after{
      content:"";
      position:absolute;
      inset:9px;
      border-radius:10px;
      background: #ffffff; 
      border:1px solid rgba(255,255,255,.18);
    }

.menu-toggle {
  display: none;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }
}

.mobile-menu {
  position: absolute;
  top: 72px; /* header height */
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  z-index: 1000;
  display: none;
}

.mobile-menu a {
  padding: 12px 20px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

@media (max-width: 900px) {
  .mobile-menu.open {
    display: flex;
    flex-direction: column;
  }
}

.mobile-menu a:hover {
  background: #eff6ff;
  color: var(--primary);
}

@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 900px) {
  /* Hide desktop sidebar completely */
  .sidebar {
    display: none;
  }
}




