/* ==========================================================
   iSerb — App Design System
   Priority: simple, professional, and easy to use for people
   who are not tech-savvy (senior citizens, farmers). That means:
   large text, large tap targets, high contrast, icon + label
   together (never icon-only), minimal steps per screen.
   ========================================================== */

:root{
  --navy-deep:#001330;
  --navy:#00204b;
  --teal:#056485;
  --cyan:#12a5c9;
  --cyan-light:#5fd4ec;
  --paper:#f4f8fa;
  --paper-2:#e9f1f4;
  --ink:#0b1b2b;
  --steel:#4a5d70;
  --line:rgba(11,27,43,0.12);
  --success:#1a8a4a;
  --success-bg:#e6f6ec;
  --warn:#b5760a;
  --warn-bg:#fdf1de;
  --danger:#c0392b;
  --danger-bg:#fdecea;

  --radius:16px;
  --radius-sm:10px;
  --shadow:0 10px 26px -14px rgba(0,32,75,0.28);
  --shadow-lg:0 18px 40px -18px rgba(0,32,75,0.35);

  --ff-display:'Sora',sans-serif;
  --ff-body:'Inter',sans-serif;

  /* Base sizing is intentionally larger than typical web defaults. */
  --fs-base:17px;
  --tap-min:52px;
}

*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body{
  margin:0;
  font-family:var(--ff-body);
  font-size:var(--fs-base);
  line-height:1.5;
  color:var(--ink);
  background:var(--paper-2);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
svg{width:20px;height:20px;flex-shrink:0;display:inline-block;vertical-align:middle;}
a{color:inherit;text-decoration:none;}
button{font-family:inherit;}
ul{margin:0;padding:0;list-style:none;}
h1,h2,h3,h4{font-family:var(--ff-display);color:var(--navy);margin:0;line-height:1.2;}

:focus-visible{outline:3px solid var(--cyan);outline-offset:2px;border-radius:6px;}

/* App shell: mobile-first, centered on wider screens like a phone frame */
.app{
  max-width:520px;
  margin:0 auto;
  min-height:100vh;
  background:var(--paper);
  display:flex;
  flex-direction:column;
  position:relative;
}
.app-body{
  flex:1;
  padding:20px 20px 100px;
}
.app-body.no-bottom-pad{padding-bottom:20px;}

/* ---------------- Top bar ---------------- */
.topbar{
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 20px;
  background:#fff;
  border-bottom:1px solid var(--line);
  position:sticky;top:0;z-index:20;
}
.topbar-logo{display:flex;align-items:center;gap:10px;}
.topbar-logo img{height:32px;width:auto;}
.topbar-back{
  display:flex;align-items:center;justify-content:center;
  width:var(--tap-min);height:var(--tap-min);
  margin-left:-14px;
  color:var(--navy);
}
.topbar-back svg{width:24px;height:24px;}
.topbar-title{font-family:var(--ff-display);font-size:20px;font-weight:700;color:var(--navy);}

/* ---------------- Buttons ---------------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  width:100%;
  min-height:var(--tap-min);
  padding:14px 22px;
  border-radius:999px;
  border:1px solid transparent;
  font-family:var(--ff-body);
  font-size:17px;
  font-weight:700;
  text-align:center;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn svg{width:20px;height:20px;flex-shrink:0;}
.btn-primary{
  background:linear-gradient(135deg,var(--cyan),var(--teal));
  color:#fff;
  box-shadow:0 10px 22px -10px rgba(18,165,201,0.55);
}
.btn-primary:hover{transform:translateY(-1px);}
.btn-primary:active{transform:translateY(0);}
.btn-secondary{
  background:#fff;color:var(--navy);
  border-color:var(--line);
}
.btn-secondary:hover{border-color:var(--navy);}
.btn-outline-light{
  background:transparent;color:#fff;border-color:rgba(255,255,255,0.55);
}
.btn-ghost{
  background:transparent;color:var(--teal);
  min-height:auto;padding:10px 6px;font-weight:700;
  width:auto;
}
.btn-block-group{display:flex;flex-direction:column;gap:12px;}
.btn:disabled{opacity:0.55;cursor:not-allowed;}

/* ---------------- Form elements ---------------- */
.field{margin-bottom:20px;}
.field label{
  display:block;
  font-weight:700;
  font-size:15.5px;
  color:var(--navy);
  margin-bottom:8px;
}
.field .hint{font-size:13.5px;color:var(--steel);margin-top:6px;}
.field .req{color:var(--danger);}
.input,
.select,
.textarea{
  width:100%;
  min-height:var(--tap-min);
  padding:13px 16px;
  font-size:16.5px;
  font-family:var(--ff-body);
  color:var(--ink);
  background:#fff;
  border:1.5px solid var(--line);
  border-radius:var(--radius-sm);
  transition:border-color .15s ease, box-shadow .15s ease;
}
.textarea{min-height:110px;resize:vertical;line-height:1.5;padding-top:13px;}
.input:focus,.select:focus,.textarea:focus{
  border-color:var(--cyan);
  box-shadow:0 0 0 4px rgba(18,165,201,0.15);
  outline:none;
}
.input.has-error,.select.has-error{border-color:var(--danger);}
.input[readonly]{background:var(--paper-2);color:var(--steel);cursor:not-allowed;}
.error-text{color:var(--danger);font-size:14px;margin-top:6px;font-weight:600;}
.select-wrap{position:relative;}
.select{appearance:none;-webkit-appearance:none;padding-right:44px;}
.select-wrap::after{
  content:"";position:absolute;right:16px;top:50%;
  width:11px;height:11px;
  border-right:2.5px solid var(--steel);border-bottom:2.5px solid var(--steel);
  transform:translateY(-65%) rotate(45deg);
  pointer-events:none;
}
.input-with-icon{position:relative;}
.input-with-icon .input{padding-left:46px;}
.input-with-icon svg{
  position:absolute;left:15px;top:50%;transform:translateY(-50%);
  width:20px;height:20px;color:var(--steel);
}
.password-toggle{
  position:absolute;right:6px;top:50%;transform:translateY(-50%);
  width:40px;height:40px;
  display:flex;align-items:center;justify-content:center;
  color:var(--steel);
  background:transparent;
  border:none;
  outline:none;
  padding:0;
  margin:0;
  line-height:0;
  cursor:pointer;
  border-radius:8px;
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
  -webkit-tap-highlight-color:transparent;
}
.password-toggle:hover{color:var(--teal);}
.password-toggle svg{
  display:block;
  width:20px;
  height:20px;
  flex-shrink:0;
}
.checkbox-row{
  display:flex;align-items:flex-start;gap:12px;
  padding:4px 0;
}
.checkbox-row input[type="checkbox"]{
  width:24px;height:24px;flex-shrink:0;accent-color:var(--cyan);margin-top:1px;
}
.checkbox-row label{font-size:15px;color:var(--ink);font-weight:500;line-height:1.5;}
.checkbox-row a{color:var(--teal);font-weight:700;text-decoration:underline;}

/* ---------------- Cards ---------------- */
.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow);
}

