/* Dutchino - samin (admin panel): reference dashboard layout mirrored for RTL, compact forms, tables,
   Dutch identity tokens. Mobile first. Author: SPSDEVNIC.NET */
.samin { background: var(--delft-50); }
.sm-shell { display: flex; min-height: calc(100vh - 9px); }

/* sidebar */
.sm-side {
  position: fixed; inset-block: 0; inset-inline-start: 0; z-index: 40; width: 264px; transform: translateX(110%);
  background: var(--surface); border-inline-end: 1px solid var(--line); display: flex; flex-direction: column; padding: var(--s4);
  transition: transform .2s ease;
}
.sm-side.is-open { transform: none; box-shadow: var(--shadow-lg); }
.sm-brand { display: flex; align-items: center; gap: var(--s3); text-decoration: none; padding: var(--s2) var(--s2) var(--s5); }
.sm-brand span { display: flex; flex-direction: column; line-height: 1.2; }
.sm-brand b { color: var(--nl-navy); font-size: 1.25rem; }
.sm-brand small { color: var(--muted); font-size: var(--fs-xs); }
.sm-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; overflow-y: auto; }
.sm-nav a, .sm-side__foot a, .sm-side__foot button {
  display: flex; align-items: center; gap: var(--s3); padding: 10px 12px; border-radius: 12px; color: #344054; text-decoration: none;
  font: inherit; font-weight: 600; background: none; border: 0; width: 100%; cursor: pointer; text-align: start;
}
.sm-nav a:hover, .sm-side__foot a:hover, .sm-side__foot button:hover { background: var(--delft-50); color: var(--nl-blue); }
.sm-nav a[aria-current="page"] { background: var(--nl-blue); color: var(--white); box-shadow: 0 6px 16px -8px rgba(33, 70, 139, .7); }
.ic { width: 20px; height: 20px; flex: none; }
.sm-side__foot { border-top: 1px solid var(--line); padding-top: var(--s3); display: grid; gap: 2px; }
.sm-scrim { position: fixed; inset: 0; background: rgba(20, 44, 92, .35); z-index: 30; }

/* main */
.sm-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sm-top { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--gutter); background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.sm-top h1 { font-size: var(--fs-lg); margin: 0; flex: 1; }
.sm-actions { display: flex; gap: var(--s2); flex-wrap: wrap; justify-content: flex-end; }
.sm-menu-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--nl-navy); cursor: pointer; }
.sm-content { padding: var(--s5) var(--gutter); flex: 1; }
.sm-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); padding: var(--s4) var(--gutter); color: var(--muted); font-size: var(--fs-sm); }

@media (min-width: 1024px) {
  .sm-side { position: sticky; top: 0; height: 100vh; transform: none; }
  .sm-menu-btn { display: none; }
  .sm-content { padding: var(--s6); }
  .sm-top { padding-inline: var(--s6); }
}

/* login */
.sm-login { min-height: 100vh; display: grid; place-items: center; padding: var(--s5); background: var(--delft-50); }
.sm-login__card { width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s6); box-shadow: var(--shadow); }
.sm-login__card .btn { width: 100%; }
.sm-login__brand { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s5); }
.sm-login__brand b { font-size: 1.3rem; color: var(--nl-navy); display: block; }
.sm-login__brand small { color: var(--muted); }
.dev-code { direction: ltr; font-family: var(--font-nl); font-weight: 800; letter-spacing: .3em; font-size: 1.3rem; text-align: center; background: var(--oranje-50); color: var(--oranje-700); border-radius: 10px; padding: 8px; }
