/* ============ AutoSmart - design system ============ */
:root {
  --ink: #0e1726;
  --ink-2: #3d4a5c;
  --muted: #74808f;
  --bg: #f4f6f9;
  --card: #ffffff;
  --line: #e4e9ef;
  --accent: #0284c7;
  --accent-dark: #075e8f;
  --accent-soft: #e3f3fd;
  --blue: #2563eb;
  --blue-soft: #e8effd;
  --green: #16a34a;
  --green-soft: #e7f7ec;
  --red: #dc2626;
  --red-soft: #fdecec;
  --amber: #d97706;
  --amber-soft: #fdf3e2;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(14, 23, 38, .06), 0 4px 16px rgba(14, 23, 38, .07);
  --shadow-lg: 0 8px 32px rgba(14, 23, 38, .14);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; }
img { max-width: 100%; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ============ Butoane ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 10px; font-weight: 600; font-size: 15px;
  padding: 11px 20px; transition: all .15s ease; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(2, 132, 199, .35); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1d2a3f; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-soft { background: var(--accent-soft); color: var(--accent-dark); }
.btn-soft:hover { background: #cfe9fa; }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ============ Header public ============ */
.site-header {
  background: #fff; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -.3px; }
.logo-badge {
  width: 34px; height: 34px; border-radius: 9px; background: var(--ink);
  display: grid; place-items: center; color: #fff; font-size: 17px;
}
.logo span em { color: var(--accent); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }

/* ============ Hero ============ */
.hero {
  background: linear-gradient(135deg, #0e1726 0%, #1a2942 55%, #24344f 100%);
  color: #fff; padding: 64px 0 96px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 480px; height: 480px;
  border-radius: 50%; border: 54px solid rgba(2, 132, 199, .14);
}
.hero::before {
  content: ""; position: absolute; right: 40px; bottom: -190px; width: 380px; height: 380px;
  border-radius: 50%; border: 40px solid rgba(255, 255, 255, .05);
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; }
.hero .pill {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18); border-radius: 100px; padding: 6px 14px;
  font-size: 13px; font-weight: 600; margin-bottom: 22px;
}
.hero .pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }
.hero h1 { font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; letter-spacing: -1px; line-height: 1.12; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p.sub { margin-top: 16px; font-size: 17px; color: #b8c4d4; max-width: 560px; }

/* Search bar */
.searchbar {
  margin-top: 32px; background: #fff; border-radius: 16px; padding: 10px;
  display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 10px;
  box-shadow: var(--shadow-lg);
}
.searchbar .field { display: flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: 10px; background: var(--bg); }
.searchbar .field .icon { font-size: 18px; }
.searchbar .field .f-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.searchbar .field label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }
.searchbar .field select, .searchbar .field input {
  border: none; background: transparent; outline: none; font-size: 15px; font-weight: 600; color: var(--ink); width: 100%;
}
.searchbar .btn { border-radius: 12px; font-size: 16px; padding: 0 28px; }

.hero-stats { display: flex; gap: 36px; margin-top: 36px; }
.hero-stats .hs strong { display: block; font-size: 24px; font-weight: 800; }
.hero-stats .hs span { font-size: 13px; color: #9fadc0; }

/* ============ Sectiune listare ============ */
.listing { padding: 40px 0 60px; }
.listing-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.listing-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -.4px; }
.listing-head .count { color: var(--muted); font-size: 14px; }
.sort-box { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.sort-box select {
  border: 1.5px solid var(--line); border-radius: 8px; padding: 7px 10px; background: #fff;
  font-weight: 600; font-size: 13.5px; color: var(--ink); outline: none;
}

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 26px; }
.chip {
  border: 1.5px solid var(--line); background: #fff; border-radius: 100px;
  padding: 8px 16px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: all .12s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 20px; }

/* Card service */
.svc-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.svc-cover { height: 118px; position: relative; display: flex; align-items: flex-end; padding: 14px; }
.svc-cover .emoji { position: absolute; right: 16px; top: 12px; font-size: 40px; opacity: .9; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.svc-cover .open-badge {
  background: rgba(255,255,255,.92); border-radius: 100px; padding: 4px 11px;
  font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px;
}
.svc-cover .open-badge .dot { width: 7px; height: 7px; border-radius: 50%; }
.open-now .dot { background: var(--green); } .open-now { color: #15803d; }
.closed-now .dot { background: var(--red); } .closed-now { color: var(--red); }

.svc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc-title-row { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.svc-title-row h3 { font-size: 17px; font-weight: 750; letter-spacing: -.2px; }
.rating { display: inline-flex; align-items: center; gap: 5px; background: var(--ink); color: #fff; border-radius: 8px; padding: 3px 8px; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.rating .star { color: #fbbf24; font-size: 12px; }
.svc-meta { font-size: 13.5px; color: var(--muted); display: flex; flex-direction: column; gap: 3px; }
.svc-meta .row { display: flex; align-items: center; gap: 7px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 6px; background: var(--bg); color: var(--ink-2); }
.tag.hl { background: var(--accent-soft); color: var(--accent-dark); }
.tag.itp { background: var(--blue-soft); color: var(--blue); }
.svc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--line); }
.next-slot { font-size: 13px; color: var(--ink-2); }
.next-slot strong { color: var(--green); font-weight: 750; }
.no-results { text-align: center; padding: 60px 0; color: var(--muted); font-size: 15px; grid-column: 1 / -1; }

/* ============ How it works / CTA ============ */
.how { background: #fff; border-top: 1px solid var(--line); padding: 56px 0; }
.how h2, .cta-biz h2 { font-size: 26px; font-weight: 800; letter-spacing: -.5px; text-align: center; }
.how .sub2 { text-align: center; color: var(--muted); margin-top: 8px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 38px; }
.how-step { text-align: center; padding: 26px 20px; border-radius: var(--radius); background: var(--bg); }
.how-step .num {
  width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 12px; background: var(--ink);
  color: #fff; display: grid; place-items: center; font-size: 20px;
}
.how-step h3 { font-size: 16.5px; font-weight: 750; margin-bottom: 6px; }
.how-step p { font-size: 14px; color: var(--muted); }

.cta-biz { background: linear-gradient(135deg, #1a2942, #0e1726); color: #fff; padding: 56px 0; }
.cta-biz .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-biz h2 { text-align: left; }
.cta-biz p { color: #b8c4d4; margin-top: 8px; max-width: 520px; }
.cta-biz ul { margin: 14px 0 0 18px; color: #d7dfe9; font-size: 14.5px; display: grid; gap: 4px; }

.site-footer { padding: 28px 0; color: var(--muted); font-size: 13.5px; }
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ============ Pagina profil service ============ */
.profile-hero { color: #fff; padding: 44px 0 28px; position: relative; }
.profile-hero .crumb { font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 14px; display: inline-block; }
.profile-hero .crumb:hover { color: #fff; }
.profile-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.profile-head h1 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; letter-spacing: -.7px; }
.profile-head .meta { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; color: rgba(255,255,255,.85); }
.profile-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.pbadge { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 100px; padding: 5px 13px; font-size: 12.5px; font-weight: 650; }

.profile-layout { display: grid; grid-template-columns: 1fr 400px; gap: 26px; padding: 30px 0 60px; align-items: start; }

.panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel-pad { padding: 22px; }
.panel h2 { font-size: 18px; font-weight: 750; letter-spacing: -.3px; margin-bottom: 14px; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); padding: 0 14px; }
.tab-btn {
  background: none; border: none; padding: 14px 14px 12px; font-size: 14.5px; font-weight: 650;
  color: var(--muted); border-bottom: 2.5px solid transparent; margin-bottom: -1px;
}
.tab-btn.active { color: var(--ink); border-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.price-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.price-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); padding: 10px 8px; border-bottom: 1px solid var(--line); }
.price-table td { padding: 13px 8px; border-bottom: 1px solid var(--line); }
.price-table tr:last-child td { border-bottom: none; }
.price-table .p-name { font-weight: 650; }
.price-table .p-dur { color: var(--muted); font-size: 13px; }
.price-table .p-price { font-weight: 750; white-space: nowrap; text-align: right; }

.review { padding: 16px 0; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: none; }
.review .r-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.review .r-name { font-weight: 700; font-size: 14.5px; }
.review .r-stars { color: #f59e0b; font-size: 13px; letter-spacing: 1px; }
.review .r-date { font-size: 12.5px; color: var(--muted); }
.review p { font-size: 14px; color: var(--ink-2); }

.about-list { display: grid; gap: 10px; font-size: 14.5px; }
.about-list .row { display: flex; gap: 10px; align-items: flex-start; }
.about-list .row .ic { width: 20px; text-align: center; }
.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; font-size: 14px; margin-top: 6px; }
.hours-grid .day { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.hours-grid .day.today { font-weight: 750; color: var(--accent-dark); }
.map-ph {
  height: 180px; border-radius: 10px; background:
    linear-gradient(rgba(37,99,235,.06), rgba(37,99,235,.06)),
    repeating-linear-gradient(0deg, transparent, transparent 28px, #dbe4f0 28px, #dbe4f0 29px),
    repeating-linear-gradient(90deg, #eef2f8, #eef2f8 28px, #dbe4f0 28px, #dbe4f0 29px);
  display: grid; place-items: center; margin-top: 14px; position: relative;
}
.map-ph .pin { font-size: 30px; filter: drop-shadow(0 3px 4px rgba(0,0,0,.25)); }
.map-ph small { position: absolute; bottom: 8px; right: 12px; color: var(--muted); font-size: 11px; }

/* ============ Booking widget ============ */
.booking { position: sticky; top: 84px; }
.booking-head { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.booking-head h2 { font-size: 17px; font-weight: 800; margin: 0; }
.steps-dots { display: flex; gap: 5px; }
.steps-dots i { width: 22px; height: 5px; border-radius: 3px; background: var(--line); transition: background .2s; }
.steps-dots i.on { background: var(--accent); }

.bk-step { display: none; padding: 20px 22px 24px; }
.bk-step.active { display: block; }
.bk-label { font-size: 12.5px; font-weight: 750; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin: 14px 0 8px; }
.bk-label:first-child { margin-top: 0; }

.svc-options { display: grid; gap: 8px; }
.svc-opt {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fff;
  text-align: left; font-size: 14.5px; transition: all .12s;
}
.svc-opt:hover { border-color: #c3ced9; }
.svc-opt.selected { border-color: var(--accent); background: var(--accent-soft); }
.svc-opt .o-name { font-weight: 650; }
.svc-opt .o-dur { font-size: 12.5px; color: var(--muted); }
.svc-opt .o-price { font-weight: 750; white-space: nowrap; }

.day-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.day-cell {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 2px; background: #fff;
  text-align: center; transition: all .12s;
}
.day-cell .dw { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.day-cell .dn { display: block; font-size: 16px; font-weight: 750; margin-top: 1px; }
.day-cell.selected { border-color: var(--accent); background: var(--accent-soft); }
.day-cell.selected .dw { color: var(--accent-dark); }

.slots-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.slot {
  border: 1.5px solid var(--line); border-radius: 8px; padding: 9px 4px; background: #fff;
  font-size: 13.5px; font-weight: 650; text-align: center; transition: all .12s;
}
.slot:hover { border-color: #c3ced9; }
.slot.selected { border-color: var(--accent); background: var(--accent); color: #fff; }
.slot.taken { opacity: .35; text-decoration: line-through; cursor: not-allowed; }

.form-grid { display: grid; gap: 12px; }
.form-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 5px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px;
  outline: none; transition: border-color .12s; background: #fff;
}
.form-field input:focus, .form-field select:focus { border-color: var(--accent); }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.bk-summary { background: var(--bg); border-radius: 10px; padding: 14px; font-size: 14px; display: grid; gap: 6px; margin-bottom: 16px; }
.bk-summary .row { display: flex; justify-content: space-between; gap: 10px; }
.bk-summary .row span:first-child { color: var(--muted); }
.bk-summary .row span:last-child { font-weight: 650; text-align: right; }

.sms-box { text-align: center; padding: 8px 0 4px; }
.sms-box .sms-ic { font-size: 38px; }
.sms-box p { font-size: 14px; color: var(--ink-2); margin: 10px 0 16px; }
.code-inputs { display: flex; gap: 8px; justify-content: center; margin-bottom: 8px; }
.code-inputs input {
  width: 48px; height: 56px; text-align: center; font-size: 24px; font-weight: 800;
  border: 1.5px solid var(--line); border-radius: 10px; outline: none;
}
.code-inputs input:focus { border-color: var(--accent); }
.sms-hint { font-size: 12.5px; color: var(--muted); margin-bottom: 16px; }
.sms-hint b { color: var(--accent-dark); }

.success-box { text-align: center; padding: 10px 0; }
.success-box .ok-ic {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--green-soft);
  display: grid; place-items: center; font-size: 30px;
}
.success-box h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.success-box p { font-size: 14px; color: var(--muted); }
.bk-nav { display: flex; gap: 10px; margin-top: 18px; }
.bk-nav .btn { flex: 1; }

/* ============ Login ============ */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side {
  background: linear-gradient(160deg, #0e1726, #1a2942); color: #fff;
  padding: 48px; display: flex; flex-direction: column; justify-content: space-between;
}
.auth-side h2 { font-size: 30px; font-weight: 800; letter-spacing: -.6px; line-height: 1.2; margin-top: 60px; }
.auth-side h2 em { color: var(--accent); font-style: normal; }
.auth-side ul { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.auth-side ul li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #c8d2df; }
.auth-side ul li .ic { font-size: 18px; }
.auth-side .quote { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 18px; font-size: 14px; color: #d7dfe9; }
.auth-side .quote b { display: block; margin-top: 10px; color: #fff; }
.auth-form-wrap { display: grid; place-items: center; padding: 40px 24px; background: var(--bg); }
.auth-card { width: 100%; max-width: 410px; }
.auth-card .panel-pad { padding: 30px; }
.auth-card h1 { font-size: 23px; font-weight: 800; letter-spacing: -.4px; margin-bottom: 4px; }
.auth-card .sub { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.demo-note {
  margin-top: 16px; background: var(--amber-soft); color: #92400e; border-radius: 10px;
  padding: 12px 14px; font-size: 13px;
}
.demo-note code { background: rgba(0,0,0,.06); padding: 1px 6px; border-radius: 5px; font-weight: 700; }

/* ============ Dashboard (panou service) ============ */
.dash { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.sidebar {
  background: #0e1726; color: #93a1b5; padding: 20px 14px; display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.sidebar .logo { color: #fff; padding: 4px 10px 18px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 14px; font-size: 18px; }
.sidebar .biz-name { padding: 0 10px 16px; font-size: 12.5px; color: #7c8ba0; }
.sidebar .biz-name b { display: block; color: #e6ecf3; font-size: 14px; margin-bottom: 2px; }
.side-nav { display: grid; gap: 3px; }
.side-link {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 9px;
  font-size: 14px; font-weight: 550; background: none; border: none; color: #93a1b5; width: 100%; text-align: left;
}
.side-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.side-link.active { background: var(--accent); color: #fff; font-weight: 700; }
.side-link .cnt { margin-left: auto; background: rgba(255,255,255,.14); border-radius: 100px; font-size: 11px; padding: 2px 8px; font-weight: 700; }
.side-link.active .cnt { background: rgba(255,255,255,.25); }
.sidebar .side-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); }

.dash-main { padding: 26px 30px 50px; min-width: 0; }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.dash-head h1 { font-size: 23px; font-weight: 800; letter-spacing: -.4px; }
.dash-head .sub { color: var(--muted); font-size: 14px; margin-top: 2px; }
.dash-head .actions { display: flex; gap: 10px; }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
.stat-card .s-label { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.stat-card .s-value { font-size: 30px; font-weight: 800; letter-spacing: -1px; margin-top: 6px; }
.stat-card .s-foot { font-size: 12.5px; margin-top: 4px; color: var(--muted); }
.trend-up { color: var(--green); font-weight: 700; }
.trend-down { color: var(--red); font-weight: 700; }

/* Calendar zi cu posturi */
.cal-wrap { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.cal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.cal-toolbar .date-nav { display: flex; align-items: center; gap: 10px; }
.cal-toolbar .date-nav b { font-size: 15.5px; }
.cal-toolbar .nav-btn { width: 32px; height: 32px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; font-size: 15px; }
.cal-legend { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.cal-legend .lg { display: flex; align-items: center; gap: 6px; }
.cal-legend .sw { width: 11px; height: 11px; border-radius: 3px; }

.cal-scroll { overflow-x: auto; }
.cal-grid { display: grid; grid-template-columns: 64px repeat(3, minmax(210px, 1fr)); min-width: 720px; }
.cal-grid .col-head {
  padding: 12px 10px; font-size: 13.5px; font-weight: 750; border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line); background: #fafbfc; position: sticky; top: 0;
}
.cal-grid .col-head small { display: block; font-weight: 550; color: var(--muted); font-size: 11.5px; }
.cal-col { border-left: 1px solid var(--line); position: relative; }
.cal-hours { border-bottom: 1px solid var(--line); }
.hour-cell { height: 56px; font-size: 11px; color: var(--muted); text-align: right; padding: 2px 8px 0 0; border-top: 1px solid var(--line); }
.hour-line { height: 56px; border-top: 1px solid #eef1f5; }
.appt {
  position: absolute; left: 5px; right: 5px; border-radius: 8px; padding: 6px 9px;
  font-size: 12px; overflow: hidden; border-left: 3.5px solid; cursor: pointer; transition: filter .12s;
}
.appt:hover { filter: brightness(.97); }
.appt b { display: block; font-size: 12.5px; margin-bottom: 1px; }
.appt .a-meta { opacity: .8; font-size: 11.5px; }
.appt.tip-vulc { background: var(--accent-soft); border-color: var(--accent); color: #7c2d12; }
.appt.tip-mec { background: var(--blue-soft); border-color: var(--blue); color: #1e3a8a; }
.appt.tip-itp { background: var(--green-soft); border-color: var(--green); color: #14532d; }
.appt.tip-alt { background: #f3e8ff; border-color: #9333ea; color: #581c87; }

/* Tabele dashboard */
.dash-panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.dash-panel .dp-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); gap: 12px; flex-wrap: wrap; }
.dash-panel .dp-head h2 { font-size: 16.5px; font-weight: 750; }
.dash-panel .dp-head .hint { font-size: 13px; color: var(--muted); }
.dtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.dtable th { text-align: left; padding: 11px 20px; font-size: 11.5px; font-weight: 750; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); background: #fafbfc; border-bottom: 1px solid var(--line); }
.dtable td { padding: 13px 20px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.dtable tr:last-child td { border-bottom: none; }
.dtable tr:hover td { background: #fafbfc; }
.plate { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 700; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; font-size: 12.5px; white-space: nowrap; }
.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 100px; padding: 4px 11px; font-size: 12px; font-weight: 700; }
.badge.red { background: var(--red-soft); color: var(--red); }
.badge.amber { background: var(--amber-soft); color: var(--amber); }
.badge.green { background: var(--green-soft); color: var(--green); }
.badge.blue { background: var(--blue-soft); color: var(--blue); }
.badge.gray { background: var(--bg); color: var(--muted); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.mt { margin-top: 24px; }

.dash-section { display: none; }
.dash-section.active { display: block; }

/* Setari / link booking */
.link-box { display: flex; gap: 10px; align-items: center; }
.link-box input { flex: 1; border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px; font-size: 14px; background: var(--bg); font-weight: 600; color: var(--ink-2); }
.qr-row { display: flex; gap: 22px; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.qr-ph { width: 148px; height: 148px; border-radius: 12px; border: 1.5px solid var(--line); padding: 10px; background: #fff; }
.qr-ph svg { width: 100%; height: 100%; }
.qr-info { font-size: 14px; color: var(--ink-2); max-width: 380px; }
.qr-info b { color: var(--ink); }

.settings-grid { display: grid; gap: 14px; max-width: 560px; }
.switch-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 13px 16px; background: var(--bg); border-radius: 10px; }
.switch-row .sw-txt b { display: block; font-size: 14.5px; }
.switch-row .sw-txt span { font-size: 13px; color: var(--muted); }
.toggle { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; vertical-align: middle; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle .tr { position: absolute; inset: 0; background: #cbd5e1; border-radius: 100px; transition: .18s; cursor: pointer; }
.toggle .tr::before { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; background: #fff; top: 3px; left: 3px; transition: .18s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.toggle input:checked + .tr { background: var(--green); }
.toggle input:checked + .tr::before { transform: translateX(20px); }

/* Toast */
#toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 100px;
  font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: all .25s; z-index: 200;
  box-shadow: var(--shadow-lg); max-width: 90vw; text-align: center;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .profile-layout { grid-template-columns: 1fr; }
  .booking { position: static; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}
@media (max-width: 860px) {
  .dash { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px; padding: 12px; }
  .sidebar .logo { border: none; padding: 6px 10px; margin: 0; }
  .sidebar .biz-name, .sidebar .side-foot { display: none; }
  .side-nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .side-link { width: auto; padding: 8px 12px; font-size: 13px; }
  .dash-main { padding: 18px 16px 40px; }
}
@media (max-width: 720px) {
  .searchbar { grid-template-columns: 1fr; }
  .searchbar .btn { padding: 13px; }
  .how-grid { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 70px; }
  .hero-stats { gap: 22px; flex-wrap: wrap; }
  .nav-links { display: none; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .listing-head { flex-direction: column; align-items: flex-start; }
  .form-2col { grid-template-columns: 1fr; }
  .slots-grid { grid-template-columns: repeat(3, 1fr); }
}