/* ---------------- Role select cards (registration) ---------------- */
.role-grid{display:flex;flex-direction:column;gap:16px;}
.role-card{
  display:flex;align-items:center;gap:16px;
  padding:20px;
  background:#fff;
  border:2px solid var(--line);
  border-radius:var(--radius);
  cursor:pointer;
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  text-align:left;
  width:100%;
}
.role-card:hover{border-color:var(--cyan);box-shadow:var(--shadow-lg);transform:translateY(-2px);}
.role-card .role-icon{
  width:58px;height:58px;border-radius:14px;flex-shrink:0;
  background:linear-gradient(135deg,rgba(5,100,133,0.12),rgba(18,165,201,0.16));
  display:flex;align-items:center;justify-content:center;
}
.role-card .role-icon svg{width:30px;height:30px;color:var(--teal);}
.role-card h3{font-size:18.5px;margin-bottom:4px;}
.role-card p{font-size:14.5px;color:var(--steel);margin:0;line-height:1.45;}
.role-card .role-arrow{margin-left:auto;color:var(--steel);flex-shrink:0;}
.role-card .role-arrow svg{width:22px;height:22px;}

/* ---------------- Auth screens ---------------- */
.auth-hero{
  text-align:center;
  padding:8px 0 28px;
}
.auth-hero img{height:52px;margin:0 auto 18px;}
.auth-hero h1{font-size:24px;margin-bottom:8px;}
.auth-hero p{color:var(--steel);font-size:15.5px;margin:0;}
.auth-footer{
  text-align:center;
  margin-top:26px;
  font-size:15px;
  color:var(--steel);
}
.auth-footer a{color:var(--teal);font-weight:700;}

.progress-steps{
  display:flex;align-items:center;gap:6px;
  margin-bottom:26px;
}
.progress-steps .seg{
  flex:1;height:6px;border-radius:999px;background:var(--line);
}
.progress-steps .seg.done{background:linear-gradient(90deg,var(--teal),var(--cyan));}

/* ---------------- Alerts / flash ---------------- */
.alert{
  display:flex;gap:12px;align-items:flex-start;
  padding:14px 16px;border-radius:var(--radius-sm);
  font-size:15px;font-weight:600;margin-bottom:16px;
  border:1px solid transparent;
}
.alert svg{width:20px;height:20px;flex-shrink:0;margin-top:1px;}
.alert-error{background:var(--danger-bg);color:var(--danger);border-color:rgba(192,57,43,0.25);}
.alert-success{background:var(--success-bg);color:var(--success);border-color:rgba(26,138,74,0.25);}
.alert-warn{background:var(--warn-bg);color:var(--warn);border-color:rgba(181,118,10,0.25);}

/* ---------------- Home / dashboard: search ---------------- */
.home-search{
  display:flex;gap:10px;margin-bottom:20px;
}
.search-box{
  flex:1;
  display:flex;align-items:center;gap:10px;
  background:#fff;border:1.5px solid var(--line);
  border-radius:999px;padding:0 16px;
  min-height:var(--tap-min);
}
.search-box svg{width:20px;height:20px;color:var(--steel);flex-shrink:0;}
.search-box input{
  border:none;outline:none;background:transparent;
  font-size:16px;width:100%;font-family:var(--ff-body);color:var(--ink);
  min-height:var(--tap-min);
}
.search-box input::placeholder{color:#9aacbb;}

/* ---------------- Category / feature card ---------------- */
.profile-info-card{margin-bottom:14px;}
.profile-info-card-title{
  display:flex;align-items:center;gap:8px;
  font-family:var(--ff-display);
  font-size:15.5px;font-weight:700;color:var(--teal);
  padding-bottom:10px;margin-bottom:14px;
  border-bottom:1px solid var(--line);
}
.profile-info-card-title svg{width:18px;height:18px;flex-shrink:0;}
.section-title{
  display:flex;align-items:center;justify-content:space-between;
  margin:26px 0 14px;
}
.section-title h2{font-size:19px;}
.section-title a{font-size:14.5px;font-weight:700;color:var(--teal);}

.category-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:22px;box-shadow:var(--shadow);
}
.category-card-head{display:flex;gap:14px;align-items:flex-start;margin-bottom:18px;}
.category-card-head .icon{
  width:52px;height:52px;border-radius:14px;flex-shrink:0;
  background:linear-gradient(135deg,rgba(5,100,133,0.12),rgba(18,165,201,0.16));
  display:flex;align-items:center;justify-content:center;
}
.category-card-head .icon svg{width:28px;height:28px;color:var(--teal);}
.category-card-head h3{font-size:19px;margin-bottom:4px;}
.category-card-head p{font-size:14px;color:var(--steel);margin:0;}

