/* ============================================================
   MUREZA / MAVE Supplier Portal — Extended Sections & Modal Styles
   Matches the luxury automotive aesthetic:
     Base: #140e09 / #0d0906, Gold: #cf8f45, Ink: #f7f2ea
   ============================================================ */

/* Hero Container Pinning */
.hero-container {
  position: relative;
  height: 400vh;
  width: 100%;
  max-width: 100%;
  overflow: visible !important;
}

.stage {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  bottom: auto !important;
  left: 0 !important;
  right: 0 !important;
  height: 100vh !important;
  height: 100dvh !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  z-index: 10;
}

/* Make sure service bar items are interactive */
.service {
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.service:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.hotspot {
  cursor: pointer;
}

.explore {
  cursor: pointer;
}

/* ============================================================
   PORTAL CONTENT SECTIONS (FLOW BELOW HERO)
   ============================================================ */
.portal-content {
  position: relative;
  z-index: 20;
  background: #140e09;
  color: var(--ink);
  min-height: 100vh;
  box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.9);
  border-top: 1px solid rgba(207, 143, 69, 0.3);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.portal-wrapper {
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 32px 100px;
  box-sizing: border-box;
}

/* Section Headers */
.portal-section-head {
  margin-bottom: 56px;
  max-width: 860px;
}

.portal-kicker {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.portal-kicker::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.portal-title {
  font-size: clamp(28px, 2.5vw, 42px);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink);
  line-height: 1.15;
  text-transform: uppercase;
}

.portal-subtitle {
  font-size: clamp(14px, 0.95vw, 17px);
  color: var(--ink-dim);
  margin-top: 14px;
  line-height: 1.6;
}

/* ============================================================
   TIERS & PRICING GRID
   ============================================================ */
.portal-tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
  margin-bottom: 96px;
}

.portal-tier-card {
  background: #1c150e;
  border: 1px solid rgba(207, 143, 69, 0.2);
  border-radius: 8px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.portal-tier-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(207, 143, 69, 0.1);
}

.portal-tier-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.portal-tier-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid currentColor;
  text-transform: uppercase;
}

.portal-tier-capacity {
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
}

.portal-tier-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 4px;
}

.portal-tier-sub {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.portal-tier-pricing-box {
  background: rgba(207, 143, 69, 0.07);
  border: 1px solid rgba(207, 143, 69, 0.25);
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.portal-pricing-amount {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.portal-pricing-term {
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.portal-tier-focus-title {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}

.portal-tier-focus-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  flex: 1;
}

.portal-tier-focus-list li {
  font-size: 13px;
  color: var(--ink-dim);
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.portal-tier-focus-list li::before {
  content: "—";
  color: var(--gold);
}

.portal-tier-cta-btn {
  background: var(--gold);
  color: #0d0906;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 24px;
  border-radius: 4px;
  border: 1px solid var(--gold);
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.portal-tier-cta-btn:hover {
  background: #e2a053;
  box-shadow: 0 0 20px rgba(207, 143, 69, 0.3);
}

/* ============================================================
   CONTINENTAL STRATEGIC PILLARS & AfCFTA
   ============================================================ */
.strategic-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 96px;
}

.strategic-pillar-card {
  background: #18120c;
  border: 1px solid rgba(207, 143, 69, 0.15);
  border-radius: 8px;
  padding: 32px 24px;
  position: relative;
  transition: border-color 0.2s ease;
}

.strategic-pillar-card:hover {
  border-color: rgba(207, 143, 69, 0.4);
}

.pillar-code {
  font-size: 32px;
  font-weight: 700;
  color: rgba(207, 143, 69, 0.25);
  margin-bottom: 16px;
  font-family: monospace;
}

.pillar-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pillar-desc {
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.6;
}

/* Statistics row */
.stats-banner {
  background: rgba(207, 143, 69, 0.05);
  border: 1px solid rgba(207, 143, 69, 0.2);
  border-radius: 8px;
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 96px;
  text-align: center;
}

.stats-banner-num {
  font-size: 42px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stats-banner-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
  text-transform: uppercase;
}

/* ============================================================
   APPLICATION TRACKING LOOKUP SECTION
   ============================================================ */
.tracking-box {
  background: #18120c;
  border: 1px solid rgba(207, 143, 69, 0.25);
  border-radius: 8px;
  padding: 40px;
  max-width: 760px;
  margin: 0 auto 96px;
  text-align: center;
}

.tracking-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 10px;
}

.tracking-desc {
  font-size: 13px;
  color: var(--ink-faint);
  margin-bottom: 24px;
}

.tracking-form {
  display: flex;
  gap: 12px;
  max-width: 540px;
  margin: 0 auto;
}

.tracking-input {
  flex: 1;
  background: #0f0a07;
  border: 1px solid rgba(207, 143, 69, 0.3);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 4px;
  outline: none;
}

.tracking-input:focus {
  border-color: var(--gold);
}

.tracking-result-card {
  margin-top: 24px;
  background: #110c08;
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 24px;
  text-align: left;
  display: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.portal-footer {
  border-top: 1px solid rgba(207, 143, 69, 0.15);
  padding: 48px 32px;
  background: #0c0805;
}

.footer-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  text-transform: uppercase;
}

.footer-links a:hover {
  color: var(--gold);
}

/* ============================================================
   REGISTRATION & DOCUMENT SUBMISSION MODAL
   ============================================================ */
.reg-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 7, 5, 0.9);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.reg-modal-overlay.open,
.reg-modal-overlay:target {
  display: flex !important;
}

.reg-modal-box,
.reg-modal-card {
  background: #17110b;
  border: 1px solid rgba(207, 143, 69, 0.3);
  border-radius: 10px;
  width: 100%;
  max-width: 760px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(207, 143, 69, 0.15);
  display: flex;
  flex-direction: column;
}

.reg-modal-header {
  padding: 24px 32px;
  border-bottom: 1px solid rgba(207, 143, 69, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #130d08;
}

.reg-modal-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-transform: uppercase;
}

.reg-modal-sub {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}

.reg-modal-body {
  padding: 32px;
}

.reg-modal-footer {
  padding: 20px 32px;
  border-top: 1px solid rgba(207, 143, 69, 0.2);
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  background: #130d08;
}

/* Upload Dropzone */
.dropzone {
  border: 2px dashed rgba(207, 143, 69, 0.35);
  border-radius: 6px;
  padding: 28px;
  text-align: center;
  background: rgba(207, 143, 69, 0.03);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 8px;
}

.dropzone:hover,
.dropzone.dragover {
  border-color: var(--gold);
  background: rgba(207, 143, 69, 0.08);
}

.dropzone-icon {
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
}

.dropzone-text {
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
}

.dropzone-hint {
  font-size: 11px;
  color: var(--ink-faint);
  margin-top: 4px;
}

.file-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(207, 143, 69, 0.15);
  border: 1px solid var(--gold);
  color: var(--ink);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 4px;
  margin-top: 10px;
}

/* Success Confirmation Screen */
.success-screen {
  text-align: center;
  padding: 40px 20px;
}

.success-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(59, 178, 115, 0.15);
  border: 2px solid #4ade80;
  color: #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
}

