/* ================================================================
   TENDER MANAGEMENT WEB APP
   Brand: Arab MD Group | arabmdgroup.com
   Colors: Primary #4759A2 | Navy #140C81 | Gold #d4af37 | Crimson #8E0C31
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;900&family=Cairo:wght@300;400;600;700;900&display=swap');

/* ── CSS Variables ──────────────────────────────────────────── */
:root {
  --primary:        #4759A2;
  --primary-dark:   #140C81;
  --primary-light:  #6b7fc4;
  --primary-ultra:  #e8ebf7;
  --gold:           #d4af37;
  --gold-dark:      #b8960a;
  --crimson:        #8E0C31;
  --success:        #20c997;
  --warning:        #ffc107;
  --danger:         #dc3545;
  --info:           #17a2b8;
  --white:          #ffffff;
  --bg:             #f0f2f8;
  --bg2:            #e8ebf7;
  --card-bg:        #ffffff;
  --border:         #d8ddf0;
  --text:           #1a1d35;
  --text-muted:     #6b7090;
  --sidebar-width:  270px;
  --topbar-height:  64px;
  --radius:         12px;
  --shadow:         0 4px 20px rgba(71,89,162,0.12);
  --shadow-lg:      0 8px 40px rgba(71,89,162,0.2);
  --transition:     all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Tajawal', 'Cairo', sans-serif;
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  min-height: 100vh;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 3px; }

/* ── Layout ─────────────────────────────────────────────────── */
.app-wrapper { display: flex; min-height: 100vh; }

/* ── Sidebar ─────────────────────────────────────────────────── */
#sidebar {
  width: var(--sidebar-width);
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
  position: fixed; top: 0; right: 0;
  height: 100vh;
  display: flex; flex-direction: column;
  z-index: 1000;
  transition: var(--transition);
  box-shadow: -4px 0 30px rgba(0,0,0,0.2);
}
#sidebar.collapsed { width: 70px; }

.sidebar-header {
  padding: 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; gap: 12px;
}
.sidebar-logo img {
  height: 48px; width: auto;
  filter: brightness(10);
  transition: var(--transition);
}
.sidebar-brand { color: var(--white); }
.sidebar-brand h2 { font-size: 0.85rem; font-weight: 700; line-height: 1.3; }
.sidebar-brand span { font-size: 0.7rem; opacity: 0.7; }
#sidebar.collapsed .sidebar-brand { display: none; }
#sidebar.collapsed .sidebar-logo img { height: 36px; }

.sidebar-nav { flex: 1; padding: 16px 0; overflow-y: auto; }
.nav-section-title {
  color: rgba(255,255,255,0.4);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 12px 20px 6px;
  transition: var(--transition);
}
#sidebar.collapsed .nav-section-title { opacity: 0; }

.nav-item { margin: 2px 10px; }
.nav-link {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.nav-link.active {
  background: rgba(255,255,255,0.18);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.nav-link .nav-icon { font-size: 1.2rem; min-width: 24px; text-align: center; }
.nav-link .nav-label { transition: var(--transition); }
#sidebar.collapsed .nav-label { display: none; }

.nav-badge {
  margin-right: auto;
  background: var(--gold);
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
}
#sidebar.collapsed .nav-badge { display: none; }

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.sidebar-user {
  display: flex; align-items: center; gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  transition: var(--transition);
}
.sidebar-user:hover { background: rgba(255,255,255,0.15); }
.user-avatar {
  width: 36px; height: 36px;
  background: var(--gold);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700; color: #000;
  min-width: 36px;
}
.user-info { color: var(--white); flex: 1; }
.user-info .name { font-size: 0.8rem; font-weight: 600; line-height: 1.2; }
.user-info .role { font-size: 0.65rem; opacity: 0.6; }
#sidebar.collapsed .user-info, #sidebar.collapsed .sidebar-footer .icon-logout { display: none; }

/* ── Main Content ───────────────────────────────────────────── */
#main-content {
  flex: 1;
  margin-right: var(--sidebar-width);
  min-height: 100vh;
  display: flex; flex-direction: column;
  transition: var(--transition);
}
#main-content.expanded { margin-right: 70px; }

/* ── Topbar ──────────────────────────────────────────────────── */
#topbar {
  height: var(--topbar-height);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  position: sticky; top: 0; z-index: 900;
  box-shadow: 0 2px 12px rgba(71,89,162,0.07);
}
.topbar-left { display: flex; align-items: center; gap: 16px; }
.btn-toggle-sidebar {
  background: var(--primary-ultra);
  border: none; cursor: pointer;
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--primary);
  transition: var(--transition);
}
.btn-toggle-sidebar:hover { background: var(--primary); color: var(--white); }

