/* Lab96 / Lagom Futuristic — palette da clienti.lab96.it */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --sf-bg: #2c374c;
  --sf-bg-deep: #232b3d;
  --sf-bg-elevated: #353c4e;
  --sf-ink: rgba(235, 241, 255, 0.92);
  --sf-ink-soft: hsla(220, 100%, 94%, 0.8);
  --sf-muted: hsla(220, 100%, 94%, 0.56);
  --sf-line: rgba(178, 204, 255, 0.12);
  --sf-brand: #d14c4c;
  --sf-brand-deep: #b74444;
  --sf-brand-hot: #d92632;
  --sf-sky: #97a4be;
  --sf-success: #36c055;
  --sf-warn: #e0a800;
  --sf-surface: linear-gradient(180deg, rgba(151, 164, 190, 0.16) 0%, rgba(93, 105, 128, 0.16) 24%, rgba(93, 105, 128, 0.16) 100%);
  --sf-surface-solid: rgba(53, 60, 78, 0.92);
  --sf-surface-strong: rgba(44, 55, 76, 0.85);
  --sf-input: rgba(224, 235, 255, 0.08);
  --sf-radius: 6px;
  --sf-radius-sm: 4px;
  --sf-shadow: 0 0 1px rgba(0, 0, 0, 0.1), 0 2px 24px rgba(0, 0, 0, 0.12), inset 0 1px 2px rgba(178, 204, 255, 0.1);
  --sf-shadow-lg: 0 0 1px rgba(0, 0, 0, 0.1), 0 16px 32px rgba(0, 0, 0, 0.16), inset 0 1px 2px rgba(178, 204, 255, 0.1);
  --sf-font: Roboto, sans-serif;
  --sf-display: Roboto, sans-serif;
  --sf-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.sf-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sf-font);
  font-size: 14px;
  font-weight: 400;
  color: var(--sf-ink);
  background: var(--sf-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeSpeed;
}
a { color: var(--sf-ink-soft); text-decoration: none; }
a:hover { color: #fff; text-decoration: none; }

/* —— Atmosphere (Lagom futuristic) —— */
.sf-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 8% 0%, rgba(209, 76, 76, 0.14), transparent 55%),
    radial-gradient(700px 480px at 100% 20%, rgba(151, 164, 190, 0.12), transparent 50%),
    linear-gradient(180deg, #323b52 0%, var(--sf-bg) 40%, var(--sf-bg-deep) 100%);
}
.sf-atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .45;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(178, 204, 255, 0.06) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(178, 204, 255, 0.05) 0 1px, transparent 1px);
  background-size: 48px 48px, 64px 64px;
  animation: sf-drift 40s linear infinite;
}
.sf-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: .4;
  animation: sf-float 14s var(--sf-ease) infinite alternate;
}
.sf-orb-a { width: 260px; height: 260px; background: rgba(209, 76, 76, .28); top: 8%; left: -3%; }
.sf-orb-b { width: 320px; height: 320px; background: rgba(151, 164, 190, .18); top: 50%; right: -6%; animation-delay: -5s; }
.sf-orb-c { width: 180px; height: 180px; background: rgba(209, 76, 76, .12); bottom: 10%; left: 42%; animation-delay: -8s; }

@keyframes sf-drift { to { transform: translate3d(-2%, 1%, 0); } }
@keyframes sf-float {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(14px, -18px, 0) scale(1.05); }
}
@keyframes sf-rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.sf-rise { animation: sf-rise .8s var(--sf-ease) both; }
.sf-rise-2 { animation: sf-rise .9s .1s var(--sf-ease) both; }
.sf-rise-3 { animation: sf-rise 1s .18s var(--sf-ease) both; }