.success-tracking-code {
  font-size: 28px;
  font-family: monospace;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin: 16px 0;
  padding: 12px 20px;
  background: rgba(207, 143, 69, 0.08);
  border: 1px solid rgba(207, 143, 69, 0.3);
  display: inline-block;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .portal-tiers-grid {
    grid-template-columns: 1fr;
  }
  .portal-wrapper {
    padding: 60px 20px;
  }
  .tracking-form {
    flex-direction: column;
  }
}

/* ============================================================
   SHARED FORM CONTROLS (PORTAL REGISTRATION)
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  font-weight: 600;
  text-transform: uppercase;
}

.form-input,
.form-select,
.form-textarea {
  background: #100b07;
  border: 1px solid rgba(207, 143, 69, 0.25);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(207, 143, 69, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.5;
}

/* ============================================================
   SHARED MODAL & DOCUMENT INSPECTION (EXPLODED ARCHITECTURE)
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 7, 5, 0.88);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: #140e09;
  border: 1px solid rgba(207, 143, 69, 0.3);
  border-radius: 8px;
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(207, 143, 69, 0.15);
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 20px 28px;
  border-bottom: 1px solid rgba(207, 143, 69, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #100b07;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--ink-faint);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--gold);
}

.modal-body {
  padding: 28px;
  flex: 1;
}

.modal-footer {
  padding: 20px 28px;
  border-top: 1px solid rgba(207, 143, 69, 0.2);
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  background: #100b07;
}

.doc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(207, 143, 69, 0.04);
  border: 1px solid rgba(207, 143, 69, 0.18);
  border-radius: 6px;
  transition: border-color 0.2s ease;
}

.doc-item:hover {
  border-color: rgba(207, 143, 69, 0.4);
}

.doc-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.doc-icon {
  font-size: 18px;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sys-code-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: rgba(207, 143, 69, 0.12);
  border: 1px solid rgba(207, 143, 69, 0.35);
  border-radius: 4px;
  padding: 4px 8px;
  flex-shrink: 0;
}

.doc-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.doc-meta {
  font-size: 11px;
  color: var(--ink-faint);
  margin-top: 2px;
}

/* Button styles matching executive brand */
.cms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  text-decoration: none;
}

.cms-btn-gold {
  background: var(--gold);
  color: #0a0705;
  border-color: var(--gold);
}

.cms-btn-gold:hover {
  background: #deb06c;
  box-shadow: 0 0 16px rgba(207, 143, 69, 0.35);
}

.cms-btn-outline {
  background: transparent;
  color: var(--ink-dim);
  border-color: rgba(207, 143, 69, 0.3);
}