.page-title h1 { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.page-title p { font-size: 0.75rem; color: var(--text-muted); }

.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-btn {
  position: relative;
  background: var(--primary-ultra);
  border: none; cursor: pointer;
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--primary);
  transition: var(--transition);
}
.topbar-btn:hover { background: var(--primary); color: var(--white); }
.topbar-btn .badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--danger); color: var(--white);
  font-size: 0.6rem; font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--white);
}
.topbar-search {
  display: flex; align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 14px;
  gap: 8px; width: 240px;
}
.topbar-search input {
  border: none; background: transparent;
  font-family: inherit; font-size: 0.85rem;
  color: var(--text); outline: none; flex: 1;
  direction: rtl;
}
.topbar-search .search-icon { color: var(--text-muted); font-size: 0.9rem; }

/* ── Page Content ───────────────────────────────────────────── */
.page-content { padding: 24px; flex: 1; }
.page { display: none; }
.page.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ── Stat Cards ─────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px; margin-bottom: 24px;
}
.stat-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: space-between;
  position: relative; overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border);
  cursor: default;
}
.stat-card::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 4px; height: 100%;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.stat-card.blue::before   { background: var(--primary); }
.stat-card.navy::before   { background: var(--primary-dark); }
.stat-card.gold::before   { background: var(--gold); }
.stat-card.green::before  { background: var(--success); }
.stat-card.red::before    { background: var(--danger); }
.stat-card.crimson::before{ background: var(--crimson); }

.stat-info h3 { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; margin-bottom: 6px; }
.stat-info .value { font-size: 2rem; font-weight: 900; color: var(--text); line-height: 1; }
.stat-info .sub { font-size: 0.72rem; color: var(--text-muted); margin-top: 4px; }
.stat-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.stat-card.blue  .stat-icon { background: rgba(71,89,162,0.12); color: var(--primary); }
.stat-card.navy  .stat-icon { background: rgba(20,12,129,0.12); color: var(--primary-dark); }
.stat-card.gold  .stat-icon { background: rgba(212,175,55,0.15); color: var(--gold-dark); }
.stat-card.green .stat-icon { background: rgba(32,201,151,0.12); color: var(--success); }
.stat-card.red   .stat-icon { background: rgba(220,53,69,0.12); color: var(--danger); }
.stat-card.crimson .stat-icon { background: rgba(142,12,49,0.12); color: var(--crimson); }

/* ── Charts Section ─────────────────────────────────────────── */
.charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px; margin-bottom: 24px;
}
.chart-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.chart-card.wide { grid-column: span 2; }
.chart-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.chart-card-title { font-size: 0.9rem; font-weight: 700; color: var(--text); }
.chart-card-subtitle { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }
canvas { max-width: 100%; }

/* ── Cards / Panels ──────────────────────────────────────────── */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--bg);
}
.card-title { font-size: 1rem; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 8px; }
.card-title .icon { color: var(--primary); }