.subcat-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px;
}
.subcat-item{
  display:flex;flex-direction:column;align-items:center;gap:8px;
  padding:16px 6px;
  background:var(--paper-2);
  border-radius:var(--radius-sm);
  text-align:center;
  border:1.5px solid transparent;
  transition:border-color .15s ease, background .15s ease;
  min-height:var(--tap-min);
  justify-content:center;
}
.subcat-item:hover{border-color:var(--cyan);background:#fff;}
.subcat-item .subcat-icon{
  width:34px;height:34px;
  display:flex;align-items:center;justify-content:center;
}
.subcat-item .subcat-icon svg{width:24px;height:24px;color:var(--teal);}
.subcat-item span{font-size:13.5px;font-weight:700;color:var(--navy);line-height:1.25;}

/* ---------------- Automotive Services directory (grouped) ---------------- */
.directory-group{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:20px;box-shadow:var(--shadow);margin-bottom:16px;
}
.directory-group-head{display:flex;align-items:center;gap:10px;margin-bottom:16px;}
.directory-group-head .icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.directory-group-head .icon svg{width:23px;height:23px;}
.directory-group-head h3{font-size:16.5px;margin:0;}
.directory-group-head.tone-red .icon svg,.directory-group-head.tone-red h3{color:#DC2626;}
.directory-group-head.tone-blue .icon svg,.directory-group-head.tone-blue h3{color:#2563EB;}
.directory-group-head.tone-green .icon svg,.directory-group-head.tone-green h3{color:#16A34A;}
.directory-group-head.tone-purple .icon svg,.directory-group-head.tone-purple h3{color:#7C3AED;}
.directory-group-head.tone-orange .icon svg,.directory-group-head.tone-orange h3{color:#EA580C;}
.directory-group-head.tone-brown .icon svg,.directory-group-head.tone-brown h3{color:#92400E;}
.directory-group .subcat-grid{margin-bottom:0;}

/* ---------------- Quick actions grid ---------------- */
.quick-grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-bottom:8px;
}
.quick-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:18px;box-shadow:var(--shadow);
  display:flex;flex-direction:column;gap:10px;
  min-height:120px;
}
.quick-card .icon{
  width:44px;height:44px;border-radius:12px;
  background:linear-gradient(135deg,rgba(5,100,133,0.12),rgba(18,165,201,0.16));
  display:flex;align-items:center;justify-content:center;
}
.quick-card .icon svg{width:24px;height:24px;color:var(--teal);}
.quick-card strong{font-size:15.5px;color:var(--navy);}
.quick-card span{font-size:13px;color:var(--steel);}

/* ---------------- Stats row (provider dashboard) ---------------- */
.stats-row{
  display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:20px;
}
.stat-box{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-sm);
  padding:16px 8px;text-align:center;box-shadow:var(--shadow);
}
.stat-box strong{display:block;font-family:var(--ff-display);font-size:22px;color:var(--navy);}
.stat-box span{font-size:12px;color:var(--steel);font-weight:600;}

/* ---------------- Banner (welcome / verification) ---------------- */
.banner{
  border-radius:var(--radius);
  padding:22px;
  color:#fff;
  background:radial-gradient(ellipse 120% 140% at 20% -20%, #0a4970 0%, var(--navy) 55%, var(--navy-deep) 100%);
  margin-bottom:22px;
  position:relative;
  overflow:hidden;
}
.banner h2{color:#fff;font-size:20px;margin-bottom:6px;}
.banner p{color:#c3d7e6;font-size:14.5px;margin:0;line-height:1.5;}
.banner .badge{
  display:inline-flex;align-items:center;gap:6px;
  background:rgba(255,255,255,0.14);
  border:1px solid rgba(255,255,255,0.25);
  padding:6px 12px;border-radius:999px;
  font-size:12.5px;font-weight:700;color:var(--cyan-light);
  margin-bottom:12px;
}
.banner .badge svg{width:14px;height:14px;}

/* ---------------- Bottom navigation ---------------- */
.bottom-nav{
  position:fixed;left:50%;transform:translateX(-50%);bottom:0;
  width:100%;max-width:520px;
  background:#fff;
  border-top:1px solid var(--line);
  display:flex;
  padding:6px 4px calc(6px + env(safe-area-inset-bottom));
  z-index:30;
  box-shadow:0 -8px 24px -18px rgba(0,32,75,0.35);
}
.bottom-nav a{
  flex:1;
  display:flex;flex-direction:column;align-items:center;gap:4px;
  padding:8px 2px;
  color:var(--steel);
  min-height:var(--tap-min);
  border-radius:12px;
}
.bottom-nav a svg{width:23px;height:23px;}
.bottom-nav a span{font-size:11.5px;font-weight:700;}
.bottom-nav a.active{color:var(--teal);}
.bottom-nav a.active svg{color:var(--teal);}

/* ---------------- Empty / placeholder states ---------------- */
.empty-state{
  text-align:center;
  padding:60px 24px;
  color:var(--steel);
}
.empty-state .icon{
  width:72px;height:72px;border-radius:50%;
  background:var(--paper-2);
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 18px;
}
.empty-state .icon svg{width:34px;height:34px;color:var(--teal);}
.empty-state h3{font-size:18px;color:var(--navy);margin-bottom:8px;}
.empty-state p{font-size:14.5px;margin:0 0 20px;}

/* ---------------- Utility ---------------- */
.mt-0{margin-top:0;}
.text-center{text-align:center;}
.stack-sm > * + *{margin-top:10px;}
.stack-md > * + *{margin-top:16px;}

@media (min-width:521px){
  .app{box-shadow:0 0 60px rgba(0,32,75,0.12);}
}

/* ============================================================
   Shop listing builder (provider/edit-shop.php)
   ============================================================ */

.form-section-head{
  display:flex;align-items:center;gap:12px;
  margin:34px 0 18px;
}
.form-section-head:first-of-type{margin-top:6px;}
.form-section-head .num{
  width:30px;height:30px;border-radius:50%;flex-shrink:0;
  border:2px solid var(--cyan);color:var(--teal);
  display:flex;align-items:center;justify-content:center;
  font-weight:800;font-size:14px;font-family:var(--ff-display);
  background:#fff;
}
.form-section-head h3{font-size:18.5px;}
.form-section-divider{border:none;border-top:1px solid var(--line);margin:34px 0 0;}

.two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
@media (max-width:380px){.two-col{grid-template-columns:1fr;}}

/* --- Photo uploads --- */
.photo-upload-box{
  border:2px dashed var(--line);border-radius:var(--radius);
  background:#fff;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  color:var(--steel);cursor:pointer;text-align:center;
  padding:24px;position:relative;overflow:hidden;
  min-height:150px;
}
.photo-upload-box:hover{border-color:var(--cyan);}
.photo-upload-box svg{width:26px;height:26px;color:var(--steel);}
.photo-upload-box .upload-label{font-size:14.5px;font-weight:700;}
.photo-upload-box.has-image{border-style:solid;border-color:var(--line);padding:0;}
.photo-upload-box.profile-shape{
  width:140px;height:140px;border-radius:50%;margin:0 auto;min-height:0;
}
.photo-upload-box img.preview{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
}
.photo-upload-box input[type="file"]{
  position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;
}
.photo-upload-box .change-badge{
  position:absolute;bottom:8px;right:8px;
  background:rgba(0,19,48,0.75);color:#fff;
  border-radius:999px;padding:5px 12px;font-size:12px;font-weight:700;
  display:flex;align-items:center;gap:5px;pointer-events:none;
}
.photo-upload-box .change-badge svg{width:13px;height:13px;color:#fff;}

.photo-add-grid{display:flex;flex-wrap:wrap;gap:10px;}
.photo-slider{
  display:flex;flex-wrap:nowrap;gap:10px;overflow-x:auto;
  -webkit-overflow-scrolling:touch;scrollbar-width:none;
}
.photo-slider::-webkit-scrollbar{display:none;}
.photo-slider .photo-thumb{width:104px;height:104px;}
.photo-add-box{
  width:88px;height:88px;border:2px dashed var(--line);border-radius:var(--radius-sm);
  display:flex;align-items:center;justify-content:center;
  color:var(--steel);cursor:pointer;background:#fff;position:relative;overflow:hidden;flex-shrink:0;
}
.photo-add-box svg{width:24px;height:24px;}
.photo-add-box img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.photo-add-box input[type="file"]{position:absolute;inset:0;opacity:0;cursor:pointer;}
.photo-thumb{
  width:88px;height:88px;border-radius:var(--radius-sm);overflow:hidden;position:relative;flex-shrink:0;
  border:1px solid var(--line);
}
.photo-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.photo-thumb .remove-btn{
  position:absolute;top:4px;right:4px;width:22px;height:22px;border-radius:50%;
  background:rgba(0,0,0,0.65);color:#fff;border:none;
  display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;
}
.photo-thumb .remove-btn svg{width:12px;height:12px;}

/* --- Service type cards --- */
.service-type-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;}
.service-type-card{
  position:relative;
  border:2px solid var(--line);border-radius:var(--radius-sm);
  padding:16px 6px;display:flex;flex-direction:column;align-items:center;gap:8px;
  text-align:center;cursor:pointer;background:#fff;min-height:var(--tap-min);
  transition:border-color .15s ease, background .15s ease;
}
.service-type-card input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer;}
.service-type-card svg{width:22px;height:22px;color:var(--teal);}
.service-type-card span{font-size:12.5px;font-weight:700;color:var(--navy);line-height:1.3;}
.service-type-card.is-checked{border-color:var(--cyan);background:rgba(18,165,201,0.07);box-shadow:0 0 0 1px var(--cyan);}

/* --- Checkbox / amenity cards --- */
.check-card-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.check-card{
  position:relative;
  border:2px solid var(--line);border-radius:var(--radius-sm);
  padding:13px 14px;display:flex;align-items:center;gap:10px;
  background:#fff;cursor:pointer;min-height:var(--tap-min);
  transition:border-color .15s ease, background .15s ease;
  min-width:0;
}
.check-card input{width:20px;height:20px;flex-shrink:0;accent-color:var(--cyan);margin:0;}
.check-card svg{width:19px;height:19px;color:var(--teal);flex-shrink:0;}
.check-card span{font-size:13.5px;font-weight:700;color:var(--navy);line-height:1.3;flex:1;min-width:0;overflow-wrap:break-word;word-break:break-word;}
.check-card.is-checked{border-color:var(--cyan);background:rgba(18,165,201,0.07);}

@media (max-width:360px){
  .check-card-grid{grid-template-columns:1fr;}
}

/* --- Day pills --- */
.day-pills{display:flex;flex-wrap:wrap;gap:8px;}
.day-pill{
  position:relative;
  border:2px solid var(--line);border-radius:999px;
  padding:10px 18px;font-size:14px;font-weight:700;color:var(--navy);
  cursor:pointer;background:#fff;
}
.day-pill input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer;}
.day-pill.is-checked{border-color:var(--cyan);background:var(--cyan);color:#fff;}

/* --- Form action bar --- */
.form-actions{display:flex;flex-direction:column;gap:12px;margin-top:34px;}
.link-btn-center{
  display:block;text-align:center;color:var(--teal);font-weight:700;font-size:15px;padding:6px;
}

/* ============================================================
   Client-facing provider search & shop profile
   ============================================================ */

.provider-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:12px;
}
.provider-card{
  display:block;
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;box-shadow:var(--shadow);
}
.provider-card-cover{
  position:relative;width:100%;aspect-ratio:4/3;background:var(--paper-2);
}
.provider-card-cover img{width:100%;height:100%;object-fit:cover;display:block;}
.provider-card-cover-fallback{
  width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:var(--steel);
}
.provider-card-cover-fallback svg{width:30px;height:30px;}
.provider-card-status{
  position:absolute;top:8px;left:8px;
  font-size:10.5px;font-weight:700;padding:4px 9px;border-radius:999px;
  display:inline-flex;align-items:center;gap:4px;
}
.provider-card-status svg{width:11px;height:11px;}
.provider-card-status.is-open{background:rgba(26,138,74,0.92);color:#fff;}
.provider-card-status.is-closed{background:rgba(74,93,112,0.85);color:#fff;}
.provider-card-body{padding:12px;}
.provider-card-head{display:flex;align-items:center;gap:8px;margin-bottom:8px;}
.provider-card-avatar{
  width:34px;height:34px;border-radius:50%;object-fit:cover;flex-shrink:0;
  border:2px solid #fff;box-shadow:var(--shadow);
}
.provider-card-avatar-fallback{
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,var(--teal),var(--cyan));color:#fff;
  font-family:var(--ff-display);font-weight:700;font-size:13px;
}
.provider-card-head strong{
  display:block;font-size:13.5px;color:var(--navy);line-height:1.25;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.provider-card-badge{
  display:inline-block;margin-top:2px;
  font-size:10px;font-weight:700;color:var(--teal);
  background:rgba(18,165,201,0.1);padding:2px 8px;border-radius:999px;
}
.provider-card-meta{
  font-size:11.5px;color:var(--steel);margin:0 0 4px;line-height:1.4;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.provider-card-marquee{
  overflow:hidden;white-space:nowrap;margin:0 0 6px;
  -webkit-mask-image:linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image:linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.provider-card-marquee span{
  display:inline-block;
  font-size:10.5px;color:var(--steel);
  animation:card-marquee 9s linear infinite;
  padding-right:24px;
}
.provider-card-marquee svg{width:10px;height:10px;color:var(--steel);vertical-align:-1px;flex-shrink:0;}
@keyframes card-marquee{
  0%{transform:translateX(0);}
  100%{transform:translateX(-50%);}
}
@media (prefers-reduced-motion: reduce){
  .provider-card-marquee span{animation:none;}
  .provider-card-marquee{overflow-x:auto;}
}
.provider-card-price{
  font-size:12.5px;font-weight:800;color:var(--navy);margin:0 0 6px;
}
.provider-card-price-lg{
  font-size:18px;font-weight:800;color:var(--teal);margin:0 0 6px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.provider-card-stats{display:flex;gap:10px;flex-wrap:wrap;}
.provider-card-stats span{
  display:inline-flex;align-items:center;gap:3px;font-size:11.5px;font-weight:700;color:var(--navy);
}
.provider-card-stats svg{width:13px;height:13px;color:var(--cyan);}
.provider-card-distance{
  display:inline-flex;align-items:center;gap:3px;
  font-size:11.5px;font-weight:700;color:var(--teal);margin:0;
}
.provider-card-distance svg{width:12px;height:12px;color:var(--teal);}

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

/* Fixed action bar on the shop detail page */
.shop-action-bar{
  position:fixed;left:50%;transform:translateX(-50%);bottom:0;
  width:100%;max-width:520px;
  background:#fff;border-top:1px solid var(--line);
  padding:10px 20px calc(12px + env(safe-area-inset-bottom));
  display:flex;flex-direction:column;gap:8px;
  z-index:30;
  box-shadow:0 -8px 24px -18px rgba(0,32,75,0.35);
}
.shop-action-bar-buttons{display:flex;gap:10px;}
.shop-action-bar .btn{font-size:14px;padding:12px 10px;gap:6px;}
.shop-action-bar .btn svg{width:17px;height:17px;}

/* ============================================================
   Loading overlay (form submission with upload progress)
   ============================================================ */
.loading-overlay{
  position:fixed;inset:0;z-index:200;
  background:rgba(0,19,48,0.72);
  display:flex;align-items:center;justify-content:center;
  padding:20px;
  opacity:0;visibility:hidden;
  transition:opacity .2s ease;
}
.loading-overlay.is-active{opacity:1;visibility:visible;}
.loading-card{
  background:#fff;border-radius:var(--radius);
  padding:32px 28px;width:100%;max-width:280px;text-align:center;
  box-shadow:var(--shadow-lg);
}
.loading-spinner{
  width:44px;height:44px;margin:0 auto 18px;
  border:4px solid var(--paper-2);border-top-color:var(--cyan);
  border-radius:50%;
  animation:loading-spin .8s linear infinite;
}
@keyframes loading-spin{to{transform:rotate(360deg);}}
.loading-status{font-size:15px;font-weight:700;color:var(--navy);margin-bottom:16px;min-height:20px;}
.loading-progress-track{
  width:100%;height:9px;border-radius:999px;background:var(--paper-2);overflow:hidden;margin-bottom:8px;
}
.loading-progress-bar{
  height:100%;width:0%;border-radius:999px;
  background:linear-gradient(90deg,var(--teal),var(--cyan));
  transition:width .2s ease;
}
.loading-progress-pct{font-size:13px;color:var(--steel);font-weight:700;}
.loading-hint{font-size:12.5px;color:var(--steel);margin-top:14px;line-height:1.5;}

/* ============================================================
   Chat / messaging
   ============================================================ */

.nav-badge{
  position:absolute;top:2px;right:calc(50% - 20px);
  min-width:17px;height:17px;padding:0 4px;
  background:var(--danger);color:#fff;
  border-radius:999px;
  font-size:10px;font-weight:800;
  display:flex;align-items:center;justify-content:center;
  line-height:1;
}

/* --- Conversation list (inbox) --- */
.chat-list-item{
  display:flex;align-items:center;gap:12px;
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:14px;position:relative;
}
.chat-list-avatar{
  width:48px;height:48px;border-radius:50%;object-fit:cover;flex-shrink:0;
}
.chat-list-avatar-fallback{
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,var(--teal),var(--cyan));color:#fff;
  font-family:var(--ff-display);font-weight:700;font-size:17px;
}
.chat-list-body{flex:1;min-width:0;}
.chat-list-top{display:flex;justify-content:space-between;align-items:baseline;gap:8px;}
.chat-list-top strong{font-size:15.5px;color:var(--navy);}
.chat-list-time{font-size:11.5px;color:var(--steel);flex-shrink:0;}
.chat-list-body p{
  margin:2px 0 0;font-size:13.5px;color:var(--steel);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.chat-unread-badge{
  min-width:22px;height:22px;padding:0 6px;flex-shrink:0;
  background:var(--cyan);color:#fff;border-radius:999px;
  font-size:12px;font-weight:800;
  display:flex;align-items:center;justify-content:center;
}

/* --- Message thread --- */
.chat-thread{
  display:flex;flex-direction:column;gap:10px;
  /* Enough clearance so the newest bubble never sits behind the
     fixed .chat-input-bar below it (bar ≈ 66px tall + safe area). */
  padding-bottom:calc(92px + env(safe-area-inset-bottom));
}
.chat-bubble-row{display:flex;justify-content:flex-start;}
.chat-bubble-row.is-mine{justify-content:flex-end;}
.chat-bubble{
  max-width:78%;
  background:#fff;border:1px solid var(--line);
  border-radius:16px 16px 16px 4px;
  padding:10px 14px;
  font-size:14.5px;color:var(--ink);line-height:1.5;
}
.chat-bubble-row.is-mine .chat-bubble{
  background:linear-gradient(135deg,var(--teal),var(--cyan));
  color:#fff;border-color:transparent;
  border-radius:16px 16px 4px 16px;
}
.chat-bubble-time{
  display:block;font-size:11px;margin-top:5px;opacity:0.7;
}

.chat-input-bar{
  position:fixed;left:50%;transform:translateX(-50%);bottom:0;
  width:100%;max-width:520px;
  background:#fff;border-top:1px solid var(--line);
  padding:10px 14px calc(10px + env(safe-area-inset-bottom));
  display:flex;gap:10px;align-items:center;
  z-index:30;
}
.chat-input-bar .input{flex:1;min-height:46px;padding:10px 16px;}
.chat-send-btn{
  width:46px;height:46px;border-radius:50%;flex-shrink:0;
  background:linear-gradient(135deg,var(--cyan),var(--teal));
  color:#fff;border:none;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
}
.chat-send-btn svg{width:20px;height:20px;}

/* ============================================================
   In-app message pop-up (global, appears on any page — both
   client and provider accounts)
   ============================================================ */
.msg-popup-overlay{
  position:fixed;inset:0;z-index:250;
  background:rgba(0,19,48,0.55);
  display:flex;align-items:center;justify-content:center;
  padding:20px;
  opacity:0;visibility:hidden;
  transition:opacity .25s ease;
}
.msg-popup-overlay.is-active{opacity:1;visibility:visible;}
.msg-popup-card{
  position:relative;
  background:#fff;border-radius:20px;
  padding:30px 24px 22px;
  width:100%;max-width:340px;
  box-shadow:var(--shadow-lg);
  text-align:center;
  transform:scale(0.92);
  transition:transform .25s cubic-bezier(.2,.8,.2,1);
}
.msg-popup-overlay.is-active .msg-popup-card{transform:scale(1);}
.msg-popup-close{
  position:absolute;top:12px;right:12px;
  width:32px;height:32px;border-radius:50%;
  background:var(--paper-2);border:none;color:var(--steel);
  display:flex;align-items:center;justify-content:center;cursor:pointer;
}
.msg-popup-close svg{width:16px;height:16px;}
.msg-popup-avatar{
  width:60px;height:60px;border-radius:50%;margin:0 auto 14px;
  background:linear-gradient(135deg,var(--teal),var(--cyan));
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;flex-shrink:0;
}
.msg-popup-avatar img{width:100%;height:100%;object-fit:cover;}
.msg-popup-avatar span{color:#fff;font-family:var(--ff-display);font-weight:700;font-size:24px;}
.msg-popup-label{
  display:block;font-size:11.5px;
  letter-spacing:.06em;text-transform:uppercase;color:var(--cyan);font-weight:800;margin-bottom:6px;
}
.msg-popup-name{display:block;font-size:18px;color:var(--navy);margin-bottom:8px;}
.msg-popup-preview{
  font-size:14px;color:var(--steel);line-height:1.5;margin:0 0 22px;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}
.msg-popup-actions{display:flex;gap:10px;}
.msg-popup-actions .btn{flex:1;width:auto;padding:12px 10px;font-size:14px;min-height:44px;}

/* ============================================================
   Shop profile (client view) — header, tabs, amenity pills
   ============================================================ */
.shop-header{
  position:relative;
  margin:-20px -20px 0;
  padding:calc(18px + env(safe-area-inset-top)) 20px 18px;
  background:radial-gradient(ellipse 120% 100% at 20% -20%, #0a4970 0%, var(--navy) 55%, var(--navy-deep) 100%);
  color:#fff;
}
.shop-header-back{
  position:absolute;
  top:calc(16px + env(safe-area-inset-top));right:18px;
  width:38px;height:38px;border-radius:50%;
  background:rgba(255,255,255,0.16);color:#fff;
  display:flex;align-items:center;justify-content:center;
  z-index:2;
}
.shop-header-back svg{width:21px;height:21px;}
.shop-header-top{display:flex;gap:14px;align-items:flex-start;margin-bottom:16px;padding-right:48px;}
.shop-header-avatar{
  width:64px;height:64px;border-radius:50%;object-fit:cover;flex-shrink:0;
  border:3px solid rgba(255,255,255,0.25);
}
.shop-header-avatar-fallback{
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,var(--teal),var(--cyan));
  color:#fff;font-family:var(--ff-display);font-weight:700;font-size:24px;
}
.shop-header-info{flex:1;min-width:0;padding-top:2px;}
.shop-header-info h1{color:#fff;font-size:19px;margin-bottom:6px;line-height:1.25;}
.shop-header-rating{
  display:flex;align-items:center;gap:6px;font-size:13.5px;color:#c3d7e6;margin-bottom:9px;
}
.shop-header-rating svg{width:15px;height:15px;color:var(--cyan-light);flex-shrink:0;}
.shop-header-badge{
  display:inline-flex;align-items:center;gap:5px;
  background:rgba(255,255,255,0.14);border:1px solid rgba(255,255,255,0.25);
  padding:4px 11px;border-radius:999px;
  font-size:11px;font-weight:700;color:#fff;
}
.shop-header-badge svg{width:13px;height:13px;}

.shop-header-stats{
  display:grid;grid-template-columns:repeat(3,1fr);
  border-top:1px solid rgba(255,255,255,0.14);
  padding-top:14px;margin-top:2px;
}
.shop-header-stats.shop-header-stats-alt{border-top:none;padding-top:10px;margin-top:0;}
.shop-header-stats > div{text-align:center;padding:0 4px;}
.shop-header-stats strong{
  display:block;font-size:13px;font-weight:800;color:#fff;margin-bottom:2px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.shop-header-stats strong.is-open{color:#7ee6a8;}
.shop-header-stats strong.is-closed{color:#ffa694;}
.shop-header-stats span{font-size:10px;color:#8fa8bd;text-transform:uppercase;letter-spacing:.03em;}

.shop-header-hours{
  display:flex;align-items:center;flex-wrap:wrap;gap:14px;
  border-top:1px solid rgba(255,255,255,0.14);
  margin-top:14px;padding-top:12px;
}
.shop-header-hours-item{
  display:flex;align-items:center;gap:6px;min-width:0;
  font-size:12.5px;color:#c3d7e6;
}
.shop-header-hours-item svg{width:14px;height:14px;color:var(--cyan-light);flex-shrink:0;}

.shop-header-address{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  border-top:1px solid rgba(255,255,255,0.14);
  margin-top:14px;padding-top:12px;
}
.shop-header-address-text{
  display:flex;align-items:center;gap:6px;min-width:0;
  font-size:12.5px;color:#c3d7e6;
}
.shop-header-address-text svg{width:14px;height:14px;color:var(--cyan-light);flex-shrink:0;}
.shop-header-address-text span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.shop-header-address .provider-card-distance{
  flex-shrink:0;color:var(--cyan-light);
}
.shop-header-address .provider-card-distance svg{color:var(--cyan-light);}

.shop-banner-full{
  display:block;
  width:calc(100% + 40px);
  max-width:calc(100% + 40px);
  margin:0 -20px 18px;
  aspect-ratio:16/9;
  object-fit:cover;
}
.shop-banner-fallback{
  background:var(--paper-2);
  display:flex;align-items:center;justify-content:center;
  color:var(--steel);
}

.shop-tabs{
  display:flex;gap:4px;
  margin:0 -20px 18px;padding:0 20px;
  overflow-x:auto;
  border-bottom:1px solid var(--line);
  background:#fff;
}
.shop-tab-btn{white-space:nowrap;}
.shop-tab-btn{
  background:none;border:none;cursor:pointer;
  padding:14px 6px;margin-right:20px;
  font-size:14.5px;font-weight:700;color:var(--steel);
  border-bottom:3px solid transparent;
  font-family:var(--ff-body);
}
.shop-tab-btn.active{color:var(--teal);border-bottom-color:var(--cyan);}

.shop-tab-panel{padding-bottom:100px;}

.photo-thumb.shop-photo-trigger{
  background:#fff;-webkit-appearance:none;appearance:none;
}

.photo-lightbox{
  position:fixed;inset:0;z-index:9999;
  background:#000;
  display:flex;align-items:center;justify-content:center;
}
.photo-lightbox[hidden]{display:none;}
.photo-lightbox-stage{
  width:100%;height:100%;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:0 56px;
}
.photo-lightbox-stage img{
  max-width:100%;max-height:80vh;object-fit:contain;
  border-radius:8px;
}
.photo-lightbox-count{
  color:rgba(255,255,255,0.75);font-size:13px;margin-top:14px;font-weight:600;
}
.photo-lightbox-error{
  color:rgba(255,255,255,0.85);font-size:14.5px;text-align:center;margin:0;
}
.photo-lightbox-close{
  position:absolute;top:18px;right:18px;z-index:3;
  width:40px;height:40px;border-radius:50%;
  background:rgba(255,255,255,0.14);border:none;color:#fff;
  display:flex;align-items:center;justify-content:center;cursor:pointer;
}
.photo-lightbox-close svg{width:20px;height:20px;}
.photo-lightbox-arrow{
  position:absolute;top:50%;transform:translateY(-50%);
  width:44px;height:44px;border-radius:50%;
  background:rgba(255,255,255,0.12);border:none;color:#fff;
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  z-index:2;
}
.photo-lightbox-arrow svg{width:22px;height:22px;}
.photo-lightbox-prev{left:10px;}
.photo-lightbox-next{right:10px;}

.amenity-marquee{
  overflow:hidden;margin-bottom:18px;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 24px),transparent);
  mask-image:linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 24px),transparent);
}
.amenity-marquee-track{
  display:flex;gap:8px;width:max-content;
  animation:amenity-scroll 16s linear infinite;
}
.amenity-marquee:hover .amenity-marquee-track{animation-play-state:paused;}
@keyframes amenity-scroll{
  from{transform:translateX(0);}
  to{transform:translateX(-50%);}
}
@media (prefers-reduced-motion:reduce){
  .amenity-marquee{overflow-x:auto;-webkit-mask-image:none;mask-image:none;}
  .amenity-marquee-track{animation:none;}
}
.amenity-pill{
  flex-shrink:0;display:inline-flex;align-items:center;gap:6px;
  background:var(--paper-2);border-radius:999px;
  padding:9px 15px;
  font-size:12.5px;font-weight:700;color:var(--navy);
  white-space:nowrap;
}
.amenity-pill svg{width:14px;height:14px;color:var(--teal);flex-shrink:0;}

/* ---------------- Requests list (provider/requests.php) ---------------- */
.req-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:2px;}
.req-card-head h3{font-size:17px;}
.req-card-by{color:var(--steel);font-size:13px;margin:0 0 12px;}
.req-photo-slider{margin-bottom:14px;}
.req-card-vehicle{color:var(--steel);font-size:14px;margin:0 0 4px;}
.req-card-loc{color:var(--steel);font-size:13px;margin:0 0 16px;}
.req-card-actions{display:flex;gap:10px;}
.req-card-actions .btn{width:auto;flex:1;padding:10px 16px;min-height:44px;}
.offer-status-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 10px;}
.offer-status-price{font-size:14px;font-weight:800;color:var(--navy);font-family:var(--ff-display);}

/* Full-width single column for the requests list — more room per
   card since it's mobile-first and the 2-column layout left a lot
   of empty space with fewer/no side items. */
.requests-grid{display:grid;grid-template-columns:1fr;gap:14px;}
.requests-grid > .req-card{min-width:0;}

/* ---------------- Distance badge ---------------- */
.distance-badge{
  flex-shrink:0;display:inline-flex;align-items:center;gap:4px;
  background:var(--paper-2);border-radius:999px;
  padding:6px 12px;
  font-size:12.5px;font-weight:700;color:var(--teal);
  white-space:nowrap;
}
.distance-badge svg{width:13px;height:13px;flex-shrink:0;}

/* ---------------- Details modal (bottom sheet) ---------------- */
.details-modal{
  position:fixed;inset:0;z-index:9999;
  background:rgba(0,19,48,0.55);
  display:flex;align-items:flex-end;justify-content:center;
}
.details-modal[hidden]{display:none;}
.details-modal-sheet{
  width:100%;max-width:520px;max-height:82vh;overflow-y:auto;
  background:#fff;border-radius:22px 22px 0 0;
  padding:22px 22px calc(22px + env(safe-area-inset-bottom));
  box-shadow:var(--shadow-lg);
}
.details-modal-handle{
  width:40px;height:4px;border-radius:999px;background:var(--line);
  margin:0 auto 16px;
}
.details-modal-header{
  display:flex;align-items:flex-start;justify-content:space-between;gap:10px;
  margin-bottom:14px;
}
.details-modal-close{
  flex-shrink:0;width:36px;height:36px;border-radius:50%;
  background:var(--paper-2);border:none;color:var(--navy);
  display:flex;align-items:center;justify-content:center;cursor:pointer;
}
.details-modal-close svg{width:18px;height:18px;}
.details-row{margin:0 0 12px;font-size:14.5px;color:var(--steel);}
.details-row .label{color:var(--steel);}
.details-row .value{color:var(--ink);font-weight:600;}

/* ============================================================
   Per-item progress tracker — shown on each individual booking
   or request card (not an aggregate count) so the client can see
   exactly where THAT job/request currently stands.
   ============================================================ */
.progress-tracker{
  display:flex;align-items:flex-start;
  margin:14px 0 6px;
}
.progress-step{
  position:relative;
  display:flex;flex-direction:column;align-items:center;
  flex:1;min-width:0;
}
.progress-step-line{
  position:absolute;top:15px;right:50%;width:100%;height:2px;
  background:var(--line);z-index:1;
}
.progress-step:first-child .progress-step-line{display:none;}
.progress-step.is-complete .progress-step-line{background:var(--cyan);}
.progress-step-circle{
  width:32px;height:32px;border-radius:50%;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  background:#fff;border:2px solid var(--line);color:var(--steel-light,var(--steel));
  position:relative;z-index:2;
}
.progress-step-circle svg{width:14px;height:14px;}
.progress-step.is-complete .progress-step-circle{
  background:var(--cyan);border-color:var(--cyan);color:#fff;
}
.progress-step.is-current .progress-step-circle{
  background:linear-gradient(135deg,var(--teal),var(--cyan));
  border-color:transparent;color:#fff;
  box-shadow:0 0 0 4px rgba(18,165,201,0.18);
}
.progress-step-label{
  font-size:10px;font-weight:700;color:var(--steel);text-align:center;
  margin-top:6px;line-height:1.25;padding:0 2px;
}
.progress-step.is-complete .progress-step-label,
.progress-step.is-current .progress-step-label{color:var(--navy);}

/* ============================================================
   Client dashboard — "My Activity" table (recent bookings /
   requests, each row linking to the full list)
   ============================================================ */
.activity-table-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow);margin-bottom:16px;overflow:hidden;
}
.activity-table-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 16px;border-bottom:1px solid var(--line);
}
.activity-table-head span:first-child{
  display:flex;align-items:center;gap:8px;
  font-size:14.5px;font-weight:800;color:var(--navy);
}
.activity-table-head span:first-child svg{width:17px;height:17px;color:var(--teal);}
.activity-table-head a{
  font-size:12.5px;font-weight:700;color:var(--cyan);text-decoration:none;
}
.activity-empty{
  padding:18px 16px;font-size:13px;color:var(--steel);margin:0;
}
.activity-row{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:12px 16px;border-bottom:1px solid var(--line);
}
.activity-row:last-child{border-bottom:none;}
.activity-row-main{display:flex;flex-direction:column;gap:2px;min-width:0;}
.activity-row-main strong{
  font-size:13.5px;color:var(--ink);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.activity-row-main span{font-size:12px;color:var(--steel);}
.activity-row-badge{
  flex-shrink:0;margin:0 !important;padding:4px 10px !important;font-size:11px !important;white-space:nowrap;
}
