@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap");
:root {
  --ink: #14251f;
  --green: #167a55;
  --lime: #dff36b;
  --cream: #f6f7f2;
  --line: #dfe6df;
  --muted: #68756f;
  --white: #fff;
  --danger: #b93838;
}

/* =====================================================
   LOCALSEVA COMPACT RESPONSIVE UI — FINAL OVERRIDES
===================================================== */

html { font-size: 15px; }
body { overflow-x: hidden; }
h1 { font-size: clamp(2rem, 4vw, 3.65rem); line-height: 1.08; letter-spacing: -0.045em; }
h2 { font-size: clamp(1.35rem, 2.35vw, 2rem); line-height: 1.18; letter-spacing: -0.025em; }
h3 { line-height: 1.25; }
.section { padding-top: 62px; padding-bottom: 62px; }
.pagehead { padding-top: 48px; padding-bottom: 34px; }
.pagehead h1 { font-size: clamp(2rem, 3.6vw, 3.15rem); }
.hero { min-height: 520px; padding-top: 65px; padding-bottom: 65px; }
.hero > div > p { max-width: 650px; font-size: 1rem; }
.panel, .hero-card { padding: 24px; border-radius: 16px; }
.cards { gap: 16px; }
.worker-card { padding: 20px; }
.category-grid a { min-width: 0; padding: 20px; }
.category-grid a b { font-size: .9rem; overflow-wrap: anywhere; }
.form-page { padding: 55px 8vw; gap: 6vw; }
.auth { min-height: calc(100vh - 76px); padding: 38px 18px; }
.auth .panel { width: min(620px, 100%); }
.auth-card h1 { margin-bottom: 8px; font-size: clamp(1.8rem, 4vw, 2.65rem); }
.auth-intro { margin-top: 0; font-size: .87rem; }
.form-control, input, select, textarea { min-height: 44px; padding: 10px 12px; font-size: .88rem; }
textarea.form-control { min-height: 100px; }
label { font-size: .78rem; }
.helptext, form li { font-size: .69rem; line-height: 1.45; }

.registration-card { padding: 28px; }
.registration-page .auth-progress { margin-bottom: 18px; }
.registration-page .role-picker { margin: 20px 0 18px; }
.registration-page .role-option { padding: 13px; }
.registration-page .registration-location-note { margin: 0 0 17px; }
.registration-submit { margin-top: 4px; }