/* ── Tables ──────────────────────────────────────────────────── */
.table-wrapper { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.87rem;
}
thead tr {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
}
thead th {
  padding: 13px 16px;
  text-align: right;
  font-weight: 600;
  font-size: 0.82rem;
  white-space: nowrap;
  cursor: pointer;
}
thead th:hover { background: rgba(255,255,255,0.1); }
tbody tr {
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
tbody tr:hover { background: var(--primary-ultra); }
tbody td {
  padding: 12px 16px;
  vertical-align: middle;
}
.td-truncate { max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Status Badges ───────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  gap: 5px;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; }
.badge-draft      { background: #f0f0f0; color: #666; }
.badge-submitted  { background: rgba(71,89,162,0.12); color: var(--primary); }
.badge-under-review { background: rgba(255,193,7,0.15); color: #b8860b; }
.badge-won        { background: rgba(32,201,151,0.15); color: #0f8a5f; }
.badge-lost       { background: rgba(220,53,69,0.12); color: var(--danger); }
.badge-ongoing    { background: rgba(212,175,55,0.15); color: var(--gold-dark); }
.badge-not-sub    { background: rgba(142,12,49,0.1); color: var(--crimson); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px;
  border-radius: 9px;
  border: none; cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem; font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.btn:focus { outline: none; }
.btn-primary { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: var(--white); box-shadow: 0 4px 15px rgba(71,89,162,0.35); }
.btn-primary:hover { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(71,89,162,0.45); }
.btn-gold { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: #000; box-shadow: 0 4px 15px rgba(212,175,55,0.35); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(212,175,55,0.45); }
.btn-success { background: #1ab188; color: var(--white); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-outline {
  background: transparent; border: 1.5px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-sm { padding: 6px 12px; font-size: 0.78rem; border-radius: 7px; }
.btn-icon { width: 32px; height: 32px; padding: 0; justify-content: center; font-size: 0.85rem; border-radius: 8px; }

/* ── Forms ───────────────────────────────────────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
label {
  font-size: 0.82rem; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 5px;
}
label .required { color: var(--danger); }
.form-control {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-family: inherit; font-size: 0.87rem;
  color: var(--text); background: var(--white);
  transition: var(--transition);
  direction: rtl;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(71,89,162,0.12); }
textarea.form-control { resize: vertical; min-height: 90px; }

/* ── Search Bar ──────────────────────────────────────────────── */
.search-bar {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px; padding: 10px 16px;
  margin-bottom: 18px;
}
.search-bar input {
  flex: 1; border: none; background: transparent;
  font-family: inherit; font-size: 0.88rem;
  color: var(--text); outline: none; direction: rtl;
}
.search-bar .icon { color: var(--text-muted); }

/* ── Filters Row ─────────────────────────────────────────────── */
.filters-row {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  margin-bottom: 18px;
}
.filter-select {
  padding: 8px 14px;
  border-radius: 9px; border: 1.5px solid var(--border);
  background: var(--white); font-family: inherit; font-size: 0.82rem;
  color: var(--text); cursor: pointer; direction: rtl;
}
.filter-select:focus { outline: none; border-color: var(--primary); }

/* ── Pagination ──────────────────────────────────────────────── */
.pagination {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px;
  font-size: 0.82rem; color: var(--text-muted);
}
.pag-btns { display: flex; gap: 5px; }
.pag-btn {
  width: 33px; height: 33px; border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--white); font-family: inherit;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; transition: var(--transition);
}
.pag-btn:hover, .pag-btn.active {
  background: var(--primary); color: var(--white); border-color: var(--primary);
}

/* ── BOQ Modal / Side Panel ──────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 2000;
  display: none; align-items: center; justify-content: center;
  backdrop-filter: blur(3px);
}
.modal-overlay.show { display: flex; }
.modal {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  width: min(95vw, 760px);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  animation: modalIn 0.3s ease;
  direction: rtl;
}
.modal.wide { width: min(95vw, 1000px); }
@keyframes modalIn { from { opacity: 0; transform: scale(0.9) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--bg);
}
.modal-title { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.modal-close {
  background: var(--bg); border: none; cursor: pointer;
  width: 34px; height: 34px; border-radius: 8px;
  font-size: 1rem; color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: var(--danger); color: var(--white); }
.modal-footer { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; padding-top: 14px; border-top: 2px solid var(--bg); }

/* ── BOQ Sub-table ───────────────────────────────────────────── */
.boq-table th, .boq-table td { font-size: 0.8rem; padding: 8px 10px; }
.boq-input {
  width: 100%; padding: 5px 9px;
  border: 1px solid var(--border); border-radius: 6px;
  font-family: inherit; font-size: 0.8rem; direction: rtl;
}
.boq-input:focus { outline: none; border-color: var(--primary); }

/* ── Charts toggle button ────────────────────────────────────── */
.toggle-charts-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--primary-ultra);
  border: 1.5px solid var(--primary);
  color: var(--primary);
  padding: 7px 14px; border-radius: 9px;
  font-family: inherit; font-size: 0.82rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
}
.toggle-charts-btn:hover { background: var(--primary); color: var(--white); }

/* ── Progress bars ───────────────────────────────────────────── */
.progress-bar-wrap { background: var(--bg); border-radius: 20px; height: 8px; overflow: hidden; }
.progress-bar { height: 100%; border-radius: 20px; transition: width 1.2s ease; }

/* ── Deadline Alerts ─────────────────────────────────────────── */
.alert-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  border-radius: 10px; margin-bottom: 10px;
  border-right: 4px solid;
}
.alert-urgent { background: rgba(220,53,69,0.07); border-color: var(--danger); }
.alert-soon   { background: rgba(212,175,55,0.08); border-color: var(--gold); }
.alert-ok     { background: rgba(32,201,151,0.07); border-color: var(--success); }

/* ── Upload zone ─────────────────────────────────────────────── */
.upload-zone {
  border: 2px dashed var(--primary-light);
  border-radius: 12px; padding: 30px;
  text-align: center; cursor: pointer;
  transition: var(--transition); color: var(--text-muted);
}
.upload-zone:hover { border-color: var(--primary); background: var(--primary-ultra); }
.upload-zone .upload-icon { font-size: 2.5rem; color: var(--primary-light); margin-bottom: 8px; }

/* ── Login Page ──────────────────────────────────────────────── */
#login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #6b7fc4 100%);
  display: flex; align-items: center; justify-content: center;
  direction: rtl;
}
.login-card {
  background: var(--white);
  border-radius: 20px;
  padding: 48px 40px;
  width: min(95vw, 440px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  animation: modalIn 0.4s ease;
}
.login-logo { text-align: center; margin-bottom: 28px; }
.login-logo img { height: 64px; margin-bottom: 10px; }
.login-logo h2 { font-size: 1.1rem; font-weight: 700; color: var(--primary); }
.login-logo p { font-size: 0.78rem; color: var(--text-muted); }
.login-form { display: flex; flex-direction: column; gap: 16px; }

/* ── Notification toast ──────────────────────────────────────── */
#toast-container { position: fixed; bottom: 24px; left: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--white);
  border-radius: 12px; padding: 14px 18px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
  display: flex; align-items: center; gap: 12px;
  min-width: 280px; font-size: 0.87rem;
  border-right: 4px solid var(--primary);
  animation: toastIn 0.35s ease;
}
.toast.success { border-color: var(--success); }
.toast.error { border-color: var(--danger); }
.toast.warning { border-color: var(--gold); }
@keyframes toastIn { from { transform: translateX(-100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ── Quick Stats Row ─────────────────────────────────────────── */
.quick-stats {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px;
}
.quick-stat {
  flex: 1; min-width: 120px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white); border-radius: 12px;
  padding: 16px 18px; text-align: center;
}
.quick-stat .qs-val { font-size: 1.7rem; font-weight: 900; }
.quick-stat .qs-label { font-size: 0.72rem; opacity: 0.8; margin-top: 2px; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  #sidebar { width: 70px; }
  #sidebar .sidebar-brand, #sidebar .nav-label, #sidebar .nav-section-title,
  #sidebar .nav-badge, #sidebar .user-info { display: none; }
  #main-content { margin-right: 70px; }
  .charts-grid { grid-template-columns: 1fr; }
  .chart-card.wide { grid-column: span 1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .page-content { padding: 14px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  #topbar { padding: 0 14px; }
  .topbar-search { display: none; }
  .form-grid { grid-template-columns: 1fr; }
}
