@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,700;12..96,800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #f4f4f8;
  --surface:   #ffffff;
  --surface2:  #f0f0f5;
  --border:    rgba(0,0,0,.07);
  --border2:   rgba(0,0,0,.11);
  --text:      #0f0f18;
  --muted:     #6a6a7e;
  --subtle:    #9898b0;
  --grad:      linear-gradient(135deg, #6366f1, #8b5cf6);
  --grad2:     linear-gradient(135deg, #3b82f6, #6366f1);
  --grad-soft: linear-gradient(135deg, rgba(99,102,241,.08), rgba(139,92,246,.08));
  --indigo:    #6366f1;
  --purple:    #8b5cf6;
  --blue:      #3b82f6;
  --green:     #10b981;
  --amber:     #f59e0b;
  --red:       #ef4444;
  --shadow-xs: 0 1px 3px rgba(0,0,0,.06);
  --shadow:    0 2px 12px rgba(0,0,0,.07);
  --shadow-md: 0 4px 24px rgba(0,0,0,.09);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.12);
  --r:         10px;
  --r-lg:      16px;
  --r-xl:      22px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; }

.grad-text { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.font-display { font-family: 'Bricolage Grotesque', sans-serif; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .58rem 1.25rem; border-radius: var(--r); border: none;
  font: 600 .85rem 'Inter', sans-serif; cursor: pointer;
  transition: all .18s; white-space: nowrap; line-height: 1;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.1), 0 4px 14px rgba(99,102,241,.28);
}
.btn-primary:hover  { transform: translateY(-1px); box-shadow: 0 2px 4px rgba(0,0,0,.1), 0 6px 20px rgba(99,102,241,.35); }
.btn-primary:active { transform: none; }
.btn-primary:disabled { opacity: .55; pointer-events: none; }
.btn-ghost  { background: transparent; color: var(--text); }
.btn-ghost:hover  { background: rgba(0,0,0,.055); }
.btn-outline { background: var(--surface); color: var(--text); border: 1.5px solid var(--border2); }
.btn-outline:hover { border-color: var(--indigo); color: var(--indigo); }
.btn-danger { background: rgba(239,68,68,.09); color: var(--red); }
.btn-danger:hover { background: rgba(239,68,68,.16); }
.btn-sm  { padding: .36rem .8rem; font-size: .78rem; border-radius: 8px; }
.btn-lg  { padding: .75rem 1.85rem; font-size: .95rem; border-radius: 12px; }
.btn-block { width: 100%; }

/* ─── FORMS ─────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: .32rem; margin-bottom: 1rem; }
.form-group label { font-size: .8rem; font-weight: 600; }
.form-hint { font-weight: 400; color: var(--muted); }

input[type=text], input[type=email], input[type=password], input[type=number],
select, textarea {
  width: 100%; padding: .62rem .9rem;
  border: 1.5px solid var(--border2); border-radius: var(--r);
  font: 400 .875rem 'Inter', sans-serif;
  background: var(--surface); color: var(--text);
  transition: border-color .18s, box-shadow .18s; outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(99,102,241,.1);
}
input:disabled { opacity: .55; cursor: not-allowed; }
textarea { resize: vertical; min-height: 88px; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236a6a7e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center;
  padding-right: 2.3rem;
}
.error-msg { font-size: .78rem; color: var(--red); padding: .5rem .75rem; border-radius: 8px; background: rgba(239,68,68,.07); border: 1px solid rgba(239,68,68,.14); display: none; }
.error-msg.show { display: block; }

#toast-wrap { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999; display: flex; flex-direction: column; gap: .4rem; }
.toast {
  display: flex; align-items: center; gap: .6rem;
  padding: .78rem 1.05rem; border-radius: var(--r);
  background: #1a1a28; color: #fff;
  font: 500 .84rem 'Inter', sans-serif;
  box-shadow: var(--shadow-lg);
  transform: translateX(110%); opacity: 0;
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
  min-width: 230px; max-width: 320px;
}
.toast.show { transform: none; opacity: 1; }
.toast-success { background: #0b2d1c; }
.toast-error   { background: #2d0b0b; }
.toast-icon { width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; font-size: .68rem; flex-shrink: 0; }

.loader-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .85rem; padding: 3.5rem 2rem; color: var(--muted); font-size: .86rem; }
.spinner { width: 30px; height: 30px; border-radius: 50%; border: 2.5px solid var(--border2); border-top-color: var(--indigo); animation: spin .65s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(10,10,20,.38); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  opacity: 0; pointer-events: none; transition: opacity .22s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--surface); border-radius: var(--r-xl);
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0,0,0,.2);
  width: 100%; max-width: 460px;
  transform: translateY(18px) scale(.97); transition: transform .22s;
  max-height: 92vh; overflow-y: auto;
}
.modal-overlay.open .modal { transform: none; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1.35rem 1.35rem 0; }
.modal-header h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.1rem; font-weight: 700; }
.modal-close { background: var(--surface2); border: none; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .8rem; color: var(--muted); cursor: pointer; transition: all .18s; }
.modal-close:hover { background: var(--border2); color: var(--text); }
.modal-body { padding: 1.1rem 1.35rem 1.35rem; }

.tabs { display: flex; gap: 0; border-bottom: 1.5px solid var(--border); margin-bottom: 1.5rem; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab-btn { padding: .58rem .95rem; border: none; background: none; font: 500 .83rem 'Inter', sans-serif; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1.5px; transition: all .18s; white-space: nowrap; }
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--indigo); border-bottom-color: var(--indigo); font-weight: 600; }

/* status  zdes*/
.badge { display: inline-flex; align-items: center; padding: .2rem .6rem; border-radius: 100px; font-size: .71rem; font-weight: 600; }
.badge-purple { background: rgba(99,102,241,.09); color: var(--indigo); }
.badge-green  { background: rgba(16,185,129,.09);  color: var(--green); }
.badge-amber  { background: rgba(245,158,11,.09);  color: var(--amber); }
.badge-red    { background: rgba(239,68,68,.09);   color: var(--red); }

