/* ===== Colors & basics (change these to restyle the whole site) ===== */
:root {
  --main: #0f766e;        /* main teal color */
  --main-dark: #115e59;
  --accent: #f59e0b;      /* orange highlight */
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --radius: 14px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* ===== Top bar ===== */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}
.topbar-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { font-size: 1.4rem; font-weight: 800; color: var(--main); }
.nav { display: flex; gap: 20px; margin-inline-start: auto; }
.nav a { color: var(--muted); font-weight: 600; }
.nav a:hover { color: var(--main); }
.lang-btn {
  border: 1.5px solid var(--main); background: none; color: var(--main);
  padding: 6px 14px; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer;
}
.lang-btn:hover { background: var(--main); color: #fff; }

/* ===== Hero ===== */
/* Background photo: images/hero.jpg (Unsplash licence: free for business use).
   The teal shade on top keeps the white text readable. */
.hero {
  background-color: var(--main);
  background-image: linear-gradient(135deg, rgba(15,118,110,.82), rgba(14,116,144,.70)), url("images/hero.jpg");
  background-size: cover; background-position: center;
  color: #fff; text-align: center; padding: 80px 0 90px;
}
.hero h1 { text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); margin: 0 0 8px; }
.hero p { margin: 0 0 30px; opacity: .9; font-size: 1.15rem; }
.search {
  display: flex; max-width: 600px; margin: 0 auto;
  background: #fff; border-radius: 999px; padding: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}
.search input {
  flex: 1; border: 0; outline: 0; padding: 12px 20px; font: inherit; font-size: 1.05rem;
  border-radius: 999px; min-width: 0;
}
.search button {
  border: 0; background: var(--accent); color: #fff; font: inherit; font-weight: 700;
  padding: 0 28px; border-radius: 999px; cursor: pointer;
}

/* ===== Sections ===== */
.section { padding: 60px 0; }
.section.alt { background: #eef6f5; }
h2 { text-align: center; font-size: 2rem; margin: 0 0 28px; }

/* Service cards grid */
/* 3 cards per row on computers (9 services = 3 neat rows) */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.service .more { display: block; margin-top: 10px; color: var(--main); font-weight: 700; font-size: .9rem; }

/* Service cards with a photo behind them (dark shade at the bottom keeps text readable) */
.service.photo {
  position: relative; overflow: hidden; color: #fff; border: 0; min-height: 240px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 18px 16px;
  background-color: #0f172a;
  background-image: linear-gradient(to top, rgba(15,23,42,.92) 0%, rgba(15,23,42,.55) 50%, rgba(15,23,42,.10) 100%), var(--img);
  background-size: cover; background-position: center;
  transition: transform .15s, box-shadow .15s, background-size .4s;
}
.service.photo:hover { box-shadow: 0 14px 30px rgba(15,23,42,.30); }
.service.photo .card-badge { position: absolute; top: 12px; inset-inline-start: 12px; background: rgba(255,255,255,.95); box-shadow: 0 4px 12px rgba(0,0,0,.18); }

/* ===== Drawn icons ===== */
.ic { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.25em; }
.svc-badge {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex: none;
  color: var(--c); background: color-mix(in srgb, var(--c) 13%, #fff);
}
.svc-badge .ic { width: 26px; height: 26px; stroke-width: 1.9; }
.svc-badge.big { width: 64px; height: 64px; border-radius: 18px; background: #fff; box-shadow: 0 6px 18px rgba(15,23,42,.15); }
.svc-badge.big .ic { width: 34px; height: 34px; }
.service.photo h3 { font-size: 1.25rem; margin: 0 0 2px; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.service.photo p { color: #e2e8f0; margin: 0 0 10px; }
.service.photo .more { color: #5eead4; }
.service.photo .price { align-self: center; }

/* Photo banner at the top of the choice popup */
.modal-banner {
  height: 140px; margin: -30px -24px 0; border-radius: 18px 18px 0 0;
  background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 45%), var(--img) center / cover;
}
.modal .modal-icon { margin-top: -34px; position: relative; }
.modal .close { z-index: 2; background: rgba(255,255,255,.9); }

/* Popup for choosing the service type */
.overlay {
  position: fixed; inset: 0; z-index: 50; background: rgba(15,23,42,.55);
  display: grid; place-items: center; padding: 20px;
}
.modal {
  position: relative; background: #fff; border-radius: 18px; padding: 30px 24px 24px;
  width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; text-align: center;
  animation: pop .18s ease-out;
}
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
.modal h3 { margin: 6px 0 0; font-size: 1.5rem; }
.modal .muted { color: var(--muted); margin: 0 0 20px; }
.modal-icon { font-size: 3rem; }
.close {
  position: absolute; top: 12px; inset-inline-end: 12px; width: 36px; height: 36px;
  border: 0; border-radius: 50%; background: var(--bg); font-size: 1rem; cursor: pointer;
}
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.option {
  border: 1.5px solid var(--border); border-radius: var(--radius); padding: 18px 14px;
  background: #fff; font: inherit; cursor: pointer; text-align: center; color: var(--text);
}
.option:hover { border-color: var(--main); background: #f0fdfa; }
.option .icon { font-size: 2rem; }
.option b { display: block; font-size: 1.1rem; margin: 4px 0; }
.option small { display: block; color: var(--muted); margin-bottom: 8px; }
.option .more { display: block; margin-top: 6px; color: var(--main); font-weight: 700; font-size: .85rem; }
.service {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 16px; text-align: center; cursor: pointer;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(15,118,110,.12); border-color: var(--main); }
.service .icon { font-size: 2.6rem; }
.service h3 { margin: 8px 0 2px; font-size: 1.1rem; }
.service p { margin: 0 0 12px; color: var(--muted); font-size: .9rem; }
.service .price { display: inline-block; background: #fef3c7; color: #92400e; padding: 2px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700; }
.empty { text-align: center; color: var(--muted); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.step { background: #fff; border-radius: var(--radius); padding: 26px; text-align: center; }
.step span {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--main); color: #fff; font-weight: 800; font-size: 1.2rem;
}
.step h3 { margin: 12px 0 4px; }
.step p { margin: 0; color: var(--muted); }

/* ===== Form ===== */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; }
.form input, .form select, .form textarea {
  font: inherit; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 10px; background: #fff; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--main); }
.form .invalid { border-color: #dc2626; }
.error { color: #dc2626; margin: 0; font-weight: 600; }
.primary {
  background: var(--main); color: #fff; border: 0; border-radius: 10px; padding: 14px;
  font: inherit; font-size: 1.1rem; font-weight: 700; cursor: pointer;
}
.primary:hover { background: var(--main-dark); }
.primary:disabled { opacity: .6; cursor: wait; }
.success { text-align: center; }
.success .big { font-size: 3rem; }

/* ===== Header account link ===== */
.account-link { font-weight: 700; color: var(--main); white-space: nowrap; }

/* ===== Small buttons & links ===== */
.btn-small {
  display: inline-block; font: inherit; font-weight: 700; font-size: .9rem;
  background: var(--main); color: #fff; border: 0; padding: 6px 16px; border-radius: 999px; cursor: pointer;
}
.btn-small:hover { background: var(--main-dark); }
.btn-ghost {
  font: inherit; font-weight: 700; font-size: .9rem; background: #fff; color: var(--text);
  border: 1.5px solid var(--border); padding: 5px 16px; border-radius: 999px; cursor: pointer;
}
.btn-ghost.danger { color: #dc2626; border-color: #fecaca; }
.link { color: var(--main); font-weight: 700; text-decoration: underline; }
.muted { color: var(--muted); }
.hint {
  text-align: center; background: #ecfeff; border: 1px solid #a5f3fc;
  padding: 10px 14px; border-radius: 10px; margin: -10px 0 18px;
}
.ok-note { margin: -6px 0 0; font-weight: 700; color: #15803d; }
.ok-note.bad { color: #dc2626; }

/* ===== Offers ===== */
.offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.offer { display: flex; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.offer .off {
  display: grid; place-items: center; min-width: 96px; padding: 0 14px;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 1.6rem; direction: ltr;
}
.offer-body { flex: 1; padding: 16px; }
.offer-body h3 { margin: 0 0 4px; font-size: 1.05rem; }
.offer-body p { margin: 0 0 12px; color: var(--muted); font-size: .9rem; }
.offer-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.code {
  font-family: Consolas, monospace; font-weight: 700; direction: ltr;
  border: 1.5px dashed var(--accent); color: #92400e; padding: 2px 10px; border-radius: 8px;
}

/* ===== Account page ===== */
.page { padding: 40px 0 60px; min-height: 70vh; }
.auth { max-width: 440px; margin: 0 auto; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.auth .tabs { justify-content: center; }
.tab {
  font: inherit; font-weight: 700; color: var(--muted); background: none; cursor: pointer;
  border: 0; border-bottom: 3px solid transparent; padding: 10px 14px; margin-bottom: -1px;
}
.tab.active { color: var(--main); border-color: var(--main); }
.hello { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hello h2 { text-align: start; margin: 0; }
.hello-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.list { display: grid; gap: 14px; }
.req { padding: 20px; }
.req p { margin: 6px 0; }
.req-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.req-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; }
.req-actions:empty { display: none; }
.empty-box { text-align: center; color: var(--muted); }
.empty-box p { margin: 0 0 12px; }
.badge { display: inline-block; padding: 2px 12px; border-radius: 999px; font-weight: 700; font-size: .85rem; }
.badge.cancelled { background: #fee2e2; color: #b91c1c; margin-top: 6px; }

/* Appointment progress: Received → Confirmed → On the way → Done */
.track { list-style: none; display: flex; padding: 0; margin: 16px 0 0; counter-reset: step; }
.track li {
  flex: 1; position: relative; text-align: center; font-size: .82rem; color: var(--muted);
  counter-increment: step;
}
.track li::before {
  content: counter(step); position: relative; z-index: 1;
  display: grid; place-items: center; width: 28px; height: 28px; margin: 0 auto 4px;
  border-radius: 50%; background: var(--border); color: #fff; font-weight: 800;
}
.track li::after {
  content: ""; position: absolute; top: 13px; inset-inline-start: -50%; width: 100%; height: 3px; background: var(--border);
}
.track li:first-child::after { display: none; }
.track li.done { color: var(--main); font-weight: 700; }
.track li.done::before { content: "✓"; background: var(--main); }
.track li.done::after { background: var(--main); }

/* ===== Owner page ===== */
.demo-note { background: #fef3c7; color: #92400e; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.admin-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin: 30px 0 14px; }
.admin-bar h2 { margin: 0; text-align: start; }
.field { font: inherit; padding: 8px 12px; border: 1.5px solid var(--border); border-radius: 10px; background: #fff; }
.status-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-weight: 700; }
.offer-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 20px; }
.offer-row > div { flex: 1; min-width: 200px; }
.offer-row p { margin: 4px 0 0; }
.add-offer { margin-top: 14px; }
.add-offer h3 { margin: 0; }

/* ===== Operators ===== */
.lead { text-align: center; color: var(--muted); margin: -14px 0 22px; }
.join-band { background: linear-gradient(135deg, #0f172a, #134e4a); color: #fff; }
.join-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.join-inner h2 { text-align: start; margin: 0 0 6px; }
.join-inner p { margin: 0; opacity: .85; }
.join-btn { display: inline-block; background: var(--accent); padding: 14px 28px; }
.join-btn:hover { background: #d97706; }
.checks-box { border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 14px 14px; margin: 0; }
.checks-box legend { font-weight: 600; padding: 0 6px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check { cursor: pointer; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span {
  display: inline-block; border: 1.5px solid var(--border); border-radius: 999px; padding: 5px 14px;
  font-weight: 600; color: var(--muted); background: #fff;
}
.chip-check input:checked + span { background: var(--main); border-color: var(--main); color: #fff; }
.chip-check input:focus-visible + span { outline: 2px solid var(--accent); }
.uploads { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.upload { border: 1.5px dashed var(--border); border-radius: 10px; padding: 12px; }
.upload input[type=file] { border: 0; padding: 4px 0; font-size: .85rem; }
.thumb { width: 100%; max-height: 140px; object-fit: contain; border-radius: 8px; background: var(--bg); }
.check-line { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px; font-weight: 600; }
.check-line input { width: 20px; height: 20px; margin-top: 4px; flex: none; }
.small-note { font-size: .88rem; margin: -6px 0 0; }
.terms { line-height: 1.9; }

.admin-tabs { margin-top: 4px; }
.count { display: inline-block; min-width: 22px; padding: 0 6px; border-radius: 999px; background: var(--border); color: var(--text); font-size: .8rem; }
.count:empty { display: none; }
.count.alert { background: #dc2626; color: #fff; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.op-head { display: flex; gap: 14px; align-items: center; }
.op-head p { margin: 2px 0; }
.avatar {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none;
  background: var(--bg); border: 2px solid var(--border); display: grid; place-items: center; font-size: 1.8rem;
}
.badge.op-pending { background: #fef3c7; color: #92400e; }
.badge.op-approved { background: #dcfce7; color: #166534; }
.badge.op-inactive { background: #e2e8f0; color: #475569; }
.badge.op-rejected { background: #fee2e2; color: #b91c1c; }
.btn-ghost.tiny { padding: 1px 10px; font-size: .8rem; text-decoration: none; display: inline-block; }
.assigned { background: #f0fdfa; border-radius: 10px; padding: 8px 12px; }
.my-operator { display: flex; align-items: center; gap: 12px; background: #f0fdfa; border-radius: 12px; padding: 10px 14px; margin-top: 10px; }
.my-operator .avatar { width: 56px; height: 56px; }
.modal.wide { max-width: 900px; }
.id-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 14px; }
.id-photos img { width: 100%; border-radius: 10px; border: 1px solid var(--border); }
.id-photos figcaption { color: var(--muted); font-size: .9rem; }

/* ===== Cities note ===== */
.soon { color: #0e7490; font-weight: 600; margin-top: -8px; }
.modal-back { grid-column: 1 / -1; justify-self: center; }

/* ===== Account suggestions ===== */
.suggest-box h3 { margin: 18px 0 10px; }
.suggest-box > p { margin: 0; }
.suggest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.suggest {
  display: grid; justify-items: center; gap: 2px; padding: 14px 8px; text-align: center;
  border: 1.5px solid var(--border); border-radius: var(--radius); background: #fff;
}
.suggest:hover { border-color: var(--main); background: #f0fdfa; }
.suggest .icon { font-size: 1.8rem; }
.suggest small { color: var(--muted); }

/* ===== Admin notes / stats ===== */
.admin-note { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border); }
.admin-note label { display: grid; gap: 6px; font-weight: 600; color: #92400e; }
.admin-note textarea { width: 100%; background: #fffbeb; }
.admin-note .req-actions { justify-content: space-between; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-top: 10px; }
.stat { text-align: center; padding: 20px 12px; }
.stat b { display: block; font-size: 2.2rem; color: var(--main); line-height: 1.2; }
.stat span { color: var(--muted); font-weight: 600; }
.stats-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-top: 14px; }
.stats-cols h3 { margin: 0 0 12px; }
.bar-row { display: grid; grid-template-columns: 130px 1fr 36px; align-items: center; gap: 10px; margin: 6px 0; font-size: .92rem; }
.bar { height: 10px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--main); border-radius: 999px; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; min-width: 560px; }
.table th, .table td { padding: 10px 14px; text-align: start; border-bottom: 1px solid var(--border); }
.table th { background: var(--bg); color: var(--muted); font-size: .9rem; }

/* ===== Stats period + customer page ===== */
.period-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 14px 18px; margin-top: 10px; }
.period-bar label { display: flex; align-items: center; gap: 8px; font-weight: 700; }
#customRange { display: flex; gap: 12px; flex-wrap: wrap; }
#customRange[hidden] { display: none; }
.table tr.clickable { cursor: pointer; }
.table tr.clickable:hover td { background: #f0fdfa; }
.count-link { display: inline-block; min-width: 34px; text-align: center; font-weight: 800; color: #fff; background: var(--main); border-radius: 999px; padding: 1px 10px; }
.badge.deleted-user { background: #fee2e2; color: #b91c1c; }
.cust-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin: 14px 0; }
.cust-head h2 { text-align: start; margin: 0 0 6px; font-size: 1.5rem; }
.cust-head p { margin: 4px 0; }

/* ===== Customer area (after login) ===== */
.welcome {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; color: #fff; border-radius: 20px; padding: 22px;
  background: linear-gradient(135deg, var(--main), #0e7490); box-shadow: 0 10px 30px rgba(15,118,110,.25);
}
.welcome .initial {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: rgba(255,255,255,.18); border: 2px solid rgba(255,255,255,.5); font-size: 1.6rem; font-weight: 800;
}
.welcome-text { flex: 1; min-width: 180px; }
.welcome-text h2 { margin: 0; text-align: start; font-size: 1.5rem; }
.welcome-text p { margin: 2px 0 0; opacity: .9; }
.new-req {
  display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; font-weight: 800;
  padding: 12px 22px; border-radius: 14px; box-shadow: 0 6px 16px rgba(0,0,0,.15);
}
.new-req:hover { background: #d97706; }
.new-req .ic { stroke-width: 2.6; }

.dash-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 0 20px; }
.dash-nav button {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 6px;
  font: inherit; font-weight: 700; color: var(--muted); background: #fff; border: 1.5px solid var(--border); border-radius: 16px; cursor: pointer;
}
.dash-nav button .ic { width: 26px; height: 26px; }
.dash-nav button.active { color: var(--main); border-color: var(--main); background: #f0fdfa; }
.nav-count {
  position: absolute; top: 6px; inset-inline-end: 10px; min-width: 22px; padding: 0 6px; border-radius: 999px;
  background: #dc2626; color: #fff; font-size: .75rem; line-height: 22px;
}
.nav-count:empty { display: none; }

.appt { padding: 18px; }
.appt.spotlight { border: 2px solid var(--main); box-shadow: 0 10px 28px rgba(15,118,110,.15); }
.spot-label { font-weight: 800; color: var(--main); margin-bottom: 10px; }
.appt-top { display: flex; align-items: center; gap: 12px; }
.appt-title { flex: 1; display: grid; }
.appt-title b { font-size: 1.1rem; }
.appt-title span { color: var(--muted); font-size: .92rem; }
.chip { padding: 3px 12px; border-radius: 999px; font-weight: 700; font-size: .82rem; white-space: nowrap; }
.chip.st-received { background: #fef3c7; color: #92400e; }
.chip.st-confirmed { background: #ccfbf1; color: #115e59; }
.chip.st-onway { background: #dbeafe; color: #1e40af; }
.chip.st-done { background: #dcfce7; color: #166534; }
.chip.st-cancelled { background: #fee2e2; color: #b91c1c; }
.appt-info { display: grid; gap: 6px; margin: 14px 0 4px; color: #334155; }
.appt-info span { display: flex; align-items: center; gap: 8px; }
.appt-info .ic { color: var(--main); }
.my-operator .op-text { flex: 1; display: grid; }
.my-operator .op-text small { color: var(--muted); }
.call-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--main); color: #fff; font-weight: 700; padding: 8px 14px; border-radius: 12px; }
.appt-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.appt-actions .appt-id { margin-inline-start: auto; }
.suggest .svc-badge { margin-bottom: 4px; }
/* Service tiles in the customer area with the service photo behind them */
.suggest.photo {
  min-height: 150px; align-content: end; color: #fff; border: 0; padding: 12px 8px;
  background-color: #0f172a;
  background-image: linear-gradient(to top, rgba(15,23,42,.92) 0%, rgba(15,23,42,.5) 55%, rgba(15,23,42,.15) 100%), var(--img);
  background-size: cover; background-position: center; transition: transform .15s, box-shadow .15s;
}
.suggest.photo:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(15,23,42,.25); }
.suggest.photo .svc-badge { background: rgba(255,255,255,.95); width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 4px 10px rgba(0,0,0,.2); }
.suggest.photo .svc-badge .ic { width: 22px; height: 22px; }
.suggest.photo b { text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.suggest.photo small { color: #fde68a; font-weight: 700; }

/* Profile button at the top of every page (when logged in) */
.account-link.logged-in {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px; border-radius: 999px;
  background: #f0fdfa; border: 1.5px solid #99f6e4; color: var(--main);
}
[dir="rtl"] .account-link.logged-in { padding: 4px 4px 4px 14px; }
.account-link.logged-in:hover { background: #ccfbf1; }
.mini-initial {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--main); color: #fff; font-weight: 800; font-size: .95rem;
}
.logout-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 14px; padding: 12px;
  font: inherit; font-weight: 700; color: #dc2626; background: #fff; border: 1.5px solid #fecaca; border-radius: 12px; cursor: pointer;
}

/* On phones the navigation becomes an app-style bar at the bottom */
@media (max-width: 640px) {
  #dash { padding-bottom: 80px; }
  .welcome { padding: 18px; margin-bottom: 16px; }
  .new-req { width: 100%; justify-content: center; }
  .dash-nav {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; margin: 0; gap: 0; background: #fff;
    border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(15,23,42,.08);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  }
  .dash-nav button { border: 0; border-radius: 12px; padding: 6px 2px; font-size: .78rem; }
  .dash-nav button.active { background: #f0fdfa; }
  .nav-count { top: 2px; inset-inline-end: 18%; }
}

/* ===== Step-by-step request form ===== */
.stepper { list-style: none; display: flex; padding: 0; margin: 0 0 6px; counter-reset: none; }
.stepper li { flex: 1; position: relative; text-align: center; cursor: pointer; color: var(--muted); font-size: .88rem; }
.stepper li span {
  position: relative; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 4px;
  border-radius: 50%; background: #fff; border: 2px solid var(--border); font-weight: 800; transition: .2s;
}
.stepper li::after { content: ""; position: absolute; top: 17px; inset-inline-start: -50%; width: 100%; height: 3px; background: var(--border); }
.stepper li:first-child::after { display: none; }
.stepper li.active { color: var(--main); }
.stepper li.active span { border-color: var(--main); background: var(--main); color: #fff; box-shadow: 0 0 0 5px rgba(15,118,110,.15); }
.stepper li.done { color: var(--main); }
.stepper li.done span { border-color: var(--main); color: var(--main); background: #f0fdfa; }
.stepper li.done::after, .stepper li.active::after { background: var(--main); }
.wstep { display: grid; gap: 16px; }
.wizard-nav { display: flex; gap: 10px; }
.wizard-nav .primary { flex: 1; }
.wizard-nav .btn-ghost { padding: 12px 22px; border-radius: 10px; }
.prep-note { margin: 0; padding: 12px 14px; border-radius: 12px; background: #ecfeff; border: 1px solid #a5f3fc; color: #155e75; font-weight: 600; }
.photo-box { border: 1.5px dashed #94a3b8; border-radius: 14px; padding: 14px; display: grid; gap: 10px; }
.photo-title { font-weight: 700; }
.photo-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.photo-btn {
  display: inline-flex !important; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 12px; cursor: pointer;
  background: #f0fdfa; border: 1.5px solid #99f6e4; color: var(--main); font-weight: 700;
}
.photo-btn input { display: none; }
.photo-btn.disabled { opacity: .45; pointer-events: none; }
.photo-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.photo-thumbs:empty { display: none; }
.thumb-wrap { position: relative; width: 92px; height: 92px; }
.thumb-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; border: 1px solid var(--border); }
.thumb-wrap button {
  position: absolute; top: -8px; inset-inline-end: -8px; width: 26px; height: 26px; border-radius: 50%; border: 0;
  background: #dc2626; color: #fff; font-weight: 800; cursor: pointer;
}
.review { background: var(--bg); border-radius: 14px; padding: 14px 16px; display: grid; gap: 8px; }
.review h4 { margin: 0 0 4px; }
.review > div { display: flex; align-items: center; gap: 10px; }
.review .link { background: none; border: 0; font: inherit; cursor: pointer; justify-self: start; padding: 0; }
.svc-badge.mini { width: 28px; height: 28px; border-radius: 8px; }
.svc-badge.mini .ic { width: 17px; height: 17px; }
.nav-profile { color: var(--main) !important; font-weight: 800 !important; }
@media (max-width: 640px) { .stepper li b { font-size: .78rem; } }

/* ===== Photos on admin request cards ===== */
.req-photos { margin: 10px 0; padding: 10px 12px; border-radius: 12px; background: #f8fafc; border: 1px solid var(--border); }
.req-photos-title { display: block; font-weight: 700; margin-bottom: 8px; }
.req-photos-row { display: flex; gap: 10px; flex-wrap: wrap; }
.req-thumb {
  width: 110px; height: 110px; padding: 0; border: 2px solid var(--border); border-radius: 12px; overflow: hidden; cursor: zoom-in;
  background: #e2e8f0 linear-gradient(90deg, #e2e8f0, #f1f5f9, #e2e8f0); background-size: 200% 100%; animation: shimmer 1.2s infinite;
}
.req-thumb:hover { border-color: var(--main); }
.req-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.req-thumb img:not([src]) { visibility: hidden; }
.req-thumb.broken { animation: none; }
@keyframes shimmer { to { background-position: -200% 0; } }
.id-photos img { max-height: 75vh; object-fit: contain; background: #0f172a; }

/* ===== Prices: "subject to review" note + final bill ===== */
.price-note {
  margin: 18px auto 0; max-width: 820px; text-align: center; padding: 12px 16px; border-radius: 12px;
  background: #fffbeb; border: 1px solid #fde68a; color: #92400e; font-weight: 600;
}
.price-note.small { font-size: .85rem; margin-top: 10px; padding: 10px 12px; text-align: start; }
.bill-line {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px;
  padding: 10px 14px; border-radius: 12px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; font-weight: 700;
}
.bill-line b { font-size: 1.15rem; }
.bill-line.pending { background: #fffbeb; border-color: #fde68a; color: #92400e; font-weight: 600; }
.final-bill { display: grid; gap: 6px; font-weight: 700; color: #065f46; margin-bottom: 10px; }
.final-bill input { max-width: 220px; background: #ecfdf5; }

/* ===== Footer ===== */
.footer a { color: #e2e8f0; text-decoration: underline; }
.footer { background: #0f172a; color: #cbd5e1; text-align: center; padding: 30px 0; }
.footer p { margin: 4px 0; }
.small { font-size: .85rem; opacity: .7; }

/* ===== Phones ===== */
@media (max-width: 640px) {
  .nav { display: none; }
  .account-link { margin-inline-start: auto; }
  .topbar-inner { gap: 14px; }
  .track li { font-size: .72rem; }
  .form .row { grid-template-columns: 1fr; }
  .hero {
    padding: 56px 0 64px;
    background-image: linear-gradient(135deg, rgba(15,118,110,.82), rgba(14,116,144,.70)), url("images/hero-mobile.jpg");
  }
  .search button { padding: 0 18px; }
}