.camera-registration-field {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 17px;
  align-items: center;
  margin: 0 0 18px;
  padding: 15px;
  background: linear-gradient(135deg, #f3faf6, #fff);
  border: 1px solid #d7e7de;
  border-radius: 14px;
}

.camera-registration-field.has-error { border-color: var(--danger); }
.camera-preview { width: 92px; height: 92px; display: grid; place-items: center; overflow: hidden; color: #57806d; background: #dceee4; border: 3px solid white; border-radius: 50%; box-shadow: 0 7px 20px rgba(18, 87, 58, .13); font-size: 2rem; }
.camera-preview img { width: 100%; height: 100%; object-fit: cover; }
.camera-copy > label { display: block; color: var(--ink); font-size: .85rem; font-weight: 800; }
.camera-copy p { margin: 4px 0; color: var(--muted); font-size: .73rem; line-height: 1.45; }
.camera-copy > small { display: block; color: var(--green); font-size: .65rem; font-weight: 700; }
.camera-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.camera-button, .upload-photo-button { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 12px; border-radius: 8px; font-size: .7rem; font-weight: 800; cursor: pointer; }
.camera-button { background: var(--green); color: white; }
.upload-photo-button { color: var(--green); background: white; border: 1px solid #bcd8c8; }
.native-photo-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }

.camera-modal { position: fixed; inset: 0; z-index: 1200; display: none; align-items: center; justify-content: center; padding: 18px; }
.camera-modal.show { display: flex; }
.camera-modal-backdrop { position: absolute; inset: 0; background: rgba(7, 24, 17, .78); backdrop-filter: blur(6px); }
.camera-modal-card { position: relative; z-index: 1; width: min(440px, 100%); padding: 24px; background: white; border-radius: 18px; box-shadow: 0 28px 80px rgba(0, 0, 0, .3); }
.camera-modal-card h2 { margin: 7px 35px 16px 0; font-size: 1.35rem; }
.camera-modal-card > p { margin: 12px 0; color: var(--muted); font-size: .75rem; }
.camera-modal-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; min-height: 34px; padding: 0; color: var(--ink) !important; background: #eef3ef !important; border-radius: 50%; }
.live-camera-frame { position: relative; aspect-ratio: 1/1; overflow: hidden; background: #0c1712; border-radius: 15px; }
.live-camera-frame video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.face-guide { position: absolute; inset: 12%; border: 2px dashed rgba(223, 243, 107, .85); border-radius: 46% 46% 42% 42%; pointer-events: none; }

.user-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.admin-document-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.admin-document-links a { padding: 6px 9px; background: var(--primary-light); border: 1px solid #cce3d5; border-radius: 7px; font-size: .7rem; font-weight: 700; }

.worker-onboarding { align-items: start; }
.worker-onboarding .form-copy h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.worker-form-card { padding: 26px; }
.worker-field { margin-bottom: 15px; }
.category-checkbox-field > #id_categories { max-height: 320px; }
.category-checkbox-field > #id_categories > div label { min-height: 42px; padding: 7px 9px; font-size: .7rem; }

@media (max-width: 950px) {
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-card { display: grid; max-width: 520px; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-page { padding: 42px 5vw; }
}

@media (max-width: 650px) {
  html { font-size: 14px; }
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.45rem; }
  .section, .pagehead { padding: 38px 18px; }
  .hero { padding: 45px 18px; }
  .hero h1 { font-size: 2.45rem; letter-spacing: -1.5px; }
  .hero-card { display: none; }
  .category-grid, .cards { grid-template-columns: 1fr; }
  .panel { padding: 19px; }
  .registration-page { padding: 18px 12px; align-items: start; }
  .registration-card { padding: 20px 16px; border-radius: 14px; }
  .registration-page .form-grid.two-col { grid-template-columns: 1fr; }
  .registration-page .role-picker { grid-template-columns: 1fr; }
  .camera-registration-field { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .camera-preview { width: 72px; height: 72px; }
  .camera-actions { gap: 6px; }
  .camera-button, .upload-photo-button { width: 100%; }
  .camera-modal { padding: 10px; }
  .camera-modal-card { padding: 18px; border-radius: 15px; }
  .professional-detail .facts { grid-template-columns: 1fr 1fr; }
  .direct-contact-card { position: static; }
  .table-wrap { padding: 0; border: 0; background: transparent; box-shadow: none; }
  .table-wrap table, .table-wrap thead, .table-wrap tbody, .table-wrap tr, .table-wrap th, .table-wrap td { display: block; }
  .table-wrap thead { display: none; }
  .table-wrap tr { margin-bottom: 12px; padding: 15px; background: white; border: 1px solid var(--line); border-radius: 12px; }
  .table-wrap td { padding: 7px 0; border: 0; }
}

/* =========================================================
   LOCALSEVA LAUNCH UI — compact, mobile-first, professional
========================================================= */
nav { min-height: 70px; padding-top: 10px; padding-bottom: 10px; }
.brand { display:flex; align-items:center; gap:9px; font-size:1.4rem; letter-spacing:-.04em; }
.brand .brand-mark { width:39px; height:39px; display:grid; place-items:center; flex-shrink:0; color:#fff; background:linear-gradient(145deg,#087954,#0d5b43); border-radius:12px 12px 16px 16px; font-size:1.55rem; box-shadow:0 6px 16px rgba(8,121,84,.2); }
.brand .brand-copy { display:flex; flex-direction:column; gap:0; color:var(--ink); }
.brand .brand-copy strong { line-height:1; }
.brand .brand-copy strong span { color:var(--green); }
.brand .brand-copy small { margin-top:4px; color:var(--muted); font-size:.48rem; letter-spacing:.02em; font-weight:700; }
.navlinks { gap: 5px; }
.navlinks > a { padding: 9px 10px; font-size: .82rem; border-radius: 9px; }

.home-hero-v2 { position: relative; min-height: 480px; display: flex; align-items: center; overflow: hidden; isolation: isolate; padding: 62px max(6vw, 24px); color: #fff; background: linear-gradient(110deg,#073f2e 0%,#0b6d4d 57%,#c9dfbb 57%,#eef5e8 100%); }
.home-hero-v2::before { content:""; position:absolute; z-index:-1; width:520px; height:520px; right:6%; bottom:-285px; border-radius:50%; background:rgba(255,255,255,.14); box-shadow:-140px -25px 0 rgba(255,255,255,.07),70px -90px 0 rgba(5,67,47,.14); }
.home-hero-v2::after { content:"⌂   ⚒   ⚡"; position:absolute; z-index:-1; right:8%; bottom:70px; width:34%; color:#07533a; font-size:clamp(3.5rem,7vw,7rem); letter-spacing:.08em; opacity:.22; transform:skewY(-4deg); }
.home-hero-overlay { position:absolute; inset:0; z-index:-1; background:radial-gradient(circle at 82% 15%,rgba(220,247,95,.33),transparent 18%),linear-gradient(90deg,rgba(1,30,21,.15),transparent 55%); }
.home-hero-content { width:min(760px,72%); position:relative; z-index:1; }
.home-kicker { display:inline-block; margin-bottom:13px; color:#dff76a; font-size:.7rem; font-weight:900; letter-spacing:.13em; }
.home-hero-v2 h1 { margin:0; color:#fff; font-size:clamp(2.65rem,5vw,5rem); max-width:760px; }
.home-hero-v2 h1 em { color:#e5fa74; font-style:normal; }
.home-hero-v2 p { max-width:650px; margin:18px 0 23px; color:#e5f1ec; font-size:1rem; line-height:1.7; }
.hero-search-v2 { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(180px,.8fr) auto; gap:0; width:min(760px,100%); padding:6px; background:#fff; border-radius:14px; box-shadow:0 22px 45px rgba(0,28,20,.25); }
.hero-search-v2 label { display:flex; align-items:center; gap:9px; padding:0 12px; border-right:1px solid #e5ece8; color:#17805c; }
.hero-search-v2 input { width:100%; min-height:46px; padding:5px 0; border:0; box-shadow:none; background:transparent; }
.hero-search-v2 button { min-height:46px; padding:0 20px; border-radius:10px; box-shadow:none; }
.hero-proof { display:flex; flex-wrap:wrap; gap:18px; margin-top:17px; font-size:.77rem; color:#e9f5f0; font-weight:700; }
.hero-local-note { position:absolute; right:8%; top:27%; display:flex; flex-direction:column; align-items:center; color:#093f2e; font-size:1.25rem; transform:rotate(-6deg); }
.hero-local-note strong { font-size:2rem; }

.quick-services { position:relative; z-index:3; width:min(1120px,calc(100% - 36px)); margin:-34px auto 0; display:grid; grid-template-columns:repeat(8,1fr); background:#fff; border:1px solid #e1ebe5; border-radius:18px; box-shadow:0 18px 45px rgba(10,62,44,.12); overflow:hidden; }
.quick-services a { min-width:0; display:flex; flex-direction:column; align-items:center; gap:8px; padding:17px 7px; color:#183b30; border-right:1px solid #edf2ef; text-align:center; }
.quick-services a:hover { color:#087954; background:#f4faf7; transform:translateY(-2px); }
.quick-services a span { width:42px; height:42px; display:grid; place-items:center; background:#f0f8f4; border-radius:12px; font-size:1.2rem; }
.quick-services a strong { font-size:.69rem; line-height:1.3; }
.quick-services .quick-more span { font-weight:900; letter-spacing:.12em; }

.home-stat-strip { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; width:min(1120px,calc(100% - 36px)); margin:30px auto 0; padding:20px 24px; border-bottom:1px solid #dfe9e3; }
.home-stat-strip div { display:grid; grid-template-columns:42px auto; grid-template-rows:auto auto; column-gap:10px; align-items:center; }
.home-stat-strip div > span { grid-row:1/3; width:40px; height:40px; display:grid; place-items:center; color:#087b57; background:#eaf8f1; border-radius:12px; font-weight:900; }
.home-stat-strip strong { color:#0a382a; font-size:1.25rem; }
.home-stat-strip small { color:#657a72; font-size:.7rem; }
.home-section-v2 { padding-top:55px; }
.home-section-v2 .section-head p { margin:7px 0 0; color:var(--muted); }
.home-category-grid a { padding:18px; }
.home-category-grid a span { width:48px; height:48px; display:grid; place-items:center; border-radius:13px; }
.home-category-grid a small { color:#71837c; }
.home-how { background:#0e2d23; color:#fff; }
.home-how h2 { color:#fff; }
.how-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:24px; }
.how-grid article { position:relative; padding:24px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.11); border-radius:16px; }
.how-grid article > span { position:absolute; right:18px; top:14px; color:rgba(225,248,108,.5); font-weight:900; }
.how-grid article > div { width:48px; height:48px; display:grid; place-items:center; margin-bottom:18px; color:#13362b; background:#dff46d; border-radius:14px; font-size:1.25rem; }
.how-grid h3 { margin:0 0 8px; color:#fff; font-size:1.05rem; }
.how-grid p { margin:0; color:#bcd0c8; font-size:.82rem; line-height:1.6; }
.home-join-banner { margin-top:50px; margin-bottom:50px; padding:34px 38px; display:flex; align-items:center; justify-content:space-between; gap:24px; color:#fff; background:linear-gradient(120deg,#0b6246,#16845e); border-radius:20px; }
.home-join-banner h2 { margin:6px 0; color:#fff; }
.home-join-banner p { margin:0; color:#d6e9e1; }
.home-join-banner .button { flex-shrink:0; background:#dff46d; color:#123c2e; }

.management-grid { display:grid; grid-template-columns:minmax(340px,.85fr) minmax(0,1.15fr); gap:18px; margin-bottom:20px; }
.junior-admin-create-card .form-grid { margin-top:18px; }
.junior-admin-list { display:grid; gap:8px; margin-top:16px; }
.junior-admin-row { display:grid; grid-template-columns:42px minmax(0,1fr) auto auto 18px; gap:12px; align-items:center; padding:11px; color:var(--ink); background:#f7faf8; border:1px solid #e3ebe6; border-radius:12px; }
.junior-admin-row:hover { border-color:#9fcab8; transform:translateY(-1px); }
.junior-avatar { width:40px; height:40px; display:grid; place-items:center; color:#fff; background:#087954; border-radius:11px; font-weight:900; }
.junior-admin-row small,.junior-count small { display:block; margin-top:2px; color:var(--muted); font-size:.67rem; }
.junior-count { min-width:48px; text-align:center; }
.junior-count.success strong { color:#078259; }
.worker-source { display:inline-flex; gap:7px; align-items:center; margin:7px 0 0; padding:5px 8px; background:#edf8f2; border-radius:7px; font-size:.72rem; }
.worker-source span { color:var(--muted); }
.worker-source.self { background:#f2f4f3; }
.junior-pagehead .button { display:inline-flex; margin-top:16px; }
.compact-dashboard { padding-top:35px; }
.junior-stats { grid-template-columns:repeat(4,1fr); margin-bottom:20px; }
.junior-worker-form-wrap { max-width:980px; padding-top:32px; }
.junior-worker-form { padding:0; overflow:hidden; }
.onboarding-form-section { padding:25px 28px; border-bottom:1px solid #e5ece8; }
.form-section-title { display:flex; gap:12px; align-items:flex-start; margin-bottom:18px; }
.form-section-title > span { width:35px; height:35px; display:grid; place-items:center; flex-shrink:0; color:#fff; background:#087954; border-radius:10px; font-weight:900; font-size:.75rem; }
.form-section-title h2 { margin:0 0 3px; font-size:1.05rem; }
.form-section-title p { margin:0; color:var(--muted); font-size:.76rem; }
.form-span-2 { grid-column:1/-1; }
.camera-upload-simple { padding:16px; background:#f4faf7; border:1px dashed #9cc8b5; border-radius:12px; }
.camera-upload-simple small { display:block; margin-top:7px; color:var(--muted); }
.consent-field { display:flex; align-items:center; gap:10px; padding:13px; background:#fffbea; border:1px solid #eadb9e; border-radius:10px; }
.consent-field input { width:18px; min-height:18px; }
.consent-field label { margin:0; }
.secure-form-note { margin:20px 28px 0; padding:13px; color:#315d4c; background:#eff8f3; border-radius:10px; font-size:.78rem; }
.junior-worker-form > button { width:calc(100% - 56px); margin:18px 28px 28px; }
.status-rejected,.status-suspended { color:#9b2c2c; background:#ffeded; border-color:#f4c1c1; }

@media (max-width:1050px) {
  .quick-services { grid-template-columns:repeat(4,1fr); }
  .quick-services a { border-bottom:1px solid #edf2ef; }
  .management-grid { grid-template-columns:1fr; }
}
@media (max-width:760px) {
  .home-hero-v2 { min-height:auto; padding:48px 18px 68px; background:linear-gradient(145deg,#073f2e,#10815b); }
  .home-hero-content { width:100%; }
  .home-hero-v2 h1 { font-size:2.65rem; }
  .home-hero-v2::after,.hero-local-note { display:none; }
  .hero-search-v2 { grid-template-columns:1fr; padding:7px; }
  .hero-search-v2 label { border-right:0; border-bottom:1px solid #e5ece8; }
  .hero-search-v2 button { margin-top:6px; }
  .quick-services { margin-top:-28px; grid-template-columns:repeat(4,1fr); }
  .quick-services a { padding:13px 4px; }
  .quick-services a span { width:36px; height:36px; }
  .home-stat-strip { grid-template-columns:1fr 1fr; padding:18px 0; }
  .how-grid { grid-template-columns:1fr; }
  .home-join-banner { margin:30px 14px; padding:25px; align-items:flex-start; flex-direction:column; }
  .junior-stats { grid-template-columns:1fr 1fr; }
  .junior-admin-row { grid-template-columns:40px minmax(0,1fr) auto 16px; }
  .junior-admin-row .junior-count.success { display:none; }
  .onboarding-form-section { padding:20px 17px; }
  .junior-worker-form .form-grid.two-col { grid-template-columns:1fr; }
  .form-span-2 { grid-column:auto; }
  .secure-form-note { margin:16px 17px 0; }
  .junior-worker-form > button { width:calc(100% - 34px); margin:16px 17px 22px; }
}
@media (max-width:430px) {
  .quick-services { grid-template-columns:repeat(2,1fr); }
  .home-stat-strip { grid-template-columns:1fr; }
  .hero-proof { gap:9px 14px; }
  .junior-stats { grid-template-columns:1fr; }
}

@media (max-width: 380px) {
  .professional-detail .facts { grid-template-columns: 1fr; }
  .camera-registration-field { grid-template-columns: 1fr; text-align: center; }
  .camera-preview { margin: auto; }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #fbfcf9;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}
a {
  color: var(--green);
  text-decoration: none;
}
h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
  margin-top: 0;
}
h1 {
  font-size: clamp(2rem, 5vw, 4.7rem);
  line-height: 1.02;
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}
p {
  line-height: 1.65;
}
nav {
  height: 76px;
  padding: 0 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  font: 800 1.45rem Manrope;
  color: var(--ink);
}
.brand span {
  color: var(--green);
}
.navlinks {
  display: flex;
  gap: 25px;
  align-items: center;
}
.navlinks a,
.linkbtn {
  color: var(--ink);
  font: 600 0.93rem inherit;
}
.navlinks form {
  margin: 0;
}
.linkbtn {
  border: 0;
  background: none;
  cursor: pointer;
}
.navcta,
.button,
button {
  background: var(--green);
  color: white !important;
  border: 0;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 700;
  cursor: pointer;
  display: inline-block;
}
.nav-toggle {
  display: none;
  padding: 8px 12px;
}
.hero {
  min-height: 620px;
  background: linear-gradient(115deg, #eef7ed 0%, #fafcf5 60%);
  padding: 90px 8vw;
  display: grid;
  grid-template-columns: 1.5fr 0.65fr;
  gap: 8vw;
  align-items: center;
}
.hero h1 em {
  color: var(--green);
  font-style: normal;
}
.hero > div > p {
  font-size: 1.15rem;
  max-width: 700px;
  color: var(--muted);
}
.eyebrow {
  font: 800 0.73rem Manrope;
  letter-spacing: 2px;
  color: var(--green);
}
.search {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  background: white;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 15px;
  margin: 30px 0;
  box-shadow: 0 15px 50px #1a593414;
}
.search input,
.filter input,
.filter select {
  border: 0;
  padding: 15px;
  min-width: 0;
  font: inherit;
  outline: none;
}
.trust {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}
.hero-card,
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 14px 45px #143e2410;
}
.hero-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 15px;
}
.hero-card hr {
  grid-column: 1/-1;
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
  margin: 20px 0;
}
.hero-card span {
  color: var(--muted);
}
.mini-icon {
  grid-row: span 2;
  border-radius: 13px;
  padding: 13px;
  background: #fff3bc;
}
.mini-icon.blue {
  background: #dff2f6;
}
.section {
  padding: 80px 8vw;
}
.section.soft {
  background: var(--cream);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 30px;
}
.section-head h2 {
  margin: 7px 0 0;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.category-grid a {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  color: var(--ink);
  display: grid;
  gap: 12px;
  transition: 0.2s;
}
.category-grid a:hover {
  transform: translateY(-4px);
  border-color: var(--green);
}
.category-grid span {
  font-size: 1.5rem;
}
.category-grid small {
  color: var(--green);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.worker-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
}
.worker-card h3 {
  margin: 3px 0;
}
.worker-card p {
  margin: 3px 0;
}
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #dceee4;
  display: grid;
  place-items: center;
  font: 800 1.4rem Manrope;
  position: relative;
  overflow: visible;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
.avatar span {
  position: absolute;
  right: -5px;
  bottom: -5px;
  background: var(--green);
  color: #fff;
  border: 3px solid white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 0.7rem;
  display: grid;
  place-items: center;
}
.avatar.large {
  width: 110px;
  height: 110px;
  font-size: 2.4rem;
}
.muted {
  color: var(--muted);
  font-size: 0.9rem;
}
.price {
  border-top: 1px solid var(--line);
  margin-top: 15px;
  padding-top: 15px;
  color: var(--muted);
}
.price a {
  float: right;
}
.pagehead {
  padding: 65px 8vw 40px;
  background: #eff6ed;
}
.pagehead h1 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  margin: 10px 0;
}
.pagehead p {
  color: var(--muted);
}
.filter {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr auto;
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
  padding: 8px;
}
.result-count {
  color: var(--muted);
}
.detail-grid,
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.8fr;
  gap: 25px;
  align-items: start;
}
.profile-title {
  display: flex;
  gap: 25px;
  align-items: center;
  margin-bottom: 30px;
}
.profile-title h1 {
  font-size: 2.5rem;
  margin: 10px 0;
}
.badge,
.chips span {
  display: inline-block;
  background: #e5f3ea;
  color: var(--green);
  border-radius: 20px;
  padding: 5px 11px;
  font-size: 0.78rem;
  font-weight: 700;
}
.facts,
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 25px 0;
}
.facts div,
.stats div {
  background: var(--cream);
  padding: 18px;
  border-radius: 12px;
  display: grid;
}
.facts b,
.stats b {
  font: 800 1.4rem Manrope;
}
.facts span,
.stats span {
  font-size: 0.82rem;
  color: var(--muted);
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.review,
.request {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.request {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.request p {
  margin: 5px 0;
}
.contact {
  text-align: right;
  display: grid;
  gap: 5px;
}
.sticky {
  position: sticky;
  top: 100px;
}
.form-control,
input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cfd9d2;
  border-radius: 9px;
  background: white;
  font: inherit;
}
label {
  font-weight: 700;
  font-size: 0.9rem;
}
form p {
  display: grid;
  gap: 7px;
}
.helptext,
form li {
  font-size: 0.78rem;
  color: var(--muted);
}
.errorlist {
  color: var(--danger);
  padding-left: 18px;
}
.full {
  width: 100%;
  text-align: center;
}
.form-page {
  padding: 70px 12vw;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 8vw;
  align-items: start;
}
.form-copy {
  position: sticky;
  top: 130px;
}
.auth {
  min-height: 75vh;
  display: grid;
  place-items: center;
  padding: 50px;
  background: var(--cream);
}
.auth .panel {
  width: min(500px, 100%);
}
.auth .wide {
  width: min(650px, 100%);
}
.dashboard-grid .panel {
  margin-bottom: 20px;
}
.empty {
  background: white;
  border: 1px dashed #bdc9c0;
  padding: 35px;
  text-align: center;
  border-radius: 13px;
  color: var(--muted);
}
.messages {
  position: fixed;
  right: 20px;
  top: 90px;
  z-index: 30;
}
.alert {
  background: #173c2d;
  color: white;
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: 0 8px 30px #0002;
}
.alert.error {
  background: var(--danger);
}
.stats {
  margin: 0 0 25px;
}
.table-wrap {
  overflow: auto;
  margin-top: 25px;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  text-align: left;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}
td small {
  display: block;
  color: var(--muted);
}
.danger {
  background: var(--danger);
}
footer {
  padding: 45px 8vw;
  background: var(--ink);
  color: white;
  display: flex;
  justify-content: space-between;
}
footer p {
  color: #aebcb5;
}
@media (max-width: 950px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-card {
    display: none;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-grid,
  .dashboard-grid,
  .form-page {
    grid-template-columns: 1fr;
  }
  .form-copy,
  .sticky {
    position: static;
  }
}
@media (max-width: 650px) {
  nav {
    padding: 0 5vw;
  }
  .nav-toggle {
    display: block;
  }
  .navlinks {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    flex-direction: column;
    box-shadow: 0 10px 20px #0001;
  }
  .navlinks.open {
    display: flex;
  }
  .hero {
    padding: 65px 5vw;
    min-height: auto;
  }
  .search,
  .filter {
    grid-template-columns: 1fr;
  }
  .search input {
    border-bottom: 1px solid var(--line);
  }
  .section,
  .pagehead {
    padding: 50px 5vw;
  }
  .cards,
  .category-grid {
    grid-template-columns: 1fr;
  }
  .worker-card {
    grid-template-columns: auto 1fr;
  }
  .facts,
  .stats {
    grid-template-columns: 1fr;
  }
  .profile-title {
    align-items: flex-start;
  }
  .request {
    display: block;
  }
  .contact {
    text-align: left;
    margin-top: 12px;
  }
  footer {
    display: block;
  }
}

/* Bilingual navigation needs an earlier mobile breakpoint. */
@media (max-width: 1180px) {
  nav { padding: 0 5vw; }
  .nav-toggle { display: block; }
  .navlinks {
    display: none;
    position: absolute;
    top: 76px;
    right: 3vw;
    left: auto;
    width: min(390px, 94vw);
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 5px;
    padding: 15px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0 0 16px 16px;
    box-shadow: var(--shadow-lg);
  }
  .navlinks.open { display: flex; }
  .navlinks > a { padding: 10px 11px; border-radius: 8px; }
  .navlinks > a:hover { background: var(--primary-light); }
  .navlinks form, .navlinks .linkbtn { width: 100%; }
  .logged-user { width: 100%; }
}

@media (max-width: 650px) {
  .navlinks { right: 0; left: 0; width: 100%; border-radius: 0 0 14px 14px; }
}

/* =====================================================
   BILINGUAL MARKETPLACE EXPERIENCE
===================================================== */

.bilingual-pagehead {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 22%, rgba(223, 243, 107, 0.32), transparent 25%),
    linear-gradient(125deg, #eaf7ef, #f9fcf8 68%);
}

.bilingual-pagehead::after {
  content: "लोकल सेवा";
  position: absolute;
  right: 7vw;
  bottom: -18px;
  color: rgba(19, 122, 85, 0.055);
  font: 800 clamp(3rem, 8vw, 7rem) Manrope, sans-serif;
  pointer-events: none;
}

.professional-filter {
  grid-template-columns: 1.5fr 1.25fr 1.25fr auto;
  gap: 8px;
  padding: 10px;
  border-color: #d8e5dd;
  box-shadow: var(--shadow-md);
}

.professional-filter label {
  display: grid;
  gap: 5px;
  padding: 7px 13px;
  border-right: 1px solid var(--line);
}

.professional-filter label > span {
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.professional-filter input,
.professional-filter select {
  padding: 2px 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 0.88rem;
}

.professional-filter button {
  min-width: 130px;
}

.directory-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 24px 0 17px;
}

.directory-summary p { margin: 0; }
.directory-summary a { font-size: 0.8rem; font-weight: 700; }
.directory-empty { grid-column: 1 / -1; }
.directory-empty strong { display: block; color: var(--ink); font-size: 1rem; }
.directory-empty p { margin-bottom: 0; }

.professional-worker-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.professional-worker-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--green);
  opacity: 0;
  transition: opacity .2s ease;
}

.professional-worker-card:hover {
  transform: translateY(-4px);
  border-color: #b7d6c5;
  box-shadow: var(--shadow-md);
}

.professional-worker-card:hover::before { opacity: 1; }
.worker-card-body { min-width: 0; }
.worker-card-topline { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.worker-card-topline > small:first-child { color: var(--green); font-weight: 800; }

.availability-dot {
  flex-shrink: 0;
  color: #19714f;
  font-size: .62rem;
  font-weight: 800;
}

.availability-dot::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  background: #2eb67d;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(46, 182, 125, .12);
}

.professional-worker-card .price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: .75rem;
}

.professional-worker-card .price a { float: none; text-align: right; font-weight: 800; }

.professional-detail { max-width: 1280px; margin: 0 auto; }
.profile-profession { color: var(--green); font-weight: 800; font-size: 1.05rem; }
.profile-panel, .reviews-panel { margin-bottom: 22px; }
.professional-detail .facts { grid-template-columns: repeat(4, 1fr); }

.direct-contact-card {
  border-top: 4px solid var(--green);
  box-shadow: var(--shadow-lg);
}

.direct-contact-card h2 { margin: 7px 0 7px; font-size: 1.55rem; }
.direct-contact-card > p { color: var(--muted); font-size: .85rem; }
.direct-contact-card form { margin: 10px 0 0; }

.direct-contact-number {
  display: grid;
  gap: 6px;
  margin: 20px 0 14px;
  padding: 16px;
  background: #edf8f2;
  border: 1px solid #d2e9db;
  border-radius: 12px;
}

.direct-contact-number small { color: var(--muted); font-size: .7rem; }
.direct-contact-number strong { color: var(--ink); font: 800 1.2rem Manrope; letter-spacing: .03em; }

.contact-action {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 13px 16px;
  border-radius: 10px;
  font-weight: 800;
  text-align: center;
}

.call-action { color: white; background: var(--green); }
.call-action:hover { color: white; background: var(--primary-dark); transform: translateY(-2px); }
.whatsapp-action { background: #25d366 !important; }
.whatsapp-action:hover { background: #1eaf55 !important; transform: translateY(-2px); }

.contact-safe-note {
  margin-top: 15px;
  padding: 12px 13px;
  color: #5f7168;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: .72rem;
  line-height: 1.55;
}

.review-form-toggle { margin-top: 20px; }
.review-form-toggle summary { color: var(--green); font-weight: 800; cursor: pointer; }
.review-form-toggle form { margin-top: 16px; padding-top: 5px; }

.worker-onboarding { background: linear-gradient(125deg, #f1f8f3, #fbfcfa); }
.worker-form-card { padding: 34px; box-shadow: var(--shadow-lg); }
.form-card-heading { margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.form-card-heading > span { color: var(--green); font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.form-card-heading h2 { margin: 7px 0; }
.form-card-heading p { margin: 0; color: var(--muted); font-size: .8rem; }
.worker-field { display: grid; gap: 8px; margin-bottom: 20px; }

.category-checkbox-field > #id_categories {
  max-height: 390px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  overflow-y: auto;
  padding: 12px;
  background: #f7faf8;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.category-checkbox-field > #id_categories > div label {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  background: white;
  border: 1px solid #dce6df;
  border-radius: 9px;
  cursor: pointer;
  font-size: .76rem;
  line-height: 1.35;
}

.category-checkbox-field input[type="checkbox"],
.worker-field input[type="checkbox"] {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  accent-color: var(--green);
}

.availability-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.benefit-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.benefit-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.benefit-list li span { width: 22px; height: 22px; display: grid; place-items: center; flex-shrink: 0; color: white; background: var(--green); border-radius: 50%; font-size: .65rem; }

@media (max-width: 1050px) {
  .professional-filter { grid-template-columns: 1fr 1fr; }
  .professional-filter label { border-right: 0; border-bottom: 1px solid var(--line); }
  .professional-detail .facts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
  h1 { line-height: 1.13; }
  .professional-filter { grid-template-columns: 1fr; padding: 8px; }
  .professional-filter label { padding: 9px 10px; }
  .professional-filter button { width: 100%; }
  .directory-summary { align-items: flex-start; flex-direction: column; }
  .professional-worker-card { grid-template-columns: 54px minmax(0, 1fr); padding: 18px; gap: 13px; }
  .professional-worker-card .avatar { width: 54px; height: 54px; }
  .worker-card-topline { display: block; }
  .availability-dot { display: block; margin: 6px 0; }
  .professional-worker-card .price { align-items: flex-start; flex-direction: column; }
  .professional-worker-card .price a { text-align: left; }
  .profile-title { flex-direction: column; }
  .professional-detail .facts { grid-template-columns: 1fr 1fr; }
  .worker-form-card { padding: 22px 18px; }
  .category-checkbox-field > #id_categories { grid-template-columns: 1fr; max-height: 430px; }
}


/* Visible logout button */
.navlinks .linkbtn {
    display: inline-block;
    background: #ffffff !important;
    color: #167a55 !important;
    border: 1px solid #167a55 !important;
    border-radius: 9px;
    padding: 9px 16px;
    cursor: pointer;
    font-weight: 700;
}

.navlinks .linkbtn:hover {
    background: #167a55 !important;
    color: #ffffff !important;
}

/* Footer developer credit */
.footer-credit {
    text-align: right;
}

.footer-credit p {
    margin: 3px 0;
}

.footer-credit strong {
    color: #dff36b;
    font-weight: 700;
}

.footer-credit span {
    margin: 0 6px;
    color: #aebcb5;
}

@media (max-width: 650px) {
    footer {
        text-align: center;
    }

    .footer-credit {
        margin-top: 20px;
        text-align: center;
    }
}


/* =====================================================
   LOCALSEVA PROFESSIONAL UI OVERRIDES
   Existing CSS ke bilkul end mein add karein
===================================================== */

:root {
  --primary: #137a55;
  --primary-dark: #0c5b3e;
  --primary-light: #e8f5ee;
  --surface: #ffffff;
  --background: #f7f9f7;
  --text: #13251f;
  --text-secondary: #617069;
  --border: #dce5df;
  --danger: #bd3636;

  --shadow-sm: 0 3px 12px rgba(15, 61, 42, 0.06);
  --shadow-md: 0 12px 35px rgba(15, 61, 42, 0.1);
  --shadow-lg: 0 24px 60px rgba(15, 61, 42, 0.14);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
}

/* ---------- General ---------- */

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

a,
button,
input,
select,
textarea {
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(22, 122, 85, 0.2);
  outline-offset: 2px;
}

::selection {
  color: #ffffff;
  background: var(--primary);
}

/* ---------- Navbar ---------- */

nav {
  height: 78px;
  padding: 0 max(5vw, 30px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(20, 37, 31, 0.08);
  box-shadow: 0 3px 20px rgba(20, 37, 31, 0.04);
  backdrop-filter: blur(14px);
}

.brand {
  font-size: 1.55rem;
  letter-spacing: -0.7px;
}

.navlinks {
  gap: 8px;
}

.navlinks > a:not(.navcta) {
  color: var(--text-secondary);
  padding: 10px 14px;
  border-radius: 9px;
}

.navlinks > a:not(.navcta):hover {
  color: var(--primary);
  background: var(--primary-light);
}

.navcta {
  margin-left: 6px;
  padding: 11px 18px;
  background: var(--primary);
  border-radius: 10px;
  box-shadow: 0 5px 16px rgba(22, 122, 85, 0.2);
}

.navcta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* Visible logout button */

.navlinks .linkbtn {
  display: inline-block;
  background: #ffffff !important;
  color: var(--primary) !important;
  border: 1px solid var(--primary) !important;
  border-radius: 9px;
  padding: 9px 16px;
  cursor: pointer;
  font-weight: 700;
}

.navlinks .linkbtn:hover {
  background: var(--primary) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* ---------- Primary buttons ---------- */

.button,
button:not(.nav-toggle):not(.linkbtn) {
  min-height: 44px;
  background: var(--primary);
  border: 1px solid transparent;
  border-radius: 11px;
  box-shadow: 0 5px 16px rgba(22, 122, 85, 0.18);
}

.button:hover,
button:not(.nav-toggle):not(.linkbtn):hover {
  background: var(--primary-dark);
  box-shadow: 0 8px 22px rgba(22, 122, 85, 0.24);
  transform: translateY(-1px);
}

.button:active,
button:not(.nav-toggle):not(.linkbtn):active {
  transform: translateY(0);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none !important;
}

/* ---------- Hero section ---------- */

.hero {
  min-height: 650px;
  padding: 90px max(7vw, 45px);
  background:
    radial-gradient(circle at 80% 25%, rgba(223, 243, 107, 0.2), transparent 30%),
    linear-gradient(130deg, #edf7f0 0%, #fbfcf8 65%);
}

.hero h1 {
  max-width: 780px;
  letter-spacing: -3px;
}

.hero > div > p {
  max-width: 650px;
  font-size: 1.12rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 7px;
  font-size: 0.72rem;
  letter-spacing: 2.3px;
}

.hero-card {
  border-color: rgba(22, 122, 85, 0.13);
  box-shadow: var(--shadow-lg);
}

/* ---------- Search ---------- */

.search,
.filter {
  border-color: rgba(22, 122, 85, 0.18);
  box-shadow: var(--shadow-md);
}

.search {
  max-width: 850px;
}

.search input + input {
  border-left: 1px solid var(--border);
}

.search input::placeholder,
.filter input::placeholder {
  color: #8a9891;
}

.search:focus-within,
.filter:focus-within {
  border-color: var(--primary);
  box-shadow:
    0 0 0 4px rgba(22, 122, 85, 0.08),
    var(--shadow-md);
}

/* ---------- Sections ---------- */

.section {
  padding: 85px max(7vw, 45px);
}

.section-head {
  margin-bottom: 34px;
}

.section-head > a {
  padding: 9px 13px;
  border-radius: 8px;
  font-weight: 700;
}

.section-head > a:hover {
  background: var(--primary-light);
}

/* ---------- Category cards ---------- */

.category-grid {
  gap: 18px;
}

.category-grid a {
  min-height: 175px;
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.category-grid a:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 122, 85, 0.5);
  box-shadow: var(--shadow-md);
}

.category-grid a span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--primary-light);
  border-radius: 12px;
}

/* ---------- Worker cards ---------- */

.worker-card {
  position: relative;
  min-height: 230px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.worker-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
}

.worker-card:hover {
  border-color: rgba(22, 122, 85, 0.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.worker-card:hover::before {
  background: var(--primary);
}

.worker-card h3 {
  font-size: 1.15rem;
}

.worker-card .price {
  margin-top: 18px;
}

.worker-card .price a {
  padding: 5px 9px;
  border-radius: 7px;
  font-weight: 700;
}

.worker-card .price a:hover {
  background: var(--primary-light);
}

/* ---------- Panels ---------- */

.panel {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.panel:hover {
  box-shadow: var(--shadow-md);
}

.sticky {
  top: 105px;
}

/* ---------- Forms ---------- */

.form-control,
input,
select,
textarea {
  min-height: 48px;
  padding: 13px 15px;
  color: var(--text);
  border: 1px solid #ccd8d1;
  border-radius: var(--radius-sm);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-control:hover,
input:hover,
select:hover,
textarea:hover {
  border-color: #9db3a6;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(22, 122, 85, 0.1);
}

label {
  color: var(--text);
  font-size: 0.91rem;
}

form p {
  margin: 0 0 19px;
}

.helptext {
  line-height: 1.5;
}

.errorlist {
  margin: 5px 0;
  padding: 10px 14px 10px 32px;
  color: #a52626;
  background: #fff0f0;
  border: 1px solid #f3cccc;
  border-radius: 8px;
}

/* Checkbox list used in worker categories */

form ul {
  padding-left: 0;
  list-style: none;
}

form ul li {
  margin-bottom: 7px;
}

form ul li label {
  display: flex;
  align-items: center;
  gap: 8px;
}

form input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  height: 18px;
  accent-color: var(--primary);
}

/* ---------- Authentication pages ---------- */

.auth {
  min-height: calc(100vh - 78px);
  padding: 65px 20px;
  background:
    radial-gradient(circle at 20% 20%, rgba(223, 243, 107, 0.18), transparent 28%),
    var(--background);
}

.auth .panel {
  padding: clamp(28px, 5vw, 44px);
  box-shadow: var(--shadow-lg);
}

.auth h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -1.5px;
}

.auth .full {
  margin-top: 5px;
}

/* ---------- Page headings ---------- */

.pagehead {
  padding: 70px max(7vw, 45px) 48px;
  background:
    radial-gradient(circle at 85% 20%, rgba(223, 243, 107, 0.18), transparent 25%),
    linear-gradient(120deg, #edf7f0, #fafcf8);
}

.pagehead h1 {
  letter-spacing: -2px;
}

/* ---------- Status and chips ---------- */

.badge,
.chips span {
  border: 1px solid rgba(22, 122, 85, 0.12);
  font-weight: 700;
}

.chips span {
  padding: 7px 13px;
}

/* ---------- Requests ---------- */

.request {
  padding: 20px 0;
}

.request:last-child,
.review:last-child {
  border-bottom: 0;
}

.request:hover {
  background: #fbfdfb;
}

/* ---------- Tables ---------- */

.table-wrap {
  border-radius: var(--radius-md);
}

table {
  background: var(--surface);
}

thead {
  background: #f0f5f2;
}

th {
  padding: 15px;
  color: #4e6158;
  letter-spacing: 0.5px;
}

td {
  padding: 16px 15px;
}

tbody tr:hover {
  background: #f8fbf9;
}

tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------- Messages ---------- */

.messages {
  width: min(420px, calc(100% - 32px));
}

.alert {
  position: relative;
  border-left: 4px solid var(--lime);
  box-shadow: var(--shadow-md);
  animation: messageIn 0.3s ease-out;
}

.alert.success {
  background: #145d43;
}

.alert.error {
  background: var(--danger);
}

@keyframes messageIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ---------- Empty states ---------- */

.empty {
  padding: 50px 25px;
  background: linear-gradient(145deg, #ffffff, #f8faf8);
  border: 1px dashed #afc1b5;
}

/* ---------- Footer ---------- */

footer {
  padding: 48px max(7vw, 45px);
  border-top: 4px solid var(--primary);
}

footer b {
  font-family: Manrope, sans-serif;
  font-size: 1.25rem;
}

.footer-credit {
  text-align: right;
}

.footer-credit p {
  margin: 3px 0;
}

.footer-credit strong {
  color: var(--lime);
}

.footer-credit span {
  margin: 0 6px;
  color: #aebcb5;
}

/* ---------- Mobile and tablet ---------- */

@media (max-width: 950px) {
  .hero,
  .section,
  .pagehead {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .form-page {
    padding-left: 6vw;
    padding-right: 6vw;
  }
}

@media (max-width: 650px) {
  nav {
    height: 68px;
    padding: 0 18px;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    font-size: 1.25rem;
    background: var(--primary) !important;
    border-radius: 10px;
  }

  .navlinks {
    top: 68px;
    gap: 6px;
    padding: 15px;
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .navlinks > a,
  .navlinks form,
  .navlinks .linkbtn {
    width: 100%;
  }

  .navlinks > a {
    padding: 12px 14px;
    text-align: center;
  }

  .navlinks .linkbtn {
    min-height: 44px;
  }

  .hero {
    padding: 55px 20px;
  }

  .hero h1 {
    letter-spacing: -1.8px;
  }

  .hero > div > p {
    font-size: 1rem;
  }

  .search,
  .filter {
    padding: 10px;
    gap: 8px;
  }

  .search input + input {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .section,
  .pagehead {
    padding: 48px 20px;
  }

  .section-head {
    align-items: flex-start;
    gap: 15px;
  }

  .worker-card {
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 20px;
  }

  .avatar {
    width: 58px;
    height: 58px;
  }

  .price a {
    float: none;
    display: block;
    margin-top: 10px;
  }

  .profile-title {
    flex-direction: column;
  }

  .auth {
    padding: 35px 15px;
  }

  .auth .panel {
    padding: 25px 20px;
  }

  .form-page {
    padding: 45px 20px;
  }

  .messages {
    top: 78px;
    right: 16px;
  }

  footer {
    padding: 38px 20px;
    text-align: center;
  }

  .footer-credit {
    margin-top: 18px;
    text-align: center;
  }
}

/* Reduced animation for accessibility */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Logged-in user details */

.logged-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 6px;
    padding: 6px 13px 6px 7px;
    background: #f1f7f3;
    border: 1px solid #d8e7de;
    border-radius: 12px;
}

.user-avatar {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: #ffffff;
    background: linear-gradient(135deg, #167a55, #0c5b3e);
    border-radius: 10px;
    font-family: Manrope, sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(22, 122, 85, 0.2);
}

.user-information {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.2;
}

.user-information strong {
    max-width: 150px;
    overflow: hidden;
    color: #14251f;
    font-size: 0.86rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-information small {
    margin-top: 3px;
    color: #68756f;
    font-size: 0.7rem;
}

/* Logout button */

.navlinks .linkbtn {
    display: inline-block;
    min-height: 40px;
    padding: 9px 15px;
    color: #b93838 !important;
    background: #ffffff !important;
    border: 1px solid #e5bcbc !important;
    border-radius: 9px;
    font-weight: 700;
}

.navlinks .linkbtn:hover {
    color: #ffffff !important;
    background: #b93838 !important;
    border-color: #b93838 !important;
}

/* Mobile navbar */

@media (max-width: 650px) {
    .logged-user {
        width: 100%;
        margin: 6px 0;
    }

    .user-information {
        flex: 1;
    }

    .user-information strong {
        max-width: 220px;
    }

    .navlinks form,
    .navlinks .linkbtn {
        width: 100%;
    }
}

.pricing-section {
    max-width: 1250px;
    margin: auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.pricing-card {
    position: relative;
    padding: 32px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
    border-color: var(--green);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.pricing-card.featured {
    border: 2px solid var(--green);
}

.popular {
    position: absolute;
    top: -13px;
    right: 22px;
    padding: 6px 13px;
    color: #ffffff;
    background: var(--green);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.plan-price {
    margin: 20px 0 5px;
    color: var(--ink);
    font-family: Manrope, sans-serif;
    font-size: 3rem;
    font-weight: 800;
}

.plan-price span {
    margin-right: 3px;
    color: var(--green);
    font-size: 1.5rem;
}

.pricing-card ul {
    margin: 25px 0;
    padding: 0;
    list-style: none;
}

.pricing-card li {
    margin: 12px 0;
    color: var(--muted);
}

.pricing-card li::before {
    content: "✓";
    margin-right: 10px;
    color: var(--green);
    font-weight: 800;
}

.worker-plan-heading {
    margin-top: 90px;
}

.active-plan-note {
    margin-bottom: 35px;
    padding: 17px 20px;
    color: #0c5b3e;
    background: #e8f5ee;
    border: 1px solid #b8ddca;
    border-radius: 12px;
    font-weight: 700;
}

.checkout-price {
    margin: 15px 0;
    color: var(--green);
    font: 800 3rem Manrope, sans-serif;
}

.payment-note {
    margin: 25px 0;
    padding: 18px;
    background: var(--cream);
    border-left: 4px solid var(--green);
    border-radius: 10px;
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* Subscription dashboard */

.subscription-dashboard {
    padding-bottom: 0;
}

.subscription-user-card {
    max-width: 1180px;
    margin: auto;
}

.subscription-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.subscription-card-header h2 {
    margin: 7px 0 0;
}

.subscription-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 25px;
}

.subscription-details > div {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 18px;
    background: #f4f8f5;
    border: 1px solid #e0e9e3;
    border-radius: 12px;
}

.subscription-details small {
    color: var(--muted);
    font-size: 0.78rem;
}

.subscription-details strong {
    color: var(--ink);
    font-size: 1rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 800;
}

.status-active {
    color: #0d6846;
    background: #e1f5e9;
    border: 1px solid #b8e2c8;
}

.status-pending {
    color: #8a5b00;
    background: #fff4cf;
    border: 1px solid #ead58c;
}

.status-expired,
.status-rejected {
    color: #a12c2c;
    background: #ffebeb;
    border: 1px solid #efc0c0;
}

.plan-type {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
}

.plan-type.user {
    color: #285da7;
    background: #e8f1ff;
}

.plan-type.worker {
    color: #0d6846;
    background: #e1f5e9;
}

.renewal-warning {
    margin-bottom: 20px;
    padding: 14px 17px;
    color: #815500;
    background: #fff6d8;
    border-left: 4px solid #e2af32;
    border-radius: 9px;
}

.payment-pending-card {
    margin-bottom: 20px;
    padding: 20px;
    background: #fffbec;
    border: 1px solid #eadca7;
    border-radius: 12px;
}

.subscription-table {
    min-width: 1050px;
}

@media (max-width: 800px) {
    .subscription-details {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 550px) {
    .subscription-card-header {
        flex-direction: column;
    }

    .subscription-details {
        grid-template-columns: 1fr;
    }
}


/* =====================================================
   CONTACT US POPUP
===================================================== */

.contact-us-btn {
    margin-top: 10px;
    padding: 10px 18px;
    color: #ffffff !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    border-radius: 9px;
    box-shadow: none !important;
}

.contact-us-btn:hover {
    color: var(--ink) !important;
    background: var(--lime) !important;
    border-color: var(--lime) !important;
}

.modal-open {
    overflow: hidden;
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.contact-modal.show {
    display: flex;
}

.contact-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 24, 18, 0.7);
    backdrop-filter: blur(5px);
    animation: contactOverlayIn 0.2s ease;
}

.contact-modal-content {
    position: relative;
    z-index: 1;
    width: min(500px, 100%);
    padding: 36px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(8, 35, 25, 0.3);
    animation: contactModalIn 0.25s ease-out;
}

.contact-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    min-height: 38px;
    padding: 0;
    color: var(--muted) !important;
    background: var(--cream) !important;
    border: 0 !important;
    border-radius: 50%;
    box-shadow: none !important;
    font-size: 1.6rem;
    line-height: 1;
}

.contact-modal-close:hover {
    color: #ffffff !important;
    background: var(--danger) !important;
    transform: rotate(90deg);
}

.contact-modal-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        var(--green),
        #0c5b3e
    );
    border-radius: 16px;
    font-size: 1.5rem;
    box-shadow: 0 9px 22px rgba(22, 122, 85, 0.25);
}

.contact-modal-content h2 {
    margin: 7px 0 10px;
    font-size: 2rem;
}

.contact-modal-description {
    margin-bottom: 25px;
    color: var(--muted);
}

.contact-information {
    display: grid;
    gap: 12px;
}

.contact-information-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px;
    color: var(--ink);
    background: #f5f9f6;
    border: 1px solid #e0ebe4;
    border-radius: 12px;
}

a.contact-information-item:hover {
    color: var(--green);
    background: #edf7f1;
    border-color: #a9d2bc;
    transform: translateY(-2px);
}

.contact-item-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: var(--green);
    background: #ffffff;
    border: 1px solid #d8e8de;
    border-radius: 10px;
    font-size: 1.15rem;
}

.contact-information-item > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-information-item small {
    color: var(--muted);
    font-size: 0.76rem;
}

.contact-information-item strong {
    color: var(--ink);
    font-size: 0.95rem;
}

.contact-working-hours {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 0.8rem;
    text-align: center;
}

@keyframes contactOverlayIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes contactModalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 550px) {
    .contact-modal {
        padding: 14px;
    }

    .contact-modal-content {
        padding: 30px 20px 24px;
        border-radius: 18px;
    }

    .contact-modal-content h2 {
        font-size: 1.65rem;
    }

    .contact-information-item {
        padding: 13px;
    }
}

/* =====================================================
   LOCALSEVA HOMEPAGE LAUNCH BANNER
===================================================== */

.launch-banner-section {
    position: relative;
    width: min(1280px, calc(100% - 40px));
    margin: 28px auto;
    background: #ffffff;
    border: 1px solid #dbe6df;
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(20, 58, 40, 0.13);
    overflow: hidden;
    animation: launchBannerIn 0.5s ease-out;
}

.launch-banner-link {
    display: block;
    line-height: 0;
}

.launch-banner-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.launch-banner-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 40px;
    height: 40px;
    min-height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #ffffff !important;
    background: rgba(20, 37, 31, 0.78) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.16) !important;
    font-size: 1.55rem;
    line-height: 1;
    backdrop-filter: blur(5px);
}

.launch-banner-close:hover {
    background: #b93838 !important;
    transform: rotate(90deg);
}

.launch-banner-mobile-cta {
    display: none;
}

@keyframes launchBannerIn {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet */

@media (max-width: 900px) {
    .launch-banner-section {
        width: calc(100% - 30px);
        margin: 20px auto;
        border-radius: 16px;
    }
}

/* Mobile */

@media (max-width: 600px) {
    .launch-banner-section {
        width: calc(100% - 24px);
        margin: 15px auto;
        border-radius: 14px;
    }

    .launch-banner-image {
        min-height: 260px;
        object-fit: cover;
        object-position: left center;
    }

    .launch-banner-close {
        top: 9px;
        right: 9px;
        width: 34px;
        height: 34px;
        min-height: 34px;
    }

    .launch-banner-mobile-cta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 13px;
        background: #14251f;
    }

    .launch-banner-mobile-cta span {
        color: #ffffff;
        font-size: 0.78rem;
        font-weight: 600;
    }

    .launch-banner-mobile-cta a {
        flex-shrink: 0;
        padding: 9px 13px;
        color: #14251f;
        background: #dff36b;
        border-radius: 8px;
        font-size: 0.78rem;
        font-weight: 800;
    }
}
/* User/worker onboarding and email OTP */
.auth-onboarding{padding:56px 20px;background:linear-gradient(145deg,#f0f8f3,#fff)}
.auth-card{width:min(820px,100%);margin:auto;padding:38px;border-radius:24px}
.auth-card h1{margin:8px 0 10px}.auth-intro{color:var(--muted);margin-bottom:26px}
.auth-progress{display:flex;align-items:center;justify-content:center;margin-bottom:28px}
.auth-progress span{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#edf1ee;color:var(--muted);font-weight:800;font-size:.82rem}
.auth-progress span.active,.auth-progress span.done{color:#fff;background:var(--green)}
.auth-progress i{width:70px;height:2px;background:#dce6df}.auth-progress i.done{background:var(--green)}
.role-picker{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:24px}
.role-option{position:relative;display:flex;align-items:center;gap:14px;padding:17px;border:2px solid #dce6df;border-radius:14px;cursor:pointer;background:#fff;transition:.2s ease}
.role-option:hover,.role-option:has(input:checked){border-color:var(--green);background:#f0f9f4;box-shadow:0 8px 20px rgba(22,122,85,.1)}
.role-option input{position:absolute;top:12px;right:12px;width:auto}.role-icon{width:44px;height:44px;display:grid;place-items:center;background:#e7f5ec;border-radius:11px;font-size:1.25rem}
.role-option>span:last-child{display:flex;flex-direction:column;gap:4px}.role-option small,.helptext{color:var(--muted);font-size:.76rem}.form-grid.two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.field{display:flex;flex-direction:column;gap:7px}.field label{font-weight:700;font-size:.86rem}.field .errorlist,.role-picker>.errorlist{margin:0;padding:0;list-style:none;color:#b42318;font-size:.78rem}.has-error .form-control{border-color:#d92d20}
.auth-switch{text-align:center;margin:20px 0 0}.otp-card{max-width:530px;text-align:center}.otp-icon{width:64px;height:64px;display:grid;place-items:center;margin:0 auto 18px;border-radius:18px;background:#e7f5ec;color:var(--green);font-size:1.7rem}
.otp-field{text-align:left}.otp-field input{text-align:center;font-size:1.45rem;font-weight:800;letter-spacing:.45rem}.resend-form{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:18px}.resend-form .text-button{padding:4px;color:var(--green)!important;background:transparent!important;box-shadow:none!important}.otp-tip{color:var(--muted);font-size:.78rem;margin-bottom:0}
@media(max-width:650px){.auth-onboarding{padding:26px 12px}.auth-card{padding:25px 18px}.role-picker,.form-grid.two-col{grid-template-columns:1fr}.auth-progress i{width:48px}}

/* =====================================================
   LOCALSEVA — PROFESSIONAL FREE ACCESS TOAST
===================================================== */

.pricing-link-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 9px 14px !important;
    color: #116747 !important;
    background: #edf8f2 !important;
    border: 1px solid #d4ebde !important;
    border-radius: 11px;
    box-shadow: none !important;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.pricing-link-button::before {
    content: "";
    width: 7px;
    height: 7px;
    background: #22a06b;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(34, 160, 107, 0.12);
}

.pricing-link-button:hover {
    color: #ffffff !important;
    background: #167a55 !important;
    border-color: #167a55 !important;
    transform: translateY(-1px);
}

/* Toast container */

.pricing-toast {
    position: fixed;
    top: 88px;
    right: 24px;
    z-index: 3000;

    width: min(460px, calc(100% - 32px));
    display: grid;
    grid-template-columns: 48px 1fr 30px;
    align-items: start;
    gap: 15px;

    padding: 20px;

    color: #172b22;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.99),
            rgba(246, 252, 248, 0.99)
        );

    border: 1px solid #d5e8dc;
    border-left: 5px solid #167a55;
    border-radius: 17px;

    box-shadow:
        0 24px 60px rgba(16, 48, 35, 0.17),
        0 4px 14px rgba(16, 48, 35, 0.07);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-18px) scale(0.97);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;

    overflow: hidden;
}

/* Auto-close progress line */

.pricing-toast::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

    height: 3px;
    background: linear-gradient(
        90deg,
        #167a55,
        #80c99f
    );

    transform-origin: left;
    transform: scaleX(0);
}

.pricing-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.pricing-toast.show::after {
    animation: pricingToastProgress 5s linear forwards;
}

/* Verified icon */

.pricing-toast-icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    color: #ffffff;
    background: linear-gradient(
        135deg,
        #167a55,
        #0f5f43
    );

    border: 5px solid #e6f5ec;
    border-radius: 14px;

    box-shadow: 0 8px 18px rgba(22, 122, 85, 0.2);

    font-size: 1rem;
    font-weight: 900;
}

/* Toast content */

.pricing-toast-content {
    min-width: 0;
}

.pricing-toast-content strong {
    display: block;
    margin: 1px 0 6px;

    color: #13271e;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
}

.pricing-toast-content p {
    margin: 0;

    color: #50645b;
    font-size: 0.84rem;
    line-height: 1.55;
}

.pricing-toast-content small {
    display: flex;
    align-items: center;
    gap: 6px;

    margin-top: 10px;

    color: #167a55;
    font-size: 0.76rem;
    font-weight: 700;
}

.pricing-toast-content small::before {
    content: "●";
    color: #67bd8d;
    font-size: 0.55rem;
}

/* Company identity */

.pricing-toast-brand {
    display: inline-flex;
    align-items: center;

    margin-top: 12px;
    padding: 6px 9px;

    color: #52675d;
    background: #edf5f0;
    border: 1px solid #dbe9e0;
    border-radius: 7px;

    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.025em;
}

/* Close button */

.pricing-toast-close {
    width: 30px;
    height: 30px;
    min-height: 30px;

    display: grid;
    place-items: center;

    padding: 0 !important;

    color: #718078 !important;
    background: #eef4f0 !important;
    border: 0 !important;
    border-radius: 50%;

    box-shadow: none !important;

    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.pricing-toast-close:hover {
    color: #ffffff !important;
    background: #c53d3d !important;
    transform: rotate(90deg);
}

@keyframes pricingToastProgress {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}

/* Mobile */

@media (max-width: 650px) {
    .pricing-toast {
        top: 76px;
        right: 12px;

        width: calc(100% - 24px);
        grid-template-columns: 42px 1fr 28px;
        gap: 12px;

        padding: 16px;
        border-radius: 14px;
    }

    .pricing-toast-icon {
        width: 42px;
        height: 42px;
        border-width: 4px;
        border-radius: 12px;
    }

    .pricing-toast-content strong {
        font-size: 0.93rem;
    }

    .pricing-toast-content p {
        font-size: 0.79rem;
    }

    .pricing-toast-brand {
        font-size: 0.62rem;
    }
}
/* Registration service-area selector */
.registration-location-note{grid-column:1/-1;display:flex;align-items:center;gap:12px;margin:2px 0 18px;padding:13px 14px;background:#f0faf4;border:1px solid #cfe7da;border-radius:12px;color:#173f2f}
.registration-location-note>span{width:34px;height:34px;display:grid;place-items:center;flex-shrink:0;color:#fff;background:#167a55;border-radius:10px;font-weight:900}
.registration-location-note>div{display:flex;flex-direction:column;gap:3px}.registration-location-note strong{font-size:.82rem}.registration-location-note small{color:#657970;font-size:.71rem;line-height:1.35}
.registration-location-field{grid-column:1/-1}.registration-location-field select{width:100%;min-height:48px;color:#183328;background-color:#fff;border:1px solid #c9d8d0;border-radius:10px;cursor:pointer}
.registration-location-field select:focus{border-color:#167a55;box-shadow:0 0 0 4px rgba(22,122,85,.1);outline:0}
@media(max-width:650px){.registration-location-note{align-items:flex-start}.registration-location-field{grid-column:auto}}
.available-area-chips{display:flex;gap:7px;margin-top:7px;padding:2px 0 5px;overflow-x:auto;scrollbar-width:thin}
.available-area-chips button{flex:0 0 auto;min-height:auto;padding:6px 9px!important;color:#176b4a!important;background:#eef8f2!important;border:1px solid #d1e7da!important;border-radius:8px;box-shadow:none!important;font-size:.65rem;font-weight:700;white-space:nowrap}
.available-area-chips button:hover{color:#fff!important;background:#167a55!important;border-color:#167a55!important}

/* =====================================================
   PROFESSIONAL SITE FOOTER
===================================================== */

.site-footer {
    display: block;
    padding: 0;
    color: #d8e7df;
    background:
        radial-gradient(circle at 72% 15%, rgba(34, 148, 103, 0.14), transparent 32%),
        linear-gradient(135deg, #0c2119 0%, #102b21 100%);
    border-top: 3px solid #16815a;
}

.footer-main {
    width: min(1160px, calc(100% - 48px));
    display: grid;
    grid-template-columns: minmax(230px, 0.72fr) minmax(520px, 1.45fr);
    align-items: center;
    gap: 70px;
    margin: 0 auto;
    padding: 54px 0 42px;
}

.site-footer .footer-brand {
    max-width: 340px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 13px;
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.footer-logo:hover {
    color: #ffffff;
}

.footer-logo span {
    color: var(--lime);
}

.site-footer .footer-brand p {
    max-width: 310px;
    margin: 0 0 22px;
    color: #a9beb4;
    font-size: 0.88rem;
    line-height: 1.7;
}

.site-footer .contact-us-btn {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 10px 12px 10px 16px;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.055) !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    border-radius: 10px;
    box-shadow: none !important;
    font-size: 0.78rem;
}

.site-footer .contact-us-btn span:last-child {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    color: #17382c;
    background: var(--lime);
    border-radius: 7px;
    transition: transform 0.2s ease;
}

.site-footer .contact-us-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.46) !important;
    transform: translateY(-2px);
}

.site-footer .contact-us-btn:hover span:last-child {
    transform: translateX(2px);
}

.footer-stats-wrap {
    min-width: 0;
}

.footer-section-label {
    display: block;
    margin-bottom: 13px;
    color: #86a598;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.footer-platform-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.footer-stat-item {
    min-height: 104px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.footer-stat-item:hover {
    background: rgba(255, 255, 255, 0.075);
    border-color: rgba(207, 239, 84, 0.32);
    transform: translateY(-3px);
}

.footer-stat-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    color: #17382c;
    background: linear-gradient(135deg, #e3f768, #c9e950);
    border-radius: 11px;
    box-shadow: 0 7px 18px rgba(207, 239, 84, 0.13);
    font-size: 0.78rem;
    font-weight: 900;
}

.footer-stat-item > span:last-child {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-stat-item strong {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 850;
    line-height: 1;
}

.footer-stat-item small {
    color: #9eb2a8;
    font-size: 0.69rem;
    white-space: nowrap;
}

.footer-bottom {
    width: min(1160px, calc(100% - 48px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 auto;
    padding: 19px 0 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-bottom p,
.site-footer .footer-credit {
    margin: 0;
    color: #8fa79c;
    font-size: 0.73rem;
    line-height: 1.6;
    text-align: left;
}

.site-footer .footer-credit {
    margin-left: 0;
    text-align: right;
}

.site-footer .footer-credit strong {
    color: #dff36b;
    font-weight: 800;
}

.site-footer .footer-credit span {
    margin: 0 8px;
    color: #628273;
}

@media (max-width: 950px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .site-footer .footer-brand {
        max-width: 520px;
    }
}

@media (max-width: 650px) {
    .footer-main,
    .footer-bottom {
        width: min(100% - 32px, 1160px);
    }

    .footer-main {
        padding: 38px 0 30px;
    }

    .footer-platform-stats {
        grid-template-columns: 1fr;
    }

    .footer-stat-item {
        min-height: 82px;
        padding: 15px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
        padding: 17px 0 21px;
    }

    .site-footer .footer-credit {
        text-align: left;
    }
}

/* Final density controls — intentionally last in the stylesheet. */
.hero-trust-seal-wrap {
  position: absolute;
  right: clamp(24px, 6vw, 100px);
  top: 50%;
  z-index: 3;
  width: clamp(210px, 26vw, 350px);
  transform: translateY(-50%);
  container-type: inline-size;
}

.html-trust-seal {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  color: #fff;
  background:
    radial-gradient(circle at 34% 24%, rgba(255,255,255,.08), transparent 34%),
    linear-gradient(145deg, #11936a 0%, #086247 62%, #064735 100%);
  border: clamp(6px, 2.2cqw, 9px) solid #07543e;
  border-radius: 50%;
  box-shadow:
    0 24px 45px rgba(4, 55, 40, .25),
    0 8px 0 rgba(3, 50, 36, .12),
    inset 0 0 0 clamp(2px, .9cqw, 4px) #dff36b,
    inset 0 0 0 clamp(13px, 5cqw, 19px) rgba(255,255,255,.035);
  isolation: isolate;
}

.html-trust-seal::before {
  content: "";
  position: absolute;
  inset: 17.5%;
  z-index: -1;
  background: linear-gradient(155deg, #fff 0%, #f5faf7 100%);
  border: clamp(2px, .8cqw, 4px) solid #d4e6de;
  border-radius: 50%;
}

.seal-ring-copy {
  position: absolute;
  z-index: 2;
  color: #fff;
  font-size: clamp(.48rem, 3.1cqw, .74rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: clamp(.08rem, 1cqw, .23rem);
  text-shadow: 0 1px 2px rgba(0,0,0,.18);
  white-space: nowrap;
}

.seal-ring-copy--top,
.seal-ring-copy--bottom {
  left: 50%;
  transform: translateX(-50%);
}

.seal-ring-copy--top { top: 8.2%; }
.seal-ring-copy--bottom { bottom: 8.2%; }
.seal-ring-copy--left,
.seal-ring-copy--right {
    top: 50%;
    width: max-content;
    max-width: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.46rem, 2.7cqw, 0.68rem);
    letter-spacing: clamp(0.07rem, 0.8cqw, 0.18rem);
    line-height: 1;
    white-space: nowrap;
    transform-origin: center;
}

.seal-ring-copy--left {
    left: 6.5%;
    transform: translate(-50%, -50%) rotate(-90deg);
}

.seal-ring-copy--right {
    right: 6.5%;
    transform: translate(50%, -50%) rotate(90deg);
}

/* Keep the four labels above the inner circle */

.seal-ring-copy {
    z-index: 5;
    overflow: visible;
}


@media (max-width: 650px) {
    .seal-ring-copy--left {
        left: 7%;
    }

    .seal-ring-copy--right {
        right: 7%;
    }

    .seal-ring-copy--left,
    .seal-ring-copy--right {
        font-size: clamp(0.42rem, 2.8cqw, 0.58rem);
        letter-spacing: clamp(0.06rem, 0.75cqw, 0.14rem);
    }
}

.seal-ring-dot {
  position: absolute;
  z-index: 2;
  width: clamp(5px, 2cqw, 8px);
  aspect-ratio: 1;
  background: #dff36b;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(223,243,107,.12);
}

.seal-ring-dot--one { top: 16%; left: 18%; }
.seal-ring-dot--two { top: 16%; right: 18%; }
.seal-ring-dot--three { bottom: 16%; left: 18%; }
.seal-ring-dot--four { right: 18%; bottom: 16%; }

.seal-center {
  position: absolute;
  inset: 23%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #12372d;
  text-align: center;
}

.seal-location-mark {
  position: relative;
  width: 32%;
  aspect-ratio: 1;
  margin-bottom: 8%;
  background: linear-gradient(145deg, #11936a, #076048);
  border-radius: 50% 50% 50% 8%;
  transform: rotate(-45deg);
  box-shadow: 0 8px 18px rgba(7, 96, 72, .2);
}

.seal-location-content {
  position: absolute;
  inset: 0;
  transform: rotate(45deg);
}

.seal-home-roof {
  position: absolute;
  top: 20%;
  left: 24%;
  width: 52%;
  height: 28%;
  border-top: clamp(3px, 1.5cqw, 6px) solid #dff36b;
  border-left: clamp(3px, 1.5cqw, 6px) solid #dff36b;
  border-radius: 2px;
  transform: rotate(45deg);
}

.seal-person-head {
  position: absolute;
  top: 43%;
  left: 50%;
  width: 19%;
  aspect-ratio: 1;
  background: #fff;
  border-radius: 50%;
  transform: translateX(-50%);
}

.seal-person-body {
  position: absolute;
  left: 50%;
  bottom: 17%;
  width: 38%;
  height: 25%;
  background: #fff;
  border-radius: 50% 50% 12% 12%;
  transform: translateX(-50%);
}

.seal-brand {
  color: #12372d;
  font-size: clamp(1rem, 10cqw, 2.2rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: clamp(-.08rem, -.45cqw, -.02rem);
}

.seal-brand span { color: #07805b; }

.seal-divider {
  width: 58%;
  height: clamp(2px, .8cqw, 4px);
  margin: 7% 0 5%;
  background: #cee1d8;
  border-radius: 999px;
}

.seal-trust-line {
  color: #087a58;
  font-size: clamp(.37rem, 2.3cqw, .62rem);
  font-weight: 900;
  letter-spacing: clamp(.05rem, .7cqw, .15rem);
  white-space: nowrap;
}

.seal-center small {
  margin-top: 4%;
  color: #75867f;
  font-size: clamp(.3rem, 1.65cqw, .46rem);
  font-weight: 750;
  letter-spacing: clamp(.02rem, .32cqw, .08rem);
  white-space: nowrap;
}
html { font-size: 15px; }
body { overflow-x: hidden; }
h1 { font-size: clamp(2rem, 4vw, 3.65rem); line-height: 1.08; letter-spacing: -.045em; }
h2 { font-size: clamp(1.35rem, 2.35vw, 2rem); line-height: 1.18; }
.section { padding-top: 60px; padding-bottom: 60px; }
.pagehead { padding-top: 46px; padding-bottom: 32px; }
.pagehead h1 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.hero { min-height: 520px; padding-top: 64px; padding-bottom: 64px; }
.hero > div > p { font-size: 1rem; }
.panel, .hero-card { padding: 24px; }
.auth { min-height: calc(100vh - 76px); padding: 38px 18px; }
.auth .panel { width: min(620px, 100%); }
.auth-card h1 { font-size: clamp(1.8rem, 4vw, 2.65rem); }
.form-control, input, select, textarea { min-height: 44px; padding: 10px 12px; font-size: .88rem; }
.category-grid a { min-width: 0; padding: 20px; }
.worker-card { padding: 20px; }
.user-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

@media (max-width: 950px) {
  .hero-trust-seal-wrap { right: 18px; width: 210px; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .hero-trust-seal-wrap { position: relative; inset: auto; width: min(220px, 68vw); margin: 26px auto 0; transform: none; }
  html { font-size: 14px; }
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.45rem; }
  .section, .pagehead { padding: 38px 18px; }
  .hero { min-height: auto; padding: 45px 18px; }
  .hero h1 { font-size: 2.45rem; }
  .category-grid, .cards { grid-template-columns: 1fr; }
  .registration-page { padding: 18px 12px; align-items: start; }
  .registration-card { padding: 20px 16px; }
  .registration-page .form-grid.two-col, .registration-page .role-picker { grid-template-columns: 1fr; }
  .professional-detail .facts { grid-template-columns: 1fr 1fr; }
}

/* Password recovery action links share the primary button appearance. */
.auth .reset-action-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: 8px;
  padding: 11px 18px;
  color: #fff;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(135deg, #086447, #0b7956);
  border-radius: 11px;
  box-shadow: 0 10px 22px rgba(8, 100, 71, .2);
}

.auth .reset-action-link:hover {
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #043f30, #086447);
  transform: translateY(-1px);
}