.status-badge { display: inline-flex; align-items: center; padding: .22rem .65rem; border-radius: 100px; font-size: .72rem; font-weight: 600; }
.s-created  { background: rgba(107,107,128,.09); color: var(--muted); }
.s-progress { background: rgba(59,130,246,.1);   color: var(--blue); }
.s-review   { background: rgba(245,158,11,.1);   color: var(--amber); }
.s-done     { background: rgba(16,185,129,.1);   color: var(--green); }
.s-cancel   { background: rgba(239,68,68,.09);   color: var(--red); }
.stars { color: var(--amber); letter-spacing: -.04em; }

.page-wrap { min-height: 100vh; }

.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.1rem; }

.svc-card {
  background: var(--surface);
  border-radius: var(--r-xl);
  border: 1.5px solid rgba(0,0,0,.09);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  cursor: pointer;
  text-decoration: none; color: inherit;
  position: relative;
  box-shadow: 0 1px 4px rgba(0,0,0,.05), inset 0 1px 0 rgba(255,255,255,.9);
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(99,102,241,.15), 0 2px 8px rgba(0,0,0,.06);
  border-color: rgba(99,102,241,.28);
}

.svc-card-bar {
  height: 3px;
  background: var(--grad);
  flex-shrink: 0;
  border-radius: 3px 3px 0 0;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity .25s, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.svc-card:hover .svc-card-bar { opacity: 1; transform: scaleX(1); }

.svc-card-top {
  padding: 1.35rem 1.35rem .75rem;
  display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem;
}
.svc-cat-pill {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .22rem .65rem; border-radius: 100px;
  background: var(--grad-soft);
  border: 1px solid rgba(99,102,241,.12);
  font-size: .7rem; font-weight: 600; color: var(--indigo);
  white-space: nowrap;
}
.svc-card-icon-wrap {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid rgba(99,102,241,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.45rem; flex-shrink: 0;
}

.svc-card-body {
  padding: 0 1.35rem 1rem;
  flex: 1; display: flex; flex-direction: column; gap: .6rem;
}
.svc-card-title {
  font-size: .92rem; font-weight: 600; line-height: 1.42; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.svc-author {
  display: flex; align-items: center; gap: .5rem;
}
.svc-author-av {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: .55rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.svc-author-name { font-size: .75rem; color: var(--muted); font-weight: 500; }

.svc-stats {
  display: flex; align-items: center; gap: .75rem;
  font-size: .74rem; color: var(--muted);
}
.svc-stat { display: flex; align-items: center; gap: .22rem; }

.svc-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 1.35rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
  background: rgba(0,0,0,.014);
}
.svc-deadline { font-size: .74rem; color: var(--muted); display: flex; align-items: center; gap: .25rem; }
.svc-price {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.svc-price-sub { font-size: .64rem; color: var(--muted); font-family: 'Inter', sans-serif; -webkit-text-fill-color: var(--muted); }

.catalog-layout { display: flex; gap: 1.5rem; align-items: flex-start; }
.filter-panel {
  width: 208px; flex-shrink: 0;
  background: var(--surface); border-radius: var(--r-xl);
  border: 1.5px solid rgba(0,0,0,.09); padding: 1.1rem;
  position: sticky; top: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05), inset 0 1px 0 rgba(255,255,255,.9);
}
.filter-panel h3 { font-size: .78rem; font-weight: 700; margin-bottom: .9rem; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.filter-group { margin-bottom: .95rem; }
.filter-group label { font-size: .7rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; display: block; margin-bottom: .35rem; }
.filter-group select, .filter-group input { font-size: .83rem; padding: .46rem .75rem; }
.price-row { display: flex; gap: .4rem; align-items: center; }
.price-row span { color: var(--subtle); font-size: .78rem; flex-shrink: 0; }
.catalog-main { flex: 1; min-width: 0; }

.search-wrap { position: relative; margin-bottom: 1.2rem; }
.search-wrap input {
  padding-left: 2.7rem; font-size: .9rem; height: 46px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1.5px solid var(--border2);
}
.search-wrap input:focus { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(99,102,241,.1); }
.search-ico { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); font-size: .9rem; pointer-events: none; }

.results-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.05rem; flex-wrap: wrap; gap: .5rem; }
.results-count { font-size: .81rem; color: var(--muted); }

.chip-row { display: flex; gap: .38rem; flex-wrap: wrap; margin-bottom: .9rem; }
.chip { display: inline-flex; align-items: center; gap: .28rem; padding: .2rem .6rem; border-radius: 100px; background: rgba(99,102,241,.08); color: var(--indigo); font: 600 .72rem 'Inter', sans-serif; }
.chip button { background: none; border: none; color: var(--indigo); cursor: pointer; font-size: .82rem; line-height: 1; }

.pagination { display: flex; gap: .3rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.page-btn { width: 34px; height: 34px; border-radius: 9px; border: 1.5px solid var(--border); background: var(--surface); font: 500 .8rem 'Inter', sans-serif; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .18s; }
.page-btn:hover   { border-color: var(--indigo); color: var(--indigo); }
.page-btn.active  { background: var(--grad); color: #fff; border-color: transparent; }
.page-btn:disabled { opacity: .35; pointer-events: none; }

.empty { text-align: center; padding: 3.5rem 2rem; color: var(--muted); }
.empty-icon { font-size: 2.5rem; opacity: .38; margin-bottom: .8rem; }
.empty h3 { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: .35rem; }
.empty p { font-size: .83rem; }

.dash-wrap { display: flex; min-height: 100vh; background: var(--bg); }

.dash-sb {
  width: 230px; flex-shrink: 0;
  background: var(--surface);
  border-right: 1.5px solid var(--border);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 100;
}
.dash-sb-logo {
  padding: 1.1rem 1rem 0;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.1rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  flex-shrink: 0;
}
.dash-sb-user {
  display: flex; align-items: center; gap: .65rem;
  padding: .9rem 1rem 1rem;
  border-bottom: 1px solid var(--border);
  margin-top: .1rem;
}
.dash-sb-av {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: .88rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.dash-sb-name { font-size: .86rem; font-weight: 600; line-height: 1.2; }
.dash-sb-role { font-size: .7rem; color: var(--muted); }
.dash-sb-nav { flex: 1; overflow-y: auto; padding: .65rem .65rem; display: flex; flex-direction: column; gap: .08rem; }
.sb-item {
  display: flex; align-items: center; gap: .6rem;
  padding: .56rem .75rem; border-radius: var(--r);
  font: 500 .83rem 'Inter', sans-serif;
  color: var(--muted); background: none; border: none;
  cursor: pointer; text-align: left; width: 100%;
  transition: all .18s; text-decoration: none;
}
.sb-item:hover  { color: var(--text); background: rgba(0,0,0,.04); }
.sb-item.active { color: var(--indigo); background: rgba(99,102,241,.08); font-weight: 600; }
.sb-item .ico   { width: 18px; text-align: center; font-size: .9rem; flex-shrink: 0; }
.sb-sep { height: 1px; background: var(--border); margin: .55rem 0; }
.sb-item.danger { color: var(--red); }
.sb-item.danger:hover { background: rgba(239,68,68,.07); }

.dash-main { margin-left: 230px; flex: 1; min-width: 0; }

.dash-content {
  margin: 1.5rem 1.5rem 1.5rem 1.75rem;
  background: var(--surface);
  border-radius: var(--r-xl);
  border: 1.5px solid rgba(0,0,0,.1);
  box-shadow: 0 2px 20px rgba(0,0,0,.06), inset 0 1px 0 rgba(255,255,255,.8);
  min-height: calc(100vh - 3rem);
  overflow: hidden;
}

.dash-content-header {
  padding: 1.35rem 1.75rem 1.1rem;
  border-bottom: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem;
  background: var(--surface);
}
.dash-content-header h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.3rem; font-weight: 700;
  display: flex; align-items: center; gap: .55rem;
}

.dash-inner { padding: 1.5rem 1.75rem; }

.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .85rem; margin-bottom: 1.5rem; }
.stat-card { border-radius: var(--r-lg); border: 1.5px solid rgba(0,0,0,.09); padding: 1rem 1.15rem; background: var(--bg); box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.stat-card-ico { font-size: 1.2rem; margin-bottom: .38rem; }
.stat-card-val { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.5rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1.1; }
.stat-card-lbl { font-size: .72rem; color: var(--muted); margin-top: .18rem; }

.order-card {
  border-radius: var(--r-lg); border: 1.5px solid rgba(0,0,0,.09);
  padding: 1rem 1.2rem; background: var(--bg);
  display: flex; align-items: center; justify-content: space-between;
  gap: .85rem; cursor: pointer; transition: all .18s;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.order-card:hover { border-color: rgba(99,102,241,.25); background: rgba(99,102,241,.03); box-shadow: 0 3px 14px rgba(99,102,241,.1); }
.order-card-title { font-weight: 600; font-size: .87rem; margin-bottom: .22rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 340px; }
.order-card-meta  { font-size: .75rem; color: var(--muted); display: flex; gap: .8rem; flex-wrap: wrap; }
.order-card-right { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.order-card-price { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.chat-wrap { display: flex; flex-direction: column; height: 400px; background: var(--bg); border-radius: var(--r-lg); border: 1.5px solid var(--border); overflow: hidden; }
.chat-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .4rem; }
.chat-msg { max-width: 68%; display: flex; flex-direction: column; gap: .13rem; }
.chat-msg.mine   { align-self: flex-end; align-items: flex-end; }
.chat-msg.theirs { align-self: flex-start; align-items: flex-start; }
.chat-bubble { padding: .52rem .9rem; border-radius: 14px; font-size: .84rem; line-height: 1.55; word-break: break-word; }
.chat-msg.mine .chat-bubble   { background: var(--grad); color: #fff; border-bottom-right-radius: 3px; }
.chat-msg.theirs .chat-bubble { background: var(--surface); border: 1px solid var(--border); border-bottom-left-radius: 3px; }
.chat-time { font-size: .66rem; color: var(--subtle); }
.chat-sender { font-size: .68rem; color: var(--muted); font-weight: 600; }
.chat-input-wrap { padding: .65rem .85rem; border-top: 1.5px solid var(--border); display: flex; gap: .55rem; align-items: flex-end; background: var(--surface); }
.chat-input-wrap textarea { border-radius: 9px; min-height: 36px; max-height: 100px; padding: .48rem .75rem; resize: none; flex: 1; font-size: .86rem; }
.chat-send { flex-shrink: 0; width: 36px; height: 36px; border-radius: 9px; background: var(--grad); color: #fff; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: .9rem; transition: opacity .18s; }
.chat-send:hover { opacity: .82; }

.notif-item { display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 1rem; border-radius: var(--r-lg); background: var(--bg); border: 1.5px solid rgba(0,0,0,.09); transition: all .18s; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.notif-item.unread { border-color: rgba(99,102,241,.18); background: rgba(99,102,241,.04); }
.notif-ico { font-size: 1.1rem; flex-shrink: 0; margin-top: .05rem; }
.notif-title { font-weight: 600; font-size: .84rem; margin-bottom: .15rem; }
.notif-body  { font-size: .76rem; color: var(--muted); }
.notif-date  { font-size: .68rem; color: var(--subtle); margin-top: .2rem; }

.balance-hero { background: var(--grad); border-radius: var(--r-xl); padding: 1.6rem 1.75rem; color: #fff; margin-bottom: 1.25rem; position: relative; overflow: hidden; }
.balance-hero::before { content:''; position:absolute; width:180px; height:180px; border-radius:50%; background:rgba(255,255,255,.07); top:-60px; right:-30px; pointer-events:none; }
.balance-lbl { font-size: .75rem; opacity: .72; margin-bottom: .3rem; }
.balance-amt { font-family: 'Bricolage Grotesque', sans-serif; font-size: 2.1rem; font-weight: 800; line-height: 1.1; }

.form-box { background: var(--bg); border-radius: var(--r-lg); border: 1.5px solid rgba(0,0,0,.09); padding: 1.35rem; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.form-box h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 1.1rem; }

.svc-m-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .9rem; }
.svc-m { background: var(--bg); border-radius: var(--r-lg); border: 1.5px solid var(--border); overflow: hidden; transition: box-shadow .18s; }
.svc-m:hover { box-shadow: var(--shadow-md); }
.svc-m-img { height: 80px; background: var(--grad-soft); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.svc-m-body { padding: .85rem .95rem; }
.svc-m-title { font-weight: 600; font-size: .84rem; line-height: 1.38; margin-bottom: .45rem; }
.svc-m-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.svc-m-price { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: .95rem; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.dot-active   { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--green); margin-right: .28rem; }
.dot-inactive { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--subtle); margin-right: .28rem; }
.svc-m-actions { display: flex; gap: .35rem; flex-wrap: wrap; }

.star-row { display: flex; gap: .15rem; margin-bottom: .8rem; }
.star-b { font-size: 1.4rem; background: none; border: none; cursor: pointer; color: var(--border2); transition: color .12s; line-height: 1; padding: 0; }
.star-b.lit { color: var(--amber); }

.chat-order-hdr { background: var(--bg); border-radius: var(--r-lg); border: 1.5px solid var(--border); padding: 1rem 1.2rem; display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1rem; gap: 1rem; flex-wrap: wrap; }
.chat-actions { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }

.items-list { display: flex; flex-direction: column; gap: .6rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.divider { height: 1px; background: var(--border); margin: 1.1rem 0; }
.text-muted { color: var(--muted); }
.text-sm { font-size: .82rem; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-gap { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; }

@media (max-width: 960px) {
  .dash-sb { transform: translateX(-100%); transition: transform .25s; }
  .dash-sb.open { transform: none; box-shadow: var(--shadow-lg); }
  .dash-main { margin-left: 0; }
  .dash-content { margin: 0; border-radius: 0; border-left: none; border-right: none; border-top: none; min-height: 100vh; }
  .catalog-layout { flex-direction: column; }
  .filter-panel { width: 100%; position: static; }
}
@media (max-width: 600px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .order-card { flex-direction: column; align-items: flex-start; }
  .grid-2 { grid-template-columns: 1fr; }
  .dash-inner { padding: 1.1rem; }
  .dash-content-header { padding: 1rem 1.1rem .85rem; }
}
@media (max-width: 400px) { .svc-grid { grid-template-columns: 1fr; } }

.exec-dash-hero {
  background: var(--grad);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.35rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.exec-dash-hero::before {
  content:''; position:absolute; width:200px; height:200px; border-radius:50%;
  background:rgba(255,255,255,.07); top:-70px; right:-40px; pointer-events:none;
}
.exec-hero-left { display:flex; align-items:center; gap:.9rem; }
.exec-hero-av {
  width:54px; height:54px; border-radius:14px;
  background:rgba(255,255,255,.2); border:2px solid rgba(255,255,255,.3);
  display:flex; align-items:center; justify-content:center;
  font-size:1.4rem; font-weight:800; color:#fff; flex-shrink:0;
}
.lvl-hero-badge {
  display:inline-flex; align-items:center; gap:.3rem;
  padding:.2rem .65rem; border-radius:100px;
  background:rgba(255,255,255,.18); color:#fff;
  font:700 .7rem 'Inter',sans-serif; margin-top:.3rem;
}
.exec-hero-stats { display:flex; gap:1.5rem; flex-wrap:wrap; }
.ehs { text-align:center; }
.ehs-n { font-family:'Bricolage Grotesque',sans-serif; font-size:1.5rem; font-weight:800; color:#fff; line-height:1.1; }
.ehs-l { font-size:.65rem; color:rgba(255,255,255,.65); margin-top:.1rem; }

a.svc-tag { text-decoration:none; display:inline-block; }

#nb-wrap {
  position: fixed; top: 1rem; right: 1rem; z-index: 9000;
  font-family: 'Inter', sans-serif;
}
.nb-btn {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--surface); border: 1.5px solid rgba(0,0,0,.1);
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; cursor: pointer; position: relative;
  transition: all .18s;
}
.nb-btn:hover { box-shadow: 0 4px 20px rgba(99,102,241,.18); border-color: rgba(99,102,241,.3); }
.nb-badge {
  position: absolute; top: -5px; right: -5px;
  min-width: 18px; height: 18px; border-radius: 100px;
  background: var(--red); color: #fff;
  font: 700 .62rem 'Inter', sans-serif;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff; padding: 0 3px;
}
.nb-panel {
  position: absolute; top: calc(100% + .55rem); right: 0;
  width: 320px; background: var(--surface);
  border-radius: var(--r-xl); border: 1.5px solid rgba(0,0,0,.1);
  box-shadow: 0 12px 48px rgba(0,0,0,.14);
  opacity: 0; pointer-events: none;
  transform: translateY(-8px) scale(.97);
  transition: all .22s cubic-bezier(.34,1.56,.64,1);
  overflow: hidden;
}
.nb-panel.open { opacity: 1; pointer-events: all; transform: none; }
.nb-hdr {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 1rem .7rem;
  border-bottom: 1px solid var(--border);
  font: 700 .88rem 'Bricolage Grotesque', sans-serif;
}
.nb-hdr button {
  font: 500 .72rem 'Inter', sans-serif; color: var(--indigo);
  background: none; border: none; cursor: pointer; padding: .2rem .4rem;
  border-radius: 6px; transition: background .18s;
}
.nb-hdr button:hover { background: rgba(99,102,241,.08); }
#nb-list { max-height: 320px; overflow-y: auto; }
.nb-item {
  display: flex; align-items: flex-start; gap: .65rem;
  padding: .75rem 1rem; cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.nb-item:hover     { background: rgba(0,0,0,.03); }
.nb-item.unread    { background: rgba(99,102,241,.04); }
.nb-item:last-child { border-bottom: none; }
.nb-ico   { font-size: 1.05rem; flex-shrink: 0; margin-top: .05rem; }
.nb-title { font: 600 .8rem 'Inter', sans-serif; line-height: 1.3; }
.nb-sub   { font-size: .72rem; color: var(--muted); margin-top: .1rem; line-height: 1.4; }
.nb-time  { font-size: .65rem; color: var(--subtle); margin-top: .2rem; }
.nb-footer {
  display: block; text-align: center;
  padding: .65rem; font: 500 .78rem 'Inter', sans-serif;
  color: var(--indigo); border-top: 1px solid var(--border);
  transition: background .18s;
}
.nb-footer:hover { background: rgba(99,102,241,.05); }

.brand-link, .back-logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.05rem; font-weight: 800;
  text-decoration: none; display: inline-block;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; color: transparent;
}

.notif-bell {
  position:fixed; top:.9rem; right:1.2rem; z-index:400;
  display:flex; align-items:center; gap:.5rem;
}

.form-box input[type=text],
.form-box input[type=url],
.form-box input[type=email],
.form-box input[type=number],
.form-box input[type=password],
.form-box select,
.form-box textarea {
  width: 100%;
  padding: .62rem .9rem;
  border: 1.5px solid rgba(0,0,0,.11);
  border-radius: var(--r);
  font: 400 .875rem 'Inter', sans-serif;
  background: var(--surface);
  color: var(--text);
  transition: border-color .18s, box-shadow .18s;
  outline: none;
  box-sizing: border-box;
}
.form-box input:focus,
.form-box select:focus,
.form-box textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(99,102,241,.1);
}
.form-box .grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}
@media (max-width: 600px) {
  .form-box .grid-2 { grid-template-columns: 1fr; }
}
