/* ═══════════════════════════════════════════════════════════════════════
   GHH Forms — Auth & Dashboard CSS  (v5.0.0)
   Covers: login, register, forgot-password, user dashboard, status cards
═══════════════════════════════════════════════════════════════════════ */

:root{
  --ghh-green:#166534;--ghh-green-dark:#14532d;--ghh-green-light:#dcfce7;
  --ghh-green-mid:#22c55e;--ghh-gold:#ca8a04;--ghh-red:#dc2626;
  --ghh-orange:#f59e0b;--ghh-blue:#2563eb;--ghh-purple:#7c3aed;
  --ghh-gray-50:#f9fafb;--ghh-gray-100:#f3f4f6;--ghh-gray-200:#e5e7eb;
  --ghh-gray-400:#9ca3af;--ghh-gray-600:#6b7280;--ghh-gray-700:#374151;
  --ghh-gray-900:#111827;
  --ghh-radius:12px;--ghh-radius-sm:8px;--ghh-shadow:0 4px 24px rgba(0,0,0,.08);
  --ghh-shadow-lg:0 8px 40px rgba(0,0,0,.14);--ghh-transition:.2s ease;
}

/* ── Auth wrapper ────────────────────────────────────────────────────── */
.ghh-auth-wrap{
  min-height:80vh;display:flex;align-items:center;justify-content:center;
  padding:40px 16px;background:linear-gradient(135deg,#f0fdf4 0%,#dcfce7 100%);
}
.ghh-auth-card{
  width:100%;max-width:480px;background:#fff;border-radius:20px;
  box-shadow:var(--ghh-shadow-lg);overflow:hidden;
}

/* Brand header */
.ghh-auth-brand{
  background:linear-gradient(135deg,var(--ghh-green) 0%,#15803d 100%);
  padding:28px 32px 20px;text-align:center;
}
.ghh-auth-brand img,.ghh-auth-brand svg{max-height:60px;width:auto;filter:brightness(0) invert(1);}
.ghh-auth-logo-text{
  color:#fff;font-size:22px;font-weight:700;letter-spacing:.5px;
}

/* Tabs */
.ghh-auth-tabs{
  display:flex;border-bottom:2px solid var(--ghh-gray-200);background:var(--ghh-gray-50);
}
.ghh-auth-tab{
  flex:1;padding:14px;border:none;background:transparent;cursor:pointer;
  font-size:15px;font-weight:500;color:var(--ghh-gray-600);border-bottom:2px solid transparent;
  margin-bottom:-2px;transition:var(--ghh-transition);
}
.ghh-auth-tab.active,.ghh-auth-tab:hover{color:var(--ghh-green);border-bottom-color:var(--ghh-green);}
.ghh-auth-tab.active{background:#fff;font-weight:600;}

/* Panels */
.ghh-auth-panel{padding:32px;}
.ghh-auth-panel h2{margin:0 0 8px;font-size:22px;font-weight:700;color:var(--ghh-gray-900);}
.ghh-auth-subtitle{color:var(--ghh-gray-600);font-size:14px;margin:0 0 20px;}
.ghh-hidden{display:none;}

/* Form fields */
.ghh-auth-field{margin-bottom:20px;}
.ghh-auth-field label{display:block;font-size:13px;font-weight:600;color:var(--ghh-gray-700);margin-bottom:6px;}
.ghh-auth-field label span{color:var(--ghh-red);}
.ghh-auth-field input{
  width:100%;padding:11px 14px;border:1.5px solid var(--ghh-gray-200);border-radius:var(--ghh-radius-sm);
  font-size:15px;color:var(--ghh-gray-900);background:#fff;transition:var(--ghh-transition);
  box-sizing:border-box;
}
.ghh-auth-field input:focus{outline:none;border-color:var(--ghh-green);box-shadow:0 0 0 3px rgba(22,101,52,.1);}
.ghh-auth-field input:disabled,.ghh-auth-field input[readonly]{background:var(--ghh-gray-100);color:var(--ghh-gray-600);}

.ghh-pw-wrap{position:relative;}
.ghh-pw-wrap input{padding-right:44px;}
.ghh-pw-toggle{
  position:absolute;right:12px;top:50%;transform:translateY(-50%);
  border:none;background:none;cursor:pointer;font-size:17px;padding:4px;
  color:var(--ghh-gray-400);transition:var(--ghh-transition);
}
.ghh-pw-toggle:hover{color:var(--ghh-green);}

/* Password strength bar */
.ghh-pw-strength-bar{height:4px;background:var(--ghh-gray-200);border-radius:99px;margin-top:8px;overflow:hidden;}
.ghh-pw-strength-fill{height:100%;width:0;border-radius:99px;transition:width .4s ease,background .4s;}

/* Auth message */
.ghh-auth-msg{border-radius:var(--ghh-radius-sm);padding:12px 16px;margin-bottom:18px;font-size:14px;display:none;}
.ghh-auth-msg.success{background:#dcfce7;color:#14532d;border:1px solid #86efac;}
.ghh-auth-msg.error{background:#fee2e2;color:#7f1d1d;border:1px solid #fca5a5;}
.ghh-auth-err{font-size:12px;color:var(--ghh-red);display:block;margin-top:4px;}

/* Auth button */
.ghh-auth-btn{
  width:100%;padding:13px;background:var(--ghh-green);color:#fff;border:none;
  border-radius:var(--ghh-radius-sm);font-size:16px;font-weight:600;cursor:pointer;
  transition:var(--ghh-transition);display:flex;align-items:center;justify-content:center;gap:8px;
  margin-top:4px;
}
.ghh-auth-btn:hover{background:var(--ghh-green-dark);}
.ghh-auth-btn:disabled{opacity:.6;cursor:not-allowed;}

.ghh-auth-links{text-align:center;margin-top:16px;}
.ghh-auth-links a{color:var(--ghh-green);font-size:14px;text-decoration:none;font-weight:500;}
.ghh-auth-links a:hover{text-decoration:underline;}

.ghh-auth-alert{padding:12px 16px;border-radius:var(--ghh-radius-sm);margin:0 32px 0;font-size:14px;}
.ghh-alert-success{background:#dcfce7;color:#14532d;border:1px solid #86efac;}
.ghh-alert-info   {background:#eff6ff;color:#1e40af;border:1px solid #93c5fd;}
.ghh-alert-error{background:#fee2e2;color:#7f1d1d;border:1px solid #fca5a5;}

/* ── Login-required widget ───────────────────────────────────────────── */
.ghh-login-required{
  background:#f0fdf4;border:2px dashed #86efac;border-radius:var(--ghh-radius);
  padding:40px 24px;text-align:center;
}
.ghh-login-required p{font-size:17px;color:var(--ghh-gray-700);margin:0 0 20px;}
.ghh-login-required .ghh-btn-primary{
  display:inline-block;padding:12px 28px;background:var(--ghh-green);color:#fff;
  border-radius:var(--ghh-radius-sm);font-weight:600;text-decoration:none;font-size:15px;
  transition:var(--ghh-transition);
}
.ghh-login-required .ghh-btn-primary:hover{background:var(--ghh-green-dark);}

/* ══════════════════════════════════════════════════════════════════════
   USER DASHBOARD
══════════════════════════════════════════════════════════════════════ */
.ghh-dashboard{
  display:flex;gap:0;min-height:100vh;background:var(--ghh-gray-50);
  border-radius:var(--ghh-radius);overflow:hidden;box-shadow:var(--ghh-shadow);
  max-width:1200px;margin:0 auto;
}

/* Sidebar */
.ghh-dash-sidebar{
  width:260px;flex-shrink:0;background:linear-gradient(180deg,var(--ghh-green) 0%,#14532d 100%);
  display:flex;flex-direction:column;
}
.ghh-dash-user-card{padding:24px 20px 20px;border-bottom:1px solid rgba(255,255,255,.15);}
.ghh-dash-avatar{
  width:52px;height:52px;border-radius:50%;background:rgba(255,255,255,.25);
  display:flex;align-items:center;justify-content:center;
  font-size:22px;font-weight:700;color:#fff;margin-bottom:12px;
}
.ghh-dash-user-info{display:flex;flex-direction:column;gap:3px;}
.ghh-dash-user-info strong{color:#fff;font-size:15px;}
.ghh-dash-user-info span{color:rgba(255,255,255,.7);font-size:12px;}
.ghh-user-badge{
  display:inline-block;padding:2px 8px;border-radius:99px;font-size:11px;font-weight:600;
  margin-top:4px;width:fit-content;
}

/* Nav */
.ghh-dash-nav{flex:1;padding:16px 12px;}
.ghh-dash-nav-item{
  display:flex;align-items:center;gap:10px;padding:11px 14px;border-radius:var(--ghh-radius-sm);
  color:rgba(255,255,255,.8);text-decoration:none;font-size:14px;font-weight:500;
  transition:var(--ghh-transition);margin-bottom:4px;
}
.ghh-dash-nav-item:hover,.ghh-dash-nav-item.active{background:rgba(255,255,255,.15);color:#fff;}
.ghh-dash-nav-item.active{background:rgba(255,255,255,.2);font-weight:600;}
.ghh-nav-icon{font-size:18px;width:24px;text-align:center;}

.ghh-dash-logout{padding:16px 12px;}
.ghh-btn-logout{
  display:block;padding:10px 14px;background:rgba(255,255,255,.1);color:rgba(255,255,255,.85);
  border-radius:var(--ghh-radius-sm);text-decoration:none;font-size:14px;font-weight:500;
  text-align:center;transition:var(--ghh-transition);
}
.ghh-btn-logout:hover{background:rgba(220,38,38,.35);color:#fff;}

/* Main content */
.ghh-dash-main{flex:1;padding:32px;overflow-x:auto;}
.ghh-dash-section h2{font-size:22px;font-weight:700;color:var(--ghh-gray-900);margin:0 0 24px;}

/* Stats grid */
.ghh-stats-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px;margin-bottom:28px;}
.ghh-stat-card{
  background:#fff;border-radius:var(--ghh-radius);padding:20px 16px;text-align:center;
  box-shadow:var(--ghh-shadow);border-top:4px solid transparent;transition:var(--ghh-transition);
}
.ghh-stat-card:hover{transform:translateY(-2px);}
.ghh-stat-blue  {border-top-color:var(--ghh-blue);}
.ghh-stat-green {border-top-color:var(--ghh-green-mid);}
.ghh-stat-orange{border-top-color:var(--ghh-orange);}
.ghh-stat-gray  {border-top-color:var(--ghh-gray-400);}
.ghh-stat-icon  {font-size:28px;margin-bottom:8px;}
.ghh-stat-value {font-size:26px;font-weight:700;color:var(--ghh-gray-900);}
.ghh-stat-label {font-size:12px;color:var(--ghh-gray-600);margin-top:4px;font-weight:500;}

/* Cards */
.ghh-dash-card{
  background:#fff;border-radius:var(--ghh-radius);box-shadow:var(--ghh-shadow);
  margin-bottom:24px;overflow:hidden;
}
.ghh-dash-card-header{
  display:flex;align-items:center;justify-content:space-between;
  padding:18px 20px;border-bottom:1px solid var(--ghh-gray-200);
}
.ghh-dash-card-header h3{margin:0;font-size:16px;font-weight:600;color:var(--ghh-gray-900);}
.ghh-link-btn{color:var(--ghh-green);font-size:13px;font-weight:600;text-decoration:none;}
.ghh-link-btn:hover{text-decoration:underline;}

/* Empty message */
.ghh-empty-msg{padding:40px;text-align:center;color:var(--ghh-gray-400);}
.ghh-empty-msg span{font-size:40px;display:block;margin-bottom:12px;}
.ghh-empty-msg p{font-size:15px;margin:0;}

/* Dashboard table */
.ghh-dash-table{width:100%;border-collapse:collapse;font-size:14px;}
.ghh-dash-table th{padding:12px 16px;text-align:left;background:var(--ghh-gray-50);font-size:12px;font-weight:600;color:var(--ghh-gray-600);text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid var(--ghh-gray-200);}
.ghh-dash-table td{padding:12px 16px;border-bottom:1px solid var(--ghh-gray-100);vertical-align:middle;}
.ghh-dash-table tr:last-child td{border-bottom:none;}

/* Status badges */
.ghh-status-badge{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:99px;font-size:12px;font-weight:600;}
.ghh-status-new      {background:#f3f4f6;color:#374151;}
.ghh-status-review   {background:#fff7ed;color:#c2410c;}
.ghh-status-approved {background:#dcfce7;color:#14532d;}
.ghh-status-rejected {background:#fee2e2;color:#b91c1c;}
.ghh-status-hold     {background:#fef9c3;color:#854d0e;}
.ghh-status-read     {background:#eff6ff;color:#1e40af;}
.ghh-status-default  {background:var(--ghh-gray-100);color:var(--ghh-gray-700);}
/* User status badges — deliberately NOT named "active" to avoid conflict with
   WordPress themes that apply button/dark-green styles to any .active class. */
.ghh-badge-actv      {background:#dcfce7;color:#14532d;}
.ghh-badge-pending   {background:#fff7ed;color:#c2410c;}
.ghh-badge-suspended {background:#fee2e2;color:#b91c1c;}
.ghh-badge-default   {background:#f3f4f6;color:#374151;}

/* Application cards */
.ghh-applications-list{display:flex;flex-direction:column;gap:16px;}
.ghh-app-card{
  background:#fff;border-radius:var(--ghh-radius);box-shadow:var(--ghh-shadow);
  border-left:4px solid var(--ghh-green);padding:20px;
}
.ghh-app-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;}
.ghh-app-ref{font-size:16px;font-weight:700;color:var(--ghh-gray-900);display:block;}
.ghh-app-form{font-size:13px;color:var(--ghh-gray-600);display:block;margin-top:2px;}
.ghh-app-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.ghh-app-date{font-size:13px;color:var(--ghh-gray-400);}
.ghh-app-remark-preview{
  margin:12px 0 0;padding:10px 14px;background:var(--ghh-gray-50);border-radius:var(--ghh-radius-sm);
  font-size:13px;color:var(--ghh-gray-700);display:flex;align-items:flex-start;gap:8px;
}
.ghh-remark-icon{flex-shrink:0;}
.ghh-app-actions{display:flex;gap:8px;margin-top:14px;padding-top:14px;border-top:1px solid var(--ghh-gray-100);}

/* Filter bar */
.ghh-dash-filter{margin-bottom:20px;}
.ghh-dash-filter select,.ghh-dash-filter input{
  padding:9px 12px;border:1.5px solid var(--ghh-gray-200);border-radius:var(--ghh-radius-sm);
  font-size:14px;background:#fff;
}

/* Pagination */
.ghh-pagination{display:flex;gap:8px;justify-content:center;margin-top:24px;flex-wrap:wrap;}
.ghh-page-btn{
  width:36px;height:36px;display:flex;align-items:center;justify-content:center;
  border-radius:var(--ghh-radius-sm);background:#fff;color:var(--ghh-gray-700);
  text-decoration:none;font-size:14px;font-weight:500;box-shadow:var(--ghh-shadow);
  transition:var(--ghh-transition);
}
.ghh-page-btn:hover,.ghh-page-btn.active{background:var(--ghh-green);color:#fff;}

/* Detail layout */
.ghh-detail-layout{display:grid;grid-template-columns:1fr 300px;gap:24px;align-items:start;}
.ghh-detail-table{width:100%;border-collapse:collapse;font-size:14px;}
.ghh-detail-table th,.ghh-detail-table td{padding:12px 16px;border-bottom:1px solid var(--ghh-gray-100);text-align:left;vertical-align:top;}
.ghh-detail-table th{width:35%;font-weight:600;color:var(--ghh-gray-700);background:var(--ghh-gray-50);}
.ghh-detail-table tr:last-child th,.ghh-detail-table tr:last-child td{border-bottom:none;}

.ghh-info-rows{display:flex;flex-direction:column;gap:0;}
.ghh-info-rows>div{display:flex;justify-content:space-between;align-items:center;padding:10px 20px;border-bottom:1px solid var(--ghh-gray-100);font-size:14px;}
.ghh-info-rows>div:last-child{border-bottom:none;}
.ghh-info-rows>div span{color:var(--ghh-gray-600);}
.ghh-info-rows>div strong,.ghh-info-rows>div a{color:var(--ghh-gray-900);font-weight:600;text-decoration:none;}

/* Remarks */
.ghh-remarks-card{border-top:3px solid var(--ghh-blue);}
.ghh-remarks-list{padding:16px 20px;display:flex;flex-direction:column;gap:12px;}
.ghh-remark-item{background:var(--ghh-gray-50);border-radius:var(--ghh-radius-sm);padding:14px;}
.ghh-remark-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;flex-wrap:wrap;gap:8px;}
.ghh-remark-header strong{color:var(--ghh-gray-900);font-size:14px;}
.ghh-remark-header span{color:var(--ghh-gray-400);font-size:12px;}
.ghh-remark-item p{margin:0;font-size:14px;color:var(--ghh-gray-700);line-height:1.6;}
.ghh-remark-status_note{border-left:3px solid var(--ghh-orange);}
.ghh-remark-info_request{border-left:3px solid var(--ghh-blue);}

/* Buttons */
.ghh-btn-sm{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:var(--ghh-radius-sm);font-size:13px;font-weight:600;cursor:pointer;border:none;text-decoration:none;transition:var(--ghh-transition);}
.ghh-btn-primary{background:var(--ghh-green);color:#fff;} .ghh-btn-primary:hover{background:var(--ghh-green-dark);}
.ghh-btn-outline{background:#fff;color:var(--ghh-green);border:1.5px solid var(--ghh-green);} .ghh-btn-outline:hover{background:var(--ghh-green-light);}
.ghh-btn-green{background:#16a34a;color:#fff;} .ghh-btn-green:hover{background:#15803d;}
.ghh-btn-full{display:block;text-align:center;padding:12px;font-size:14px;font-weight:600;border-radius:var(--ghh-radius-sm);text-decoration:none;transition:var(--ghh-transition);}
.ghh-back-link{color:var(--ghh-green);font-size:14px;text-decoration:none;font-weight:500;display:inline-block;margin-bottom:8px;}
.ghh-back-link:hover{text-decoration:underline;}

/* Profile form */
.ghh-profile-form{padding:24px;}
.ghh-form-row{margin-bottom:20px;}
.ghh-form-row label{display:block;font-size:13px;font-weight:600;color:var(--ghh-gray-700);margin-bottom:6px;}
.ghh-form-row label span{color:var(--ghh-red);}
.ghh-form-row input,.ghh-form-row textarea{width:100%;padding:11px 14px;border:1.5px solid var(--ghh-gray-200);border-radius:var(--ghh-radius-sm);font-size:15px;box-sizing:border-box;transition:var(--ghh-transition);}
.ghh-form-row input:focus,.ghh-form-row textarea:focus{outline:none;border-color:var(--ghh-green);}
.ghh-form-row small{display:block;font-size:12px;color:var(--ghh-gray-400);margin-top:4px;}
.ghh-form-msg{padding:12px 16px;border-radius:var(--ghh-radius-sm);margin-bottom:18px;font-size:14px;display:none;}
.ghh-form-msg.success{background:#dcfce7;color:#14532d;}
.ghh-form-msg.error{background:#fee2e2;color:#7f1d1d;}
.ghh-divider{border:none;border-top:1px solid var(--ghh-gray-200);margin:20px 0;}

/* Responsive */
@media(max-width:900px){
  .ghh-dashboard{flex-direction:column;}
  .ghh-dash-sidebar{width:100%;}
  .ghh-dash-nav{display:flex;flex-wrap:wrap;padding:8px;}
  .ghh-dash-nav-item{flex:1 1 120px;justify-content:center;flex-direction:column;text-align:center;padding:10px 8px;}
  .ghh-nav-icon{width:auto;}
  .ghh-dash-user-card{padding:16px;}
  .ghh-dash-main{padding:20px;}
  .ghh-detail-layout{grid-template-columns:1fr;}
  .ghh-detail-sidebar{order:-1;}
}
@media(max-width:600px){
  .ghh-stats-grid{grid-template-columns:repeat(2,1fr);}
  .ghh-auth-card{border-radius:0;box-shadow:none;}
  .ghh-auth-wrap{padding:0;min-height:100vh;}
  .ghh-auth-panel{padding:24px 20px;}
}

/* ══════════════════════════════════════════════════════════════════════
   FORMS TAB — Available Forms, Fill Form, Entry Detail
══════════════════════════════════════════════════════════════════════ */

/* ── Sidebar additions ──────────────────────────────────────────────── */
.ghh-nav-label{flex:1;}
.ghh-nav-badge{
  min-width:20px;height:20px;padding:0 5px;border-radius:99px;
  background:rgba(255,255,255,.25);color:#fff;font-size:11px;font-weight:700;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.ghh-dash-nav-item.active .ghh-nav-badge{background:rgba(255,255,255,.4);}

.ghh-sidebar-stats{
  display:flex;padding:12px 16px;gap:8px;border-bottom:1px solid rgba(255,255,255,.12);
}
.ghh-ss-item{
  flex:1;text-align:center;padding:8px 4px;border-radius:8px;
  background:rgba(255,255,255,.1);
}
.ghh-ss-item span{display:block;color:rgba(255,255,255,.8);font-size:11px;line-height:1.4;}
.ghh-ss-num{font-size:18px!important;font-weight:700;color:#fff!important;}
.ghh-ss-green .ghh-ss-num{color:#86efac!important;}
.ghh-ss-orange .ghh-ss-num{color:#fcd34d!important;}

/* ── Section header ─────────────────────────────────────────────────── */
.ghh-section-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:24px;gap:16px;flex-wrap:wrap;}
.ghh-section-header h2{margin:0;font-size:22px;font-weight:700;color:var(--ghh-gray-900);}
.ghh-section-sub{margin:4px 0 0;font-size:14px;color:var(--ghh-gray-600);}
.ghh-overview-date{font-size:13px;color:var(--ghh-gray-400);margin-top:6px;white-space:nowrap;}

/* ── KPI strip ──────────────────────────────────────────────────────── */
.ghh-kpi-strip{display:flex;gap:12px;margin-bottom:24px;flex-wrap:wrap;}
.ghh-kpi-pill{
  flex:1;min-width:120px;background:#fff;border-radius:14px;padding:16px 14px;
  display:flex;flex-direction:column;align-items:center;gap:4px;
  box-shadow:var(--ghh-shadow);border-top:3px solid transparent;
}
.ghh-kpi-blue  {border-top-color:#3b82f6;} .ghh-kpi-green {border-top-color:#22c55e;}
.ghh-kpi-orange{border-top-color:#f59e0b;} .ghh-kpi-gray  {border-top-color:#9ca3af;}
.ghh-kpi-ico{font-size:22px;} .ghh-kpi-val{font-size:26px;font-weight:700;color:var(--ghh-gray-900);}
.ghh-kpi-lbl{font-size:11px;color:var(--ghh-gray-600);text-transform:uppercase;letter-spacing:.3px;text-align:center;}

/* ── Quick Forms grid (overview) ────────────────────────────────────── */
.ghh-forms-quick-grid{padding:4px 0;}
.ghh-form-quick-card{
  display:flex;align-items:center;gap:14px;padding:14px 20px;
  border-bottom:1px solid var(--ghh-gray-100);
}
.ghh-form-quick-card:last-child{border-bottom:none;}
.ghh-fqc-icon{font-size:28px;flex-shrink:0;}
.ghh-fqc-info{flex:1;min-width:0;}
.ghh-fqc-info strong{display:block;font-size:14px;font-weight:600;color:var(--ghh-gray-900);}
.ghh-fqc-info span{font-size:12px;color:var(--ghh-gray-500);}
.ghh-fqc-actions{display:flex;align-items:center;gap:8px;flex-shrink:0;}
.ghh-submitted-badge{
  font-size:12px;font-weight:600;color:#16a34a;background:#dcfce7;
  padding:3px 8px;border-radius:99px;white-space:nowrap;
}

/* ── Available Forms grid ───────────────────────────────────────────── */
.ghh-avail-forms-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:20px;}
.ghh-avail-form-card{
  background:#fff;border-radius:16px;box-shadow:var(--ghh-shadow);
  overflow:hidden;display:flex;flex-direction:column;
  border:1.5px solid var(--ghh-gray-100);transition:var(--ghh-transition);
}
.ghh-avail-form-card:hover{box-shadow:0 8px 30px rgba(0,0,0,.12);transform:translateY(-2px);}

.ghh-afc-header{display:flex;align-items:flex-start;gap:14px;padding:20px 20px 16px;}
.ghh-afc-icon-wrap{
  width:48px;height:48px;border-radius:12px;background:linear-gradient(135deg,#f0fdf4,#dcfce7);
  display:flex;align-items:center;justify-content:center;font-size:24px;flex-shrink:0;
  border:1.5px solid #bbf7d0;
}
.ghh-afc-title-wrap{flex:1;min-width:0;}
.ghh-afc-title-wrap h3{margin:0 0 4px;font-size:16px;font-weight:700;color:var(--ghh-gray-900);line-height:1.3;}
.ghh-afc-desc{margin:0;font-size:13px;color:var(--ghh-gray-600);line-height:1.4;}

/* Feature badges */
.ghh-afc-badges{display:flex;flex-wrap:wrap;gap:6px;padding:0 20px 16px;}
.ghh-afc-badge{
  display:inline-flex;align-items:center;gap:4px;padding:4px 10px;
  border-radius:99px;font-size:11px;font-weight:600;background:var(--ghh-gray-100);color:var(--ghh-gray-700);
}
.ghh-badge-pdf   {background:#eff6ff;color:#1e40af;}
.ghh-badge-steps {background:#f5f3ff;color:#5b21b6;}
.ghh-badge-ref   {background:#fff7ed;color:#9a3412;}
.ghh-badge-status{background:#f0fdf4;color:#166534;}
.ghh-badge-fields{background:#f1f5f9;color:#334155;}

/* My subs inside form card */
.ghh-afc-my-subs{margin:0 16px 16px;background:var(--ghh-gray-50);border-radius:10px;overflow:hidden;}
.ghh-afc-my-subs-header{
  display:flex;justify-content:space-between;align-items:center;
  padding:8px 14px;font-size:12px;font-weight:600;color:var(--ghh-gray-600);
  border-bottom:1px solid var(--ghh-gray-200);
}
.ghh-link-btn-sm{color:var(--ghh-green);font-size:12px;font-weight:600;text-decoration:none;}
.ghh-afc-sub-row{
  display:flex;align-items:center;gap:8px;padding:8px 14px;
  border-bottom:1px solid var(--ghh-gray-100);flex-wrap:wrap;font-size:13px;
}
.ghh-afc-sub-row:last-child{border-bottom:none;}
.ghh-sub-date{color:var(--ghh-gray-400);font-size:12px;flex:1;}

/* Fill button */
.ghh-afc-footer{padding:16px 20px 20px;margin-top:auto;}
.ghh-afc-fill-btn{
  display:flex;align-items:center;justify-content:center;gap:8px;
  width:100%;padding:13px;background:linear-gradient(135deg,var(--ghh-green),#15803d);
  color:#fff;border-radius:10px;font-size:15px;font-weight:600;
  text-decoration:none;transition:var(--ghh-transition);border:2px solid transparent;
}
.ghh-afc-fill-btn:hover{background:linear-gradient(135deg,#14532d,var(--ghh-green-dark));transform:none;}
/* View-submission variant — keeps inline background/color, just adds hover opacity */
.ghh-afc-view-btn{background:none!important;}
.ghh-afc-view-btn:hover{opacity:.85;transform:none!important;background:none!important;}
.ghh-afc-view-btn .ghh-status-badge{font-size:11px;padding:2px 8px;}

/* ── Form fill section ──────────────────────────────────────────────── */
.ghh-form-fill-section{}

/* Breadcrumb */
.ghh-breadcrumb{
  display:flex;align-items:center;gap:8px;margin-bottom:20px;
  font-size:14px;color:var(--ghh-gray-500);
}
.ghh-breadcrumb a{color:var(--ghh-green);font-weight:500;text-decoration:none;}
.ghh-breadcrumb a:hover{text-decoration:underline;}
.ghh-breadcrumb-sep{color:var(--ghh-gray-300);}

/* Form info bar */
.ghh-form-info-bar{
  background:#fff;border-radius:14px;padding:20px 24px;margin-bottom:20px;
  box-shadow:var(--ghh-shadow);display:flex;align-items:flex-start;
  justify-content:space-between;gap:16px;flex-wrap:wrap;
}
.ghh-fib-left h2{margin:0 0 10px;font-size:20px;font-weight:700;color:var(--ghh-gray-900);}
.ghh-fib-badges{display:flex;flex-wrap:wrap;gap:8px;}
.ghh-fib-badge{
  display:inline-flex;align-items:center;gap:5px;padding:5px 12px;
  border-radius:99px;font-size:12px;font-weight:600;background:var(--ghh-gray-100);color:var(--ghh-gray-700);
}
.ghh-fib-green {background:#dcfce7;color:#14532d;}
.ghh-fib-blue  {background:#dbeafe;color:#1e40af;}
.ghh-fib-purple{background:#ede9fe;color:#5b21b6;}
.ghh-fib-teal  {background:#ccfbf1;color:#0f766e;}

/* Feature cards row */
.ghh-form-features-row{display:flex;gap:12px;margin-bottom:24px;flex-wrap:wrap;}
.ghh-feat-card{
  flex:1;min-width:200px;background:#fff;border-radius:12px;padding:16px;
  display:flex;align-items:flex-start;gap:12px;box-shadow:var(--ghh-shadow);
}
.ghh-feat-card>span{font-size:26px;flex-shrink:0;line-height:1;}
.ghh-feat-card div strong{display:block;font-size:13px;font-weight:700;color:var(--ghh-gray-900);margin-bottom:3px;}
.ghh-feat-card div p{margin:0;font-size:12px;color:var(--ghh-gray-600);line-height:1.4;}

/* Inline form wrapper */
.ghh-inline-form-wrap{
  background:#fff;border-radius:16px;box-shadow:var(--ghh-shadow);
  overflow:hidden;margin-bottom:24px;
  border:2px solid var(--ghh-green-light);
}
.ghh-inline-form-header{
  background:linear-gradient(135deg,var(--ghh-green),#15803d);
  padding:18px 24px;
}
.ghh-inline-form-header h3{margin:0;color:#fff;font-size:18px;font-weight:700;}
.ghh-inline-form-body{padding:28px 24px;}
/* Make form inside dashboard fill container */
.ghh-inline-form-body .ghh-form-wrap{max-width:100%!important;}

/* Previous subs card */
.ghh-prev-subs-card{}

/* ── Small buttons ──────────────────────────────────────────────────── */
.ghh-btn-xs{
  display:inline-flex;align-items:center;padding:4px 10px;border-radius:6px;
  font-size:12px;font-weight:600;text-decoration:none;cursor:pointer;border:none;
  background:var(--ghh-green-light);color:var(--ghh-green);transition:var(--ghh-transition);
}
.ghh-btn-xs:hover{background:var(--ghh-green);color:#fff;}
.ghh-btn-xs-green{background:#dcfce7;color:#14532d;}
.ghh-btn-xs-green:hover{background:#16a34a;color:#fff;}

/* ── Ref code style ─────────────────────────────────────────────────── */
.ghh-ref-code{
  background:var(--ghh-gray-100);padding:2px 8px;border-radius:6px;
  font-family:monospace;font-size:13px;color:var(--ghh-gray-900);font-weight:700;
}
.ghh-ref-highlight{
  font-family:monospace;font-size:15px;font-weight:700;
  color:var(--ghh-green);background:var(--ghh-green-light);
  padding:3px 10px;border-radius:8px;
}
.ghh-date-cell{white-space:nowrap;color:var(--ghh-gray-500);font-size:13px;}

/* ── Application cards (submissions tab) ────────────────────────────── */
.ghh-app-card{background:#fff;border-radius:14px;box-shadow:var(--ghh-shadow);padding:18px 20px;border-left:4px solid var(--ghh-green);}
.ghh-app-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:12px;}
.ghh-app-card-left{display:flex;flex-direction:column;gap:4px;}
.ghh-app-card-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.ghh-app-form-name{font-size:14px;color:var(--ghh-gray-600);}
.ghh-app-date{font-size:12px;color:var(--ghh-gray-400);}
.ghh-app-remark-preview{
  background:var(--ghh-gray-50);border-radius:8px;padding:10px 14px;
  display:flex;gap:8px;align-items:flex-start;font-size:13px;color:var(--ghh-gray-700);
  margin-bottom:12px;
}
.ghh-app-actions{display:flex;gap:8px;flex-wrap:wrap;}

/* Filter bar */
.ghh-dash-filter-bar{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap;align-items:center;}
.ghh-dash-filter-bar select,.ghh-dash-filter-bar input{padding:9px 12px;border:1.5px solid var(--ghh-gray-200);border-radius:8px;font-size:14px;background:#fff;}

/* ── Entry detail layout ────────────────────────────────────────────── */
.ghh-entry-detail-layout{display:grid;grid-template-columns:1fr 300px;gap:24px;align-items:start;}
.ghh-entry-detail-main{}
.ghh-entry-detail-sidebar{}

/* Status timeline */
.ghh-status-timeline-card{}
.ghh-status-timeline{
  display:flex;align-items:center;padding:20px 24px;gap:0;overflow-x:auto;
}
.ghh-tl-step{
  display:flex;flex-direction:column;align-items:center;gap:6px;
  flex:1;min-width:80px;text-align:center;position:relative;
}
.ghh-tl-step:not(:last-child)::after{
  content:'';position:absolute;right:-50%;top:20px;width:100%;height:2px;
  background:var(--ghh-gray-200);z-index:0;
}
.ghh-tl-done.ghh-tl-step:not(:last-child)::after{background:var(--ghh-green);}
.ghh-tl-icon{
  width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  font-size:18px;background:var(--ghh-gray-100);border:2px solid var(--ghh-gray-200);
  position:relative;z-index:1;transition:var(--ghh-transition);
}
.ghh-tl-step span{font-size:12px;font-weight:500;color:var(--ghh-gray-500);}
.ghh-tl-done .ghh-tl-icon{background:#dcfce7;border-color:var(--ghh-green);}
.ghh-tl-done span{color:var(--ghh-green);font-weight:600;}
.ghh-tl-current .ghh-tl-icon{background:var(--ghh-green);border-color:var(--ghh-green);animation:ghh-pulse 2s infinite;}
.ghh-tl-current span{color:var(--ghh-green-dark);font-weight:700;}
.ghh-tl-hold .ghh-tl-icon{background:#fef9c3;border-color:#ca8a04;}
@keyframes ghh-pulse{0%,100%{box-shadow:0 0 0 0 rgba(22,101,52,.4);}50%{box-shadow:0 0 0 8px rgba(22,101,52,0);}}

/* Remarks enhanced */
.ghh-remark-admin{display:flex;align-items:center;gap:8px;}
.ghh-remark-avatar{
  width:28px;height:28px;border-radius:50%;background:var(--ghh-green);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;flex-shrink:0;
}
.ghh-remark-time{font-size:12px;color:var(--ghh-gray-400);margin-left:auto;}
.ghh-remarks-empty{padding:30px;text-align:center;color:var(--ghh-gray-400);}
.ghh-remarks-empty span{font-size:32px;display:block;margin-bottom:8px;}
.ghh-remarks-empty p{margin:0;font-size:14px;}

/* Summary card */
.ghh-summary-card h3,.ghh-actions-card h3,.ghh-status-guide h3{
  padding:16px 20px;margin:0;font-size:14px;font-weight:700;color:var(--ghh-gray-900);
  border-bottom:1px solid var(--ghh-gray-100);background:var(--ghh-gray-50);
}
.ghh-no-pdf-note{padding:12px 20px;text-align:center;color:var(--ghh-gray-400);}

/* Actions card */
.ghh-action-list{padding:12px;}
.ghh-action-btn{
  display:flex;align-items:center;gap:10px;padding:11px 14px;border-radius:8px;
  text-decoration:none;color:var(--ghh-gray-700);font-size:14px;font-weight:500;
  transition:var(--ghh-transition);margin-bottom:4px;
}
.ghh-action-btn:hover{background:var(--ghh-green-light);color:var(--ghh-green);}

/* Status guide */
.ghh-status-guide-list{padding:12px;}
.ghh-sg-row{
  display:flex;align-items:center;gap:10px;padding:8px 8px;border-radius:8px;
  margin-bottom:4px;font-size:13px;
}
.ghh-sg-row small{color:var(--ghh-gray-500);flex:1;}
.ghh-sg-active{background:var(--ghh-green-light);}

/* ── Profile tab enhancements ───────────────────────────────────────── */
.ghh-profile-layout{display:grid;grid-template-columns:1fr 260px;gap:24px;align-items:start;}
.ghh-profile-main{}
.ghh-profile-sidebar{}
.ghh-form-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.ghh-span-2{grid-column:span 2;}
.ghh-profile-save-btn{margin-top:8px;padding:12px 28px;font-size:15px;}
.ghh-profile-card{padding:28px 20px!important;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px;}
.ghh-profile-avatar-lg{
  width:72px;height:72px;border-radius:50%;background:linear-gradient(135deg,var(--ghh-green),#15803d);
  color:#fff;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:700;
  margin-bottom:4px;
}
.ghh-profile-card strong{font-size:16px;color:var(--ghh-gray-900);}
.ghh-profile-card span{font-size:13px;color:var(--ghh-gray-500);}
.ghh-profile-stats{display:flex;gap:20px;margin-top:12px;padding-top:12px;border-top:1px solid var(--ghh-gray-100);}
.ghh-profile-stats>div{text-align:center;}
.ghh-profile-stats span{display:block;font-size:22px;font-weight:700;color:var(--ghh-gray-900);}
.ghh-profile-stats small{font-size:12px;color:var(--ghh-gray-500);}
.ghh-account-info-card h3{padding:14px 16px;margin:0;font-size:14px;font-weight:600;border-bottom:1px solid var(--ghh-gray-100);}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media(max-width:1100px){
  .ghh-entry-detail-layout,.ghh-profile-layout{grid-template-columns:1fr;}
  .ghh-entry-detail-sidebar,.ghh-profile-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
}
@media(max-width:768px){
  .ghh-avail-forms-grid{grid-template-columns:1fr;}
  .ghh-form-features-row{flex-direction:column;}
  .ghh-kpi-strip{gap:8px;}
  .ghh-kpi-pill{min-width:calc(50% - 4px);padding:12px 10px;}
  .ghh-form-info-bar{flex-direction:column;}
  .ghh-form-grid-2{grid-template-columns:1fr;}
  .ghh-span-2{grid-column:span 1;}
  .ghh-entry-detail-sidebar{grid-template-columns:1fr;}
  .ghh-status-timeline{padding:16px;}
  .ghh-afc-header{flex-direction:column;}
}
@media(max-width:600px){
  .ghh-inline-form-body{padding:16px;}
  .ghh-form-info-bar{padding:16px;}
  .ghh-app-card-header{flex-direction:column;}
  .ghh-fib-badges,.ghh-afc-badges{gap:4px;}
}

/* ================================================================
   GHH MOBILE-FIRST RESPONSIVE OVERHAUL  — v5.1
   Targets: dashboard sidebar/nav, form fill, entry detail, auth card
   ================================================================ */

/* ── Mobile nav bottom bar (replaces sidebar on small screens) ───── */
@media (max-width: 767px) {

  /* Dashboard: stack sidebar above main */
  .ghh-dashboard {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: unset;
  }

  /* Sidebar becomes a top bar */
  .ghh-dash-sidebar {
    width: 100%;
    border-radius: 0;
    padding: 12px 16px 0;
    flex-shrink: 0;
    display: block;
  }

  /* Compact user card */
  .ghh-dash-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.15);
    margin-bottom: 10px;
  }
  .ghh-dash-avatar {
    width: 40px;
    height: 40px;
    font-size: 18px;
    flex-shrink: 0;
  }
  .ghh-dash-user-info strong { font-size: 14px; }
  .ghh-dash-user-info span   { font-size: 12px; }
  .ghh-user-badge            { font-size: 10px; }

  /* Sidebar stats: horizontal row */
  .ghh-sidebar-stats {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
  }
  .ghh-ss-item {
    flex: 1;
    text-align: center;
    padding: 6px 4px;
    border-radius: 8px;
  }
  .ghh-ss-num { font-size: 18px; }

  /* Nav: horizontal scrollable row */
  .ghh-dash-nav {
    display: flex;
    flex-direction: row;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .ghh-dash-nav::-webkit-scrollbar { display: none; }

  .ghh-dash-nav-item {
    flex-shrink: 0;
    flex-direction: column;
    gap: 3px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 11px;
    white-space: nowrap;
    border-left: none;
    border-bottom: 3px solid transparent;
  }
  .ghh-dash-nav-item.active {
    border-left: none;
    border-bottom: 3px solid #d4a017;
    background: rgba(255,255,255,.12);
  }
  .ghh-nav-icon  { font-size: 18px; }
  .ghh-nav-label { font-size: 10px; }
  .ghh-nav-badge { font-size: 9px;  padding: 1px 5px; }

  /* Logout: inline link */
  .ghh-dash-logout {
    padding: 8px 0 12px;
    text-align: right;
  }
  .ghh-btn-logout {
    font-size: 12px;
    padding: 6px 12px;
  }

  /* Main: full width, proper padding */
  .ghh-dash-main {
    width: 100%;
    padding: 16px;
    border-radius: 0;
  }

  /* Section header */
  .ghh-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
  }
  .ghh-section-header h2 { font-size: 18px; }

  /* KPI strip: 2-column grid */
  .ghh-kpi-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
  }
  .ghh-kpi-pill {
    min-width: unset;
    padding: 12px;
    border-radius: 10px;
  }
  .ghh-kpi-val { font-size: 22px; }
  .ghh-kpi-lbl { font-size: 10px; }

  /* Cards */
  .ghh-dash-card { border-radius: 12px; margin-bottom: 14px; }
  .ghh-dash-card-header { padding: 12px 16px; }
  .ghh-dash-card-header h3 { font-size: 14px; }

  /* Table → card layout on mobile */
  .ghh-dash-table { display: none; }

  /* Available forms grid */
  .ghh-avail-forms-grid { grid-template-columns: 1fr; }
  .ghh-avail-form-card  { padding: 16px; }
  .ghh-afc-header { flex-direction: column; gap: 8px; }
  .ghh-afc-badges { gap: 4px; }
  .ghh-afc-badge  { font-size: 11px; padding: 3px 8px; }

  /* Form fill section */
  .ghh-form-fill-section .ghh-breadcrumb { font-size: 12px; }
  .ghh-form-info-bar { flex-direction: column; gap: 10px; padding: 14px 16px; }
  .ghh-fib-left h2   { font-size: 16px; }
  .ghh-form-features-row { display: none; } /* hide feature cards on mobile – saves space */
  .ghh-inline-form-body  { padding: 14px; }
  .ghh-inline-form-header { padding: 14px 16px; }
  .ghh-inline-form-header h3 { font-size: 15px; }

  /* Entry detail */
  .ghh-entry-detail-layout { grid-template-columns: 1fr; gap: 14px; }
  .ghh-entry-detail-sidebar { display: none; } /* Summary/actions hidden on mobile; shown above */

  /* Application cards */
  .ghh-applications-list { display: flex; flex-direction: column; gap: 12px; }
  .ghh-app-card { padding: 14px 16px; }
  .ghh-app-card-header { flex-direction: column; gap: 6px; }
  .ghh-app-card-right  { flex-wrap: wrap; gap: 6px; }
  .ghh-app-actions     { gap: 6px; }

  /* Filter bar */
  .ghh-dash-filter-bar { flex-direction: column; gap: 8px; }
  .ghh-dash-filter-bar select,
  .ghh-dash-filter-bar button { width: 100%; }

  /* Profile */
  .ghh-profile-layout   { grid-template-columns: 1fr; gap: 14px; }
  .ghh-form-grid-2      { grid-template-columns: 1fr; }
  .ghh-span-2           { grid-column: span 1; }
  .ghh-profile-sidebar  { display: flex; flex-direction: column; gap: 12px; }

  /* Remarks */
  .ghh-remark-item   { padding: 12px 14px; }
  .ghh-remark-header { flex-wrap: wrap; gap: 4px; }
  .ghh-remark-time   { font-size: 11px; }

  /* Status timeline: smaller */
  .ghh-status-timeline { padding: 12px 8px; gap: 0; }
  .ghh-tl-icon         { width: 32px; height: 32px; font-size: 14px; }
  .ghh-tl-step span    { font-size: 10px; }

  /* Buttons */
  .ghh-btn-full { padding: 12px; font-size: 14px; }
  .ghh-btn-sm   { font-size: 13px; padding: 8px 14px; }

  /* Summary / info rows */
  .ghh-info-rows { padding: 12px 16px !important; }
  .ghh-info-rows > div { flex-direction: row; justify-content: space-between; font-size: 13px; }

  /* Status guide */
  .ghh-status-guide { display: none; } /* remove on mobile */

  /* Pagination */
  .ghh-pagination { gap: 4px; }
  .ghh-page-btn   { width: 34px; height: 34px; font-size: 13px; }
}

/* ── Tablet tweaks (768–1024) ──────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1024px) {
  .ghh-dashboard { gap: 16px; }
  .ghh-dash-sidebar { width: 220px; min-width: 220px; }
  .ghh-kpi-strip { flex-wrap: wrap; }
  .ghh-kpi-pill  { min-width: calc(50% - 8px); }
  .ghh-entry-detail-layout { grid-template-columns: 1fr 260px; }
  .ghh-avail-forms-grid    { grid-template-columns: 1fr; }
  .ghh-profile-layout      { grid-template-columns: 1fr 240px; }
}

/* ── Auth card mobile ──────────────────────────────────────────────── */
@media (max-width: 480px) {
  .ghh-auth-wrap { padding: 8px; align-items: flex-start; min-height: unset; }
  .ghh-auth-card { padding: 24px 20px; border-radius: 16px; margin-top: 12px; }
  .ghh-auth-brand img { max-height: 48px; }
  .ghh-auth-tabs { margin-bottom: 20px; }
  .ghh-auth-tab  { font-size: 14px; padding: 10px 16px; }
  .ghh-auth-field label { font-size: 12px; }
  .ghh-auth-field input { padding: 11px 14px; font-size: 14px; }
  .ghh-auth-btn  { padding: 13px; font-size: 15px; }
  .ghh-auth-footer { font-size: 12px; }
  .ghh-pw-strength-bar { margin-top: 6px; }
}

/* ── Form (ghhfb/ghhsf) mobile ─────────────────────────────────────── */
@media (max-width: 600px) {
  .ghhfb-form, .ghhsf-form { padding: 16px 14px 20px; }
  .ghhfb-fields-grid, .ghhsf-fields-grid { grid-template-columns: 1fr; }
  .ghhfb-name-group, .ghhfb-address-group { grid-template-columns: 1fr; }
  .ghhfb-steps { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ghhfb-step  { min-width: 70px; }
  .ghhfb-nav-btns { flex-direction: column; gap: 8px; }
  .ghhfb-nav-btns .ghh-btn { width: 100%; justify-content: center; }
  .ghhfb-submit { min-width: unset; width: 100%; }
  .ghhsf-fields-grid [class*="ghhsf-field"] { grid-column: 1 / -1; }
  .ghhsf-steps-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ghhsf-step-tab  { min-width: 90px; padding: 10px 6px; }
  .ghhsf-step-label { font-size: .65rem; }
  /* ACK card */
  .ghhfb-ack-card { padding: 28px 16px; }
  .ghhfb-ref-val  { font-size: 1.2rem; }
  .ghhfb-ack-table th, .ghhfb-ack-table td { padding: 5px 6px; font-size: .8rem; }
}

/* ── Submission Deadline (added v8.3) ──────────────────────────────────── */
.ghh-deadline-notice{
  background:#fffbeb;border:2px dashed #fbbf24;border-radius:var(--ghh-radius);
  padding:36px 24px;text-align:center;margin:0 20px 20px;
}
.ghh-deadline-icon{font-size:32px;margin-bottom:8px;}
.ghh-deadline-notice h3{margin:0 0 8px;font-size:17px;color:#92400e;}
.ghh-deadline-notice p{margin:0;font-size:14px;color:#78716c;line-height:1.5;white-space:pre-line;}

.ghh-badge-closed{background:#fef3c7;color:#92400e;}

.ghh-afc-closed-notice{
  display:flex;gap:10px;align-items:flex-start;background:#fffbeb;
  border:1.5px solid #fde68a;border-radius:10px;padding:12px 14px;
}
.ghh-afc-closed-icon{font-size:18px;line-height:1;}
.ghh-afc-closed-text strong{display:block;font-size:13px;color:#92400e;margin-bottom:2px;}
.ghh-afc-closed-text p{margin:0;font-size:12px;color:#a16207;line-height:1.4;}

.ghh-fqc-closed-badge{
  font-size:11px;font-weight:600;color:#92400e;background:#fef3c7;
  padding:3px 9px;border-radius:99px;white-space:nowrap;
}