.cms-btn-outline:hover {
  color: var(--ink);
  border-color: var(--gold);
  background: rgba(207, 143, 69, 0.08);
}

/* ============================================================
   3D DIGITAL TWIN VIEWER STYLES
   ============================================================ */
.twin-3d-viewport {
  position: relative;
  width: 100%;
  height: 320px;
  background: #0e0c0a;
  border: 1px solid rgba(207, 143, 69, 0.25);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
}

#twin3DCanvasContainer {
  width: 100%;
  height: 100%;
  cursor: grab;
}

#twin3DCanvasContainer:active {
  cursor: grabbing;
}

.twin-hud-overlay {
  position: absolute;
  top: 14px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
  z-index: 2;
}

.twin-hud-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.twin-hud-meta {
  font-size: 11px;
  color: var(--gold);
  margin-top: 3px;
}

.twin-hud-badge {
  background: rgba(14, 10, 7, 0.75);
  border: 1px solid rgba(207, 143, 69, 0.35);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.twin-toolbar {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  z-index: 2;
  flex-wrap: wrap;
}

.twin-tool-btn {
  background: rgba(14, 10, 7, 0.8);
  border: 1px solid rgba(207, 143, 69, 0.35);
  color: var(--ink-dim);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.twin-tool-btn:hover,
.twin-tool-btn.active {
  color: #0e0c0a;
  background: var(--gold);
  border-color: var(--gold);
}

.twin-pills-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 16px;
}

.twin-pill {
  background: rgba(207, 143, 69, 0.06);
  border: 1px solid rgba(207, 143, 69, 0.2);
  color: var(--ink-dim);
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.twin-pill:hover,
.twin-pill.active {
  color: var(--ink);
  border-color: var(--gold);
  background: rgba(207, 143, 69, 0.18);
}

/* ============================================================
   TENDERS & RFPs SHOWCASE SECTION STYLES
   ============================================================ */
.tenders-filter-row {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.tender-filter-btn {
  background: rgba(207, 143, 69, 0.05);
  border: 1px solid rgba(207, 143, 69, 0.22);
  color: var(--ink-dim);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tender-filter-btn:hover,
.tender-filter-btn.active {
  color: #0b0907;
  background: var(--gold);
  border-color: var(--gold);
}

.tenders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.tender-card {
  background: rgba(20, 16, 12, 0.85);
  border: 1px solid rgba(207, 143, 69, 0.22);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(8px);
}

.tender-card:hover {
  transform: translateY(-3px);
  border-color: rgba(207, 143, 69, 0.55);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.tender-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 10px;
}

.tender-ref-badge {
  font-family: monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: rgba(207, 143, 69, 0.1);
  border: 1px solid rgba(207, 143, 69, 0.3);
  padding: 4px 10px;
  border-radius: 3px;
}

.tender-status-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 100px;
  border: 1px solid rgba(104, 211, 145, 0.4);
  color: #68d391;
  background: rgba(104, 211, 145, 0.1);
}

.tender-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 8px;
}

.tender-category {
  font-size: 12px;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 14px;
}

.tender-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px;
  background: rgba(14, 10, 7, 0.5);
  border: 1px solid rgba(207, 143, 69, 0.12);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.tender-meta-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}

.tender-meta-val {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 2px;
}

.tender-scope-text {
  font-size: 12px;
  color: var(--ink-dim);
  line-height: 1.5;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tender-action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(207, 143, 69, 0.15);
  margin-top: auto;
}

.tender-deadline-box {
  font-size: 11px;
  color: var(--ink-faint);
}

.tender-deadline-val {
  color: #fbbf24;
  font-weight: 600;
}

/* ============================================================
   RESPONSIVE MOBILE STYLES (SCREEN FIT & OVERFLOW PREVENTION)
   ============================================================ */
@media (max-width: 860px) {
  .portal-wrapper {
    padding: 36px 16px 80px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .portal-section-head {
    margin-bottom: 32px !important;
    width: 100% !important;
  }

  .portal-title {
    font-size: clamp(24px, 6vw, 32px) !important;
    line-height: 1.2 !important;
    word-break: break-word !important;
  }

  .portal-subtitle {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  .portal-tiers-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-bottom: 48px !important;
    width: 100% !important;
  }

  .portal-tier-card {
    padding: 22px 18px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .tenders-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-bottom: 40px !important;
    width: 100% !important;
  }

  .tender-card {
    padding: 20px 16px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .reg-modal-overlay,
  .modal-overlay {
    padding: 10px !important;
    box-sizing: border-box !important;
  }

  .reg-modal-box,
  .modal-box {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 94vh !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
  }

  .reg-modal-header,
  .reg-modal-body,
  .reg-modal-footer,
  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 16px 14px !important;
    box-sizing: border-box !important;
  }

  .track-search-bar {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .track-search-bar input {
    width: 100% !important;
  }

  .track-search-bar button {
    width: 100% !important;
  }
}