/* —— Shell / nav —— */
.sf-shell { min-height: 100vh; display: flex; flex-direction: column; }
.sf-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .75rem clamp(1rem, 3vw, 2rem);
  background: rgba(44, 55, 76, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--sf-line);
}
.sf-brand {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--sf-display);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: #fff;
}
.sf-brand:hover { color: #fff; }
.hp-logo {
  height: 32px; width: auto; max-width: 148px;
  background: #fff; border-radius: 6px; padding: 2px 6px;
  object-fit: contain; display: block;
}
.sf-mark {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sf-brand);
  color: #fff; font-weight: 700; font-size: 1rem;
  box-shadow: 0 8px 20px rgba(209, 76, 76, 0.35);
}
.sf-nav-links { display: flex; align-items: center; gap: .2rem; flex-wrap: wrap; }
.sf-nav-links a {
  color: var(--sf-ink-soft);
  font-weight: 400;
  font-size: .95rem;
  padding: .5rem .8rem;
  border-radius: var(--sf-radius);
  transition: background .2s, color .2s;
}
.sf-nav-links a:hover { background: rgba(224, 235, 255, 0.08); color: #fff; }
.sf-nav-cta {
  background: var(--sf-brand) !important;
  color: #fff !important;
  font-weight: 500 !important;
}
.sf-nav-cta:hover { background: var(--sf-brand-deep) !important; color: #fff !important; }

.sf-main { flex: 1; width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: 0 0 3.5rem; }
.sf-main.wide { width: min(1280px, calc(100% - 2rem)); }
.sf-flash { width: min(1180px, calc(100% - 2rem)); margin: 1rem auto 0; }
.sf-alert {
  padding: .85rem 1rem; border-radius: var(--sf-radius);
  margin-bottom: .75rem; font-weight: 400;
}
.sf-alert-ok { background: rgba(54, 192, 85, .15); color: #9be6ad; border: 1px solid rgba(54,192,85,.25); }
.sf-alert-err { background: rgba(217, 38, 50, .15); color: #ff9aa1; border: 1px solid rgba(217,38,50,.3); }

/* —— Buttons / forms —— */
.sf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border: 0; cursor: pointer; text-decoration: none !important;
  font-family: var(--sf-font); font-weight: 500; font-size: 14px;
  padding: .75rem 1.15rem; border-radius: var(--sf-radius-sm);
  transition: transform .15s var(--sf-ease), filter .15s, background .15s;
  white-space: nowrap;
}
.sf-btn:hover { transform: translateY(-1px); }
.sf-btn-primary {
  color: #fff !important;
  background: var(--sf-brand);
  box-shadow: 0 8px 20px rgba(209, 76, 76, 0.28);
}
.sf-btn-primary:hover { background: var(--sf-brand-deep); color: #fff !important; }
.sf-btn-ghost {
  color: var(--sf-ink) !important;
  background: rgba(224, 235, 255, 0.08);
  border: 1px solid var(--sf-line);
}
.sf-btn-ghost:hover { background: rgba(224, 235, 255, 0.14); color: #fff !important; }
.sf-btn-block { width: 100%; }
.sf-btn-sm { padding: .55rem .9rem; font-size: 13px; }
.sf-btn-lg { padding: .9rem 1.25rem; font-size: 16px; }

.sf-field { margin-bottom: 1rem; }
.sf-field label {
  display: block; margin-bottom: .35rem;
  font-size: 13px; font-weight: 500; color: var(--sf-ink-soft);
}
.sf-field input, .sf-field select, .sf-field textarea,
.sf-panel input, .sf-panel select, .sf-panel textarea {
  width: 100%;
  border: 1px solid var(--sf-line);
  background: var(--sf-input);
  border-radius: var(--sf-radius-sm);
  padding: .7rem .85rem;
  font: inherit;
  color: #fff;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.sf-field input::placeholder, .sf-panel input::placeholder { color: var(--sf-muted); }
.sf-field input:focus, .sf-field select:focus, .sf-field textarea:focus,
.sf-panel input:focus, .sf-panel select:focus, .sf-panel textarea:focus {
  outline: none;
  border-color: rgba(209, 76, 76, .55);
  box-shadow: 0 0 0 3px rgba(209, 76, 76, .18);
  background: rgba(224, 235, 255, 0.12);
}

/* —— Hero —— */
.sf-hero {
  position: relative;
  min-height: min(88vh, 720px);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: grid;
  align-items: end;
  padding: clamp(5rem, 11vh, 7rem) clamp(1.25rem, 5vw, 3.5rem) clamp(2.5rem, 7vh, 4rem);
  overflow: hidden;
  color: #fff;
}
.sf-hero-media {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(35, 43, 61, 0.92) 0%, rgba(44, 55, 76, 0.75) 45%, rgba(209, 76, 76, 0.22) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='900' viewBox='0 0 1600 900'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%23232b3d'/%3E%3Cstop offset='.55' stop-color='%232c374c'/%3E%3Cstop offset='1' stop-color='%23353c4e'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1600' height='900' fill='url(%23g)'/%3E%3Cg fill='none' stroke='rgba(178,204,255,.08)' stroke-width='1'%3E%3Cpath d='M0 620 C280 520 420 740 720 640 S1120 480 1600 580'/%3E%3Cpath d='M0 700 C320 600 480 780 780 700 S1200 560 1600 660'/%3E%3C/g%3E%3Ccircle cx='1200' cy='220' r='110' fill='rgba(209,76,76,.22)'/%3E%3Crect x='180' y='180' width='400' height='240' rx='8' fill='rgba(151,164,190,.08)' stroke='rgba(178,204,255,.12)'/%3E%3Crect x='220' y='230' width='160' height='12' rx='3' fill='rgba(255,255,255,.28)'/%3E%3Crect x='220' y='270' width='260' height='8' rx='3' fill='rgba(255,255,255,.12)'/%3E%3C/svg%3E")
    center/cover no-repeat;
  animation: sf-float 20s var(--sf-ease) infinite alternate;
}
.sf-hero-inner { position: relative; z-index: 1; max-width: 680px; }
.sf-hero .sf-brand-hero {
  font-family: var(--sf-display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 .9rem;
}
.sf-hero p {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 300;
  line-height: 1.55;
  max-width: 34rem;
  color: var(--sf-ink-soft);
  margin: 0 0 1.5rem;
}
.sf-hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; }

/* —— Sections —— */
.sf-section { padding: clamp(2.2rem, 5vw, 3.8rem) 0 0; }
.sf-section-head { max-width: 38rem; margin-bottom: 1.5rem; }
.sf-section-head h2 {
  font-family: var(--sf-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 .45rem;
}
.sf-section-head p { margin: 0; color: var(--sf-muted); font-size: 1rem; font-weight: 300; line-height: 1.55; }

.sf-domain {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .55rem;
  padding: .85rem;
  border-radius: var(--sf-radius);
  background: var(--sf-surface);
  border: 1px solid var(--sf-line);
  box-shadow: var(--sf-shadow);
  backdrop-filter: blur(12px);
}
.sf-domain input {
  border: 0; background: transparent; font-size: 1.05rem; font-weight: 400;
  padding: .5rem .65rem; width: 100%; color: #fff;
}
.sf-domain input:focus { outline: none; box-shadow: none; }
.sf-domain-result {
  grid-column: 1 / -1;
  padding: .25rem .65rem 0;
  font-weight: 400;
  min-height: 1.3rem;
  color: var(--sf-ink-soft);
}

.sf-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.sf-plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 1.25rem 1.2rem 1.15rem;
  border-radius: var(--sf-radius);
  background: var(--sf-surface);
  border: 1px solid var(--sf-line);
  box-shadow: var(--sf-shadow);
  transition: transform .2s var(--sf-ease), box-shadow .2s, border-color .2s;
  overflow: hidden;
  color: var(--sf-ink);
}
.sf-plan::after {
  content: "";
  position: absolute; inset: auto -15% -35% auto;
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(209,76,76,.18), transparent 70%);
}
.sf-plan:hover {
  transform: translateY(-4px);
  border-color: rgba(209, 76, 76, 0.35);
  box-shadow: var(--sf-shadow-lg);
}
.sf-plan h3 {
  font-family: var(--sf-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 .35rem;
  color: #fff;
}
.sf-plan .desc { color: var(--sf-muted); font-size: .92rem; line-height: 1.45; flex: 1; margin: 0 0 1rem; font-weight: 300; }
.sf-plan .price {
  font-family: var(--sf-display);
  font-size: 1.9rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 .1rem;
}
.sf-plan .price span { font-size: .9rem; font-weight: 400; color: var(--sf-muted); }
.sf-plan .yearly { color: var(--sf-muted); font-size: .85rem; margin: 0 0 1rem; }
.sf-group-label {
  display: inline-block;
  font-size: .68rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: #fff;
  background: var(--sf-brand);
  padding: .28rem .55rem; border-radius: 999px; margin-bottom: .65rem;
}

.sf-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 2rem auto 0;
  padding: 1.4rem 0 2rem;
  border-top: 1px solid var(--sf-line);
  color: var(--sf-muted);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .88rem;
}
.sf-footer a { color: var(--sf-ink-soft); }

/* —— Auth (Lagom login card) —— */
.sf-auth-wrap {
  min-height: calc(100vh - 90px);
  display: grid;
  place-items: center;
  padding: 2rem 0 3rem;
}
.sf-auth {
  width: min(380px, 100%);
  padding: 2rem 1.6rem 1.6rem;
  border-radius: var(--sf-radius);
  background: var(--sf-surface);
  border: none;
  box-shadow: var(--sf-shadow-lg);
  backdrop-filter: blur(14px);
}
.sf-auth.wide { width: min(640px, 100%); }
.sf-auth h1 {
  font-family: var(--sf-display);
  font-size: 32px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 .35rem;
}
.sf-auth .lede { color: var(--sf-ink-soft); margin: 0 0 1.35rem; font-size: 14px; font-weight: 300; }
.sf-auth-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.sf-auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 640px) { .sf-auth-grid { grid-template-columns: 1fr; } }

/* —— Order wizard —— */
.sf-order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.1rem;
  align-items: start;
  padding-top: 1.25rem;
}
@media (max-width: 960px) { .sf-order-layout { grid-template-columns: 1fr; } }
.sf-panel {
  background: var(--sf-surface);
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-radius);
  padding: 1.15rem 1.2rem;
  margin-bottom: .9rem;
  box-shadow: var(--sf-shadow);
}
.sf-panel h2, .sf-panel h3 {
  font-family: var(--sf-display);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 .9rem;
  color: #fff;
}
.sf-cycle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: .55rem;
}
.sf-cycle {
  position: relative;
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-radius);
  padding: .8rem;
  cursor: pointer;
  background: rgba(224, 235, 255, 0.04);
  transition: border-color .2s, background .2s, transform .2s;
}
.sf-cycle:hover { border-color: rgba(209,76,76,.4); transform: translateY(-1px); }
.sf-cycle:has(input:checked) {
  border-color: var(--sf-brand);
  background: rgba(209, 76, 76, 0.14);
}
.sf-cycle input { position: absolute; opacity: 0; }
.sf-cycle strong { display: block; text-transform: capitalize; margin-bottom: .15rem; color: #fff; font-weight: 500; }
.sf-summary {
  position: sticky; top: 5rem;
  background: var(--sf-surface);
  color: var(--sf-ink);
  border-radius: var(--sf-radius);
  padding: 1.25rem;
  box-shadow: var(--sf-shadow-lg);
  border: 1px solid var(--sf-line);
}
.sf-summary h3 { font-family: var(--sf-display); margin: 0 0 .65rem; color: #fff; font-weight: 500; }
.sf-summary .muted { color: var(--sf-muted); font-size: .88rem; }
.sf-summary .total {
  font-family: var(--sf-display);
  font-size: 1.85rem;
  font-weight: 500;
  color: #fff;
  margin: .9rem 0;
}

/* —— Client shell (Lagom left nav) —— */
body.sf-client { background: var(--sf-bg); }
.sf-client-shell { min-height: 100vh; display: grid; grid-template-columns: 260px 1fr; }
@media (max-width: 960px) {
  .sf-client-shell { grid-template-columns: 1fr; }
  .sf-client-side {
    position: fixed; inset: 0 auto 0 0; width: min(280px, 86vw); z-index: 1100;
    transform: translateX(-105%);
    transition: transform .28s var(--sf-ease);
    overflow-y: auto;
  }
  body.sf-side-open .sf-client-side { transform: translateX(0); }
  .sf-client-backdrop {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 1090;
  }
  body.sf-side-open .sf-client-backdrop { display: block; }
}
.sf-client-side {
  background: #232b3d;
  border-right: 1px solid var(--sf-line);
  box-shadow: var(--sf-shadow-lg);
  padding: 1rem .85rem 1.25rem;
  display: flex; flex-direction: column;
  min-height: 100vh;
}
.sf-client-side .sf-brand { margin: .15rem .35rem .85rem; font-size: 1.15rem; color: #fff; }
.sf-client-side .sf-brand .sf-mark { width: 34px; height: 34px; box-shadow: none; }
.sf-side-user {
  display: flex; align-items: center; gap: .7rem;
  margin: 0 .25rem .85rem; padding: .65rem .7rem;
  border-radius: 8px;
  background: rgba(224, 235, 255, 0.05);
  border: 1px solid var(--sf-line);
}
.sf-side-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; flex: 0 0 auto;
  background: rgba(224, 235, 255, 0.1);
  color: #fff; font-size: .8rem; font-weight: 700;
}
.sf-side-user div { min-width: 0; }
.sf-side-user strong { display: block; color: #fff; font-size: .88rem; font-weight: 500; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf-side-user span { display: block; color: var(--sf-muted); font-size: .75rem; line-height: 1.3; margin-top: .1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf-side-nav { display: flex; flex-direction: column; gap: 0; flex: 1; overflow: auto; }
.sf-side-nav .nav-header {
  font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sf-muted); font-weight: 500;
  padding: 1rem .75rem .35rem;
}
.sf-side-nav .nav-item { list-style: none; }
.sf-side-nav .nav-treeview { display: block !important; list-style: none; padding-left: .5rem; margin: 0 0 .3rem; }
.sf-side-nav .right, .sf-side-nav .fa-angle-left { display: none !important; }
.sf-side-nav ul { list-style: none; margin: 0; padding: 0; }
.sf-client-side .nav-pills .nav-link,
.sf-side-nav a.nav-link,
.sf-side-nav .nav-link {
  display: flex; align-items: center; gap: .7rem;
  margin: 1px .15rem;
  padding: .48rem .7rem;
  border-radius: 8px;
  color: var(--sf-ink-soft) !important;
  background: transparent !important;
  font-weight: 400;
  text-decoration: none;
  box-shadow: none;
}
.sf-side-nav button.nav-link {
  width: 100%; border: 0; background: transparent; cursor: pointer;
  text-align: left; font: inherit;
}
.sf-client-side .nav-pills .nav-link:hover,
.sf-side-nav a.nav-link:hover,
.sf-side-nav button.nav-link:hover {
  background: rgba(224, 235, 255, 0.07) !important;
  color: #fff !important;
}
.sf-side-foot {
  flex: 0 0 auto; overflow: visible;
  padding-top: .65rem; margin-top: .65rem;
  border-top: 1px solid var(--sf-line);
}
.sf-side-foot form { margin: 0; }
.sf-client-side .nav-pills .nav-link.active,
.sf-side-nav a.nav-link.active {
  background: rgba(209, 76, 76, 0.16) !important;
  color: #fff !important;
  box-shadow: inset 3px 0 0 var(--sf-brand);
}
.sf-side-nav .nav-icon {
  width: 1.15rem; height: 1.15rem;
  display: inline-grid; place-items: center;
  border-radius: 0;
  background: transparent !important;
  color: #9eb0cc !important;
  font-size: .95rem;
  opacity: 1 !important;
  margin-right: 0;
}
.sf-side-nav a.nav-link:hover .nav-icon,
.sf-side-nav a.nav-link.active .nav-icon { color: #f0b4b4 !important; }
.sf-side-nav p { margin: 0; color: inherit; line-height: 1.2; }
.sf-client-main { min-width: 0; padding: 1rem clamp(1rem, 2.5vw, 1.75rem) 2.25rem; }
.sf-topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-bottom: 1.15rem;
}
.sf-topbar h1 {
  font-family: var(--sf-display);
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}
.sf-topbar .sub { color: var(--sf-muted); margin: .15rem 0 0; font-weight: 300; }
.sf-menu-btn {
  display: none; border: 1px solid var(--sf-line); background: var(--sf-input);
  color: #fff; border-radius: var(--sf-radius); width: 42px; height: 42px; font-size: 1.05rem; cursor: pointer;
}
@media (max-width: 960px) { .sf-menu-btn { display: inline-grid; place-items: center; } }

.sf-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .85rem;
  margin-bottom: 1.15rem;
}
@media (max-width: 1100px) { .sf-stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .sf-stat-grid { grid-template-columns: 1fr; } }
.sf-stat {
  padding: 1.05rem 1.1rem;
  border-radius: var(--sf-radius);
  background: var(--sf-surface);
  border: 1px solid var(--sf-line);
  box-shadow: var(--sf-shadow);
  position: relative; overflow: hidden;
}
.sf-stat::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: var(--sf-brand);
}
.sf-stat .label { color: var(--sf-muted); font-weight: 400; font-size: .82rem; }
.sf-stat .value {
  font-family: var(--sf-display);
  font-size: 1.7rem;
  font-weight: 500;
  color: #fff;
  margin: .2rem 0;
}
.sf-stat a { font-weight: 500; font-size: .85rem; color: var(--sf-ink-soft); }
.sf-stat a:hover { color: #fff; }

/* Bridge AdminLTE cards inside client shell */
.sf-client-main .card {
  border: 1px solid var(--sf-line) !important;
  border-radius: var(--sf-radius) !important;
  box-shadow: var(--sf-shadow) !important;
  background: var(--sf-surface-solid) !important;
  color: var(--sf-ink);
  overflow: hidden;
}
.sf-client-main .card-header {
  background: transparent !important;
  border-bottom: 1px solid var(--sf-line) !important;
  color: #fff;
}
.sf-client-main .card-title {
  font-family: var(--sf-display) !important;
  font-weight: 500 !important;
  color: #fff !important;
}
.sf-client-main .card-body,
.sf-client-main .card-footer { color: var(--sf-ink); background: transparent !important; }
.sf-client-main .table { color: var(--sf-ink); background: transparent; }
.sf-client-main .table thead th {
  border-bottom-color: var(--sf-line) !important;
  color: var(--sf-muted);
  font-weight: 500;
}
.sf-client-main .table td, .sf-client-main .table th { border-top-color: var(--sf-line) !important; }
.sf-client-main .table-striped tbody tr:nth-of-type(odd) { background: rgba(224, 235, 255, 0.04); }
.sf-client-main .text-muted, .sf-client-main .muted { color: var(--sf-muted) !important; }
.sf-client-main a:not(.btn):not(.sf-btn) { color: #e8c0c0; }
.sf-client-main a:not(.btn):not(.sf-btn):hover { color: #fff; }
.sf-client-main .btn-primary,
.sf-client-main .btn.btn-primary {
  background: var(--sf-brand) !important;
  border: 0 !important;
  border-radius: var(--sf-radius-sm) !important;
  font-weight: 500;
}
.sf-client-main .btn-default,
.sf-client-main .btn-secondary,
.sf-client-main .btn.btn-default {
  background: rgba(224, 235, 255, 0.08) !important;
  border: 1px solid var(--sf-line) !important;
  color: var(--sf-ink) !important;
  border-radius: var(--sf-radius-sm) !important;
}
.sf-client-main .small-box {
  border-radius: var(--sf-radius) !important;
  box-shadow: var(--sf-shadow) !important;
  overflow: hidden;
}
.sf-client-main .small-box.bg-primary,
.sf-client-main .small-box.bg-info { background: #3d4a63 !important; }
.sf-client-main .small-box.bg-success { background: rgba(54, 192, 85, 0.25) !important; }
.sf-client-main .small-box.bg-danger { background: rgba(209, 76, 76, 0.35) !important; }
.sf-client-main .small-box.bg-warning { background: rgba(224, 168, 0, 0.25) !important; }
.sf-client-main .content-wrapper,
.sf-client-main .content { background: transparent !important; padding: 0 !important; margin: 0 !important; }
.sf-client-main .content-header { display: none !important; }
.sf-client-main .form-control {
  background: var(--sf-input) !important;
  border: 1px solid var(--sf-line) !important;
  color: #fff !important;
  border-radius: var(--sf-radius-sm) !important;
}
.sf-client-main .badge { font-weight: 500; }
.sf-client-main .chart-wrap { position: relative; height: 260px; }
.sf-client-main .chart-wrap.sm { height: 220px; }
.sf-client-main .agenda-item {
  display: flex; align-items: center; gap: .7rem;
  padding: .6rem 0; border-bottom: 1px solid var(--sf-line);
  color: inherit; text-decoration: none;
}
.sf-client-main .agenda-item:last-child { border-bottom: 0; }
.sf-client-main .datebox {
  width: 46px; text-align: center; border-radius: var(--sf-radius);
  background: rgba(209, 76, 76, .18); padding: .3rem; color: #fff;
}
.sf-client-main .datebox strong { display: block; font-size: 1.15rem; font-weight: 500; }
.sf-client-main .datebox span { font-size: .68rem; text-transform: uppercase; color: var(--sf-muted); }

.sf-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: .75rem;
}
.sf-client-main a.sf-quick {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  padding: .9rem .5rem; text-align: center;
  border: 1px solid var(--sf-line); border-radius: var(--sf-radius);
  background: rgba(224, 235, 255, 0.04);
  color: var(--sf-ink-soft); font-size: .84rem; text-decoration: none;
  transition: border-color .15s, background .15s, transform .15s;
}
.sf-client-main a.sf-quick:hover { border-color: rgba(209, 76, 76, .55); background: rgba(209, 76, 76, .08); color: #fff; transform: translateY(-1px); }
.sf-quick .bubble {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sf-brand); color: #fff; font-size: 1.05rem;
  box-shadow: 0 8px 18px rgba(209, 76, 76, .25);
}
.sf-client-main .plesk-mgmt-nav .nav-link { padding: .5rem .65rem; border-radius: var(--sf-radius-sm); font-size: .88rem; }

.sf-impersonation {
  background: rgba(209, 76, 76, .25); color: #fff; text-align: center; padding: .5rem; font-weight: 500;
}

/* Lagom-style icon tiles on public store */
.sf-icon-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 0;
}
.sf-icon-tile {
  text-align: center;
  color: var(--sf-ink-soft);
  font-size: .9rem;
  font-weight: 400;
}
.sf-icon-tile .bubble {
  width: 56px; height: 56px; margin: 0 auto .55rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sf-brand);
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 10px 22px rgba(209, 76, 76, 0.28);
}
