/* ==========================================================================
   SBMARTO - B2B Construction Marketplace & Lead Management System
   A Sri Balaji Group Initiative
   Production CSS - Full-Width Dedicated Pages
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary: #F25C05;
  --primary-hover: #D94E00;
  --primary-light: #FFF4ED;
  --primary-gradient: linear-gradient(135deg, #FF6F1E 0%, #F25C05 100%);
  --primary-gradient-soft: linear-gradient(135deg, #FFF6F0 0%, #FFEDE3 100%);
  
  --dark: #0F172A;
  --dark-surface: #1E293B;
  --dark-muted: #334155;
  --text-primary: #1E293B;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;
  
  --bg-main: #F8FAFC;
  --bg-card: #FFFFFF;
  --border-color: #E2E8F0;
  --border-light: #F1F5F9;

  --color-blue: #2563EB;
  --color-blue-bg: #EFF6FF;
  --color-green: #10B981;
  --color-green-bg: #ECFDF5;
  --color-amber: #F59E0B;
  --color-amber-bg: #FFFBEB;
  --color-purple: #7C3AED;
  --color-purple-bg: #F5F3FF;
  --color-cyan: #06B6D4;
  --color-cyan-bg: #ECFEFF;

  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-orange: 0 8px 20px -4px rgba(242, 92, 5, 0.35);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;

  --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

/* ==========================================================================
   TOP GLOBAL SITE NAVIGATION BAR (Present across all pages)
   ========================================================================== */
.global-role-bar {
  background: #0B1120;
  color: #FFFFFF;
  padding: 8px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--primary);
  font-size: 13px;
}

.global-role-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.role-pill-link {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #E2E8F0;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.role-pill-link:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.role-pill-link.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(242, 92, 5, 0.4);
}

/* ==========================================================================
   PAGE HEADER & BRANDING
   ========================================================================== */
.sb-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  padding: 14px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 100;
}

.sb-logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.sb-brand-logo-img {
  height: 52px !important;
  max-height: 54px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;
  display: block;
  transition: transform 0.2s ease;
}

.sb-brand-logo-img:hover {
  transform: scale(1.02);
}

.sb-brand-logo-img-dark {
  height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.sb-brand-logo-img-footer {
  height: 48px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
  background: #FFFFFF;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sb-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 900;
  font-size: 22px;
  box-shadow: 0 4px 10px rgba(242, 92, 5, 0.3);
}

.sb-logo-text {
  display: flex;
  flex-direction: column;
}

.sb-brand-name {
  font-size: 22px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.sb-brand-name span {
  color: var(--primary);
}

.sb-brand-slogan {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 0.2px;
}

.sb-nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.sb-nav-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.15s ease;
}

.sb-nav-link:hover, .sb-nav-link.active {
  color: var(--primary);
}

.sb-nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-login {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-login:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-start-selling {
  background: var(--primary-gradient);
  color: #FFFFFF;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-orange);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-start-selling:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -4px rgba(242, 92, 5, 0.45);
}

/* User Profile Widget */
.user-profile-widget {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  transition: background 0.2s;
}

.user-profile-widget:hover {
  background: var(--border-light);
}

.user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}

.user-avatar.buyer { background: #DBEAFE; color: #1E40AF; }
.user-avatar.seller { background: #FEF3C7; color: #92400E; }
.user-avatar.employee { background: #FCE7F3; color: #9D174D; }
.user-avatar.admin { background: #E0E7FF; color: #3730A3; }

.user-name {
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.2;
}

.user-role-badge {
  font-size: 11.5px;
  color: var(--text-secondary);
  font-weight: 500;
}

.portal-search-bar {
  display: flex;
  align-items: center;
  background: #F1F5F9;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  width: 360px;
  transition: all 0.2s ease;
}

.portal-search-bar:focus-within {
  background: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(242, 92, 5, 0.12);
}

.portal-search-bar input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 13.5px;
  color: var(--text-primary);
  margin-left: 10px;
}

/* ==========================================================================
   HOMEPAGE (index.html) HERO & SHOWCASE SECTIONS (MATCHES CLIENT SCREENSHOT)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 440px;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.76) 0%, rgba(15, 23, 42, 0.50) 45%, rgba(15, 23, 42, 0.12) 85%),
              url('../img/hero-clean-bg.jpg') right center / cover no-repeat;
  display: flex;
  align-items: center;
  padding: 50px 70px 75px;
  color: #FFFFFF;
}

.hero-content {
  max-width: 860px;
  width: 100%;
  z-index: 2;
}

.hero-headline {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
  font-size: 16.5px;
  color: #F1F5F9;
  margin-bottom: 26px;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* White search box inside hero banner */
.hero-search-box {
  background: #FFFFFF;
  border-radius: 6px;
  padding: 4px 6px 4px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  max-width: 840px;
  width: 100%;
}

.search-category-dropdown {
  border: none;
  background: transparent;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  outline: none;
  cursor: pointer;
  padding-right: 12px;
  border-right: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-input-field {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: #0F172A;
  min-width: 140px;
}

.search-input-field::placeholder {
  color: #94A3B8;
}

.search-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-tool-btn {
  background: none;
  border: none;
  color: #64748B;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 4px;
  transition: 0.15s;
}

.search-tool-btn:hover {
  color: #F25C05;
  background: #FFF7ED;
}

.btn-hero-search {
  background: #F25C05;
  color: #FFFFFF;
  border: none;
  padding: 11px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(242, 92, 5, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-hero-search:hover {
  background: #EA580C;
  transform: translateY(-1px);
}

/* Floating 5-Card Action Strip (overlapping hero) */
.quick-feature-strip {
  padding: 0 70px;
  margin-top: -38px;
  position: relative;
  z-index: 10;
}

.quick-feature-grid {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.9);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 14px 18px;
  gap: 8px;
}

.feature-pill-card {
  padding: 8px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-right: 1px solid #F1F5F9;
}

.feature-pill-card:last-child {
  border-right: none;
}

.feature-pill-card:hover {
  background: #FFF7ED;
  transform: translateY(-2px);
}

.feature-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #FFF7ED;
  border: 1px solid #FFEDD5;
  color: #F25C05;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}

.feature-pill-content h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 2px;
}

.feature-pill-content p {
  font-size: 11.5px;
  color: #64748B;
  line-height: 1.3;
}

/* 3-Column Showcase Section */
.public-section-row {
  padding: 35px 70px 50px;
  display: grid;
  grid-template-columns: 1.15fr 1.35fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.home-card-panel {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.home-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.home-card-title {
  font-size: 16.5px;
  font-weight: 800;
  color: #0F172A;
}

.link-view-all {
  font-size: 12.5px;
  color: #2563EB;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.link-view-all:hover {
  text-decoration: underline;
}

/* 1. Popular Categories (7 horizontal square category cards) */
.popular-cat-grid-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-top: 6px;
}

.cat-square-card {
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 10px 4px 8px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 86px;
}

.cat-square-card:hover {
  border-color: #F25C05;
  background: #FFF7ED;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(242, 92, 5, 0.12);
}

.cat-square-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-square-icon svg {
  width: 24px;
  height: 24px;
  stroke: #F25C05;
}

.cat-square-title {
  font-size: 10.5px;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.25;
}

/* 2. Trending Products (4 product cards in horizontal row) */
.trending-prod-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 6px;
}

.product-mini-card {
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 8px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.product-mini-card:hover {
  border-color: #F25C05;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.product-thumb-container {
  height: 68px;
  border-radius: 6px;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 6px;
  padding: 4px;
}

.product-thumb-container img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.product-mini-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-mini-price {
  font-size: 12.5px;
  font-weight: 800;
  color: #F25C05;
}

/* 3. Verified Sellers (4 stacked rows with real logos) */
.verified-sellers-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.seller-row-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid #F1F5F9;
  background: #F8FAFC;
  transition: all 0.15s ease;
}

.seller-row-item:hover {
  background: #FFF7ED;
  border-color: #FDBA74;
}

.seller-logo-img {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #E2E8F0;
}

.seller-row-info {
  flex: 1;
  min-width: 0;
}

.seller-row-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.verified-check-icon {
  color: #10B981;
  font-size: 13px;
  font-weight: 800;
}

.seller-row-category {
  font-size: 11px;
  color: #64748B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Bottom Trust Bar across all pages */
.bottom-trust-strip {
  background: #F25C05;
  color: #FFFFFF;
  padding: 14px 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 13.5px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   PORTAL LAYOUT (BUYER / SELLER / EMPLOYEE / ADMIN DEDICATED PAGES)
   ========================================================================== */
.portal-layout {
  display: flex;
  min-height: calc(100vh - 120px);
}

.portal-sidebar {
  width: 250px;
  background: #FFFFFF;
  border-right: 1px solid var(--border-color);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
}

.portal-nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.portal-nav-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.15s ease;
}

.portal-nav-item a:hover {
  background: #F1F5F9;
  color: var(--text-primary);
}

.portal-nav-item.active a {
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(242, 92, 5, 0.35);
}

.portal-sidebar-footer {
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
}

.btn-sidebar-switch {
  width: 100%;
  background: #F1F5F9;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 11px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-sidebar-switch:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.portal-main-content {
  flex: 1;
  padding: 32px 42px;
  background: var(--bg-main);
  overflow-y: auto;
}

/* ==========================================================================
   BUYER PORTAL SPECIFICS
   ========================================================================== */
.buyer-greeting-header {
  margin-bottom: 26px;
}

.buyer-greeting-title {
  font-size: 26px;
  font-weight: 800;
  color: #0F172A;
}

.buyer-greeting-sub {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin-top: 3px;
}

.buyer-action-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}

.buyer-action-tile {
  background: var(--primary-gradient);
  color: #FFFFFF;
  padding: 20px 18px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-orange);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 115px;
}

.buyer-action-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -4px rgba(242, 92, 5, 0.45);
}

.tile-icon {
  font-size: 26px;
  margin-bottom: 8px;
}

.tile-title {
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.2;
}

.tile-sub {
  font-size: 12.5px;
  opacity: 0.9;
  margin-top: 4px;
}

.buyer-dashboard-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 26px;
  margin-bottom: 32px;
}

.buyer-recent-req-panel {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.req-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 12px;
  background: #F8FAFC;
  transition: 0.15s;
}

.req-item-card:hover {
  border-color: var(--primary);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.req-item-info h5 {
  font-size: 14.5px;
  font-weight: 700;
  color: #0F172A;
}

.req-item-meta {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.badge-status-open {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
}

.dream-project-card {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%),
              url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=600&q=80') center/cover;
  background-blend-mode: overlay;
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

.dream-project-card h3 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}

.dream-project-card p {
  font-size: 14px;
  color: #CBD5E1;
  margin: 10px 0 22px;
}

.btn-post-project-orange {
  background: var(--primary-gradient);
  color: #FFFFFF;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  align-self: flex-start;
  box-shadow: var(--shadow-orange);
  transition: all 0.2s;
}

/* ==========================================================================
   SELLER PORTAL SPECIFICS
   ========================================================================== */
.seller-header-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.seller-title-box h2 {
  font-size: 26px;
  font-weight: 800;
  color: #0F172A;
}

.seller-title-box p {
  font-size: 14.5px;
  color: var(--text-secondary);
}

.seller-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.2fr;
  gap: 18px;
  margin-bottom: 28px;
}

.seller-kpi-card {
  padding: 20px;
  border-radius: var(--radius-lg);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.seller-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.seller-kpi-card.blue { background: #2563EB; }
.seller-kpi-card.green { background: #10B981; }
.seller-kpi-card.orange { background: #F97316; }

.kpi-icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.kpi-data-label {
  font-size: 12px;
  opacity: 0.9;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kpi-data-value {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
}

.seller-subscribe-banner-card {
  background: var(--primary-gradient);
  color: #FFFFFF;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-orange);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.seller-subscribe-banner-card h4 {
  font-size: 15.5px;
  font-weight: 800;
}

.btn-subscribe-white {
  background: #FFFFFF;
  color: var(--primary);
  border: none;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  margin-top: 10px;
  align-self: flex-start;
  transition: all 0.2s;
}

.btn-subscribe-white:hover {
  background: #FFF4ED;
  transform: translateY(-1px);
}

.seller-main-grid {
  display: grid;
  grid-template-columns: 2.8fr 1fr;
  gap: 26px;
}

.leads-table-container {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.leads-tab-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
}

.leads-tab-btn {
  background: transparent;
  border: none;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s;
}

.leads-tab-btn.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
}

.sb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.sb-table th {
  text-align: left;
  padding: 12px 14px;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-color);
  background: #F8FAFC;
}

.sb-table td {
  padding: 14px 14px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
  vertical-align: middle;
}

.sb-table tr:hover td {
  background: #F8FAFC;
}

.lead-title-bold {
  font-weight: 700;
  color: #0F172A;
}

.lead-proj-sub {
  font-size: 12px;
  color: var(--text-secondary);
}

.lead-price-tag {
  font-weight: 800;
  color: var(--primary);
  font-size: 15px;
}

.btn-view-details {
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-view-details:hover {
  background: var(--primary-hover);
  box-shadow: 0 2px 8px rgba(242, 92, 5, 0.35);
}

.lead-package-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lead-package-card h4 {
  font-size: 17px;
  font-weight: 800;
  color: #0F172A;
}

.lead-package-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 10px 0 18px;
}

/* ==========================================================================
   MARKETING EMPLOYEE PORTAL SPECIFICS
   ========================================================================== */
.employee-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}

.employee-kpi-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.kpi-avatar-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.kpi-avatar-box.blue { background: #EFF6FF; color: #2563EB; }
.kpi-avatar-box.orange { background: #FFF7ED; color: #EA580C; }
.kpi-avatar-box.green { background: #ECFDF5; color: #10B981; }
.kpi-avatar-box.purple { background: #FAF5FF; color: #9333EA; }

.employee-middle-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 26px;
  margin-bottom: 26px;
}

.recent-projects-panel {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.project-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 12px;
  background: #F8FAFC;
  transition: 0.15s;
}

.status-in-progress {
  background: #ECFEFF;
  color: #0891B2;
  border: 1px solid #A5F3FC;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
}

.status-pending {
  background: #FFFBEB;
  color: #D97706;
  border: 1px solid #FDE68A;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
}

.status-approved {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
}

.employee-quick-actions-panel {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-action-outline {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 11px 16px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
  text-align: left;
}

.btn-action-outline:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

.project-entry-quick-view {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.entry-form-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 18px;
  align-items: flex-end;
  margin-top: 14px;
}

.form-group-sb label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.form-control-sb {
  width: 100%;
  padding: 11px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  outline: none;
  background: #FFFFFF;
  transition: 0.15s;
}

.form-control-sb:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(242, 92, 5, 0.12);
}

/* ==========================================================================
   ADMIN PORTAL SPECIFICS
   ========================================================================== */
.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}

.admin-stat-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.admin-stat-icon-pill {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.admin-stat-icon-pill.blue { background: #EFF6FF; color: #2563EB; }
.admin-stat-icon-pill.orange { background: #FFF7ED; color: #EA580C; }
.admin-stat-icon-pill.green { background: #ECFDF5; color: #10B981; }
.admin-stat-icon-pill.purple { background: #FAF5FF; color: #9333EA; }

.admin-charts-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.1fr;
  gap: 22px;
  margin-bottom: 26px;
}

.admin-chart-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.chart-header {
  margin-bottom: 16px;
}

.chart-header h4 {
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
}

.chart-canvas-wrap {
  position: relative;
  height: 190px;
  width: 100%;
}

.donut-legend-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 600;
}

.donut-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-dot.unlocked { background: #2563EB; }
.legend-dot.locked { background: #F97316; }
.legend-dot.pending { background: #FACC15; }

.activity-feed-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  max-height: 210px;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: #F8FAFC;
}

.activity-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}

.activity-content {
  flex: 1;
}

.activity-title {
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
}

.activity-desc {
  font-size: 12px;
  color: var(--text-secondary);
}

.activity-time {
  font-size: 11.5px;
  color: var(--text-muted);
}

.admin-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.revenue-summary-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.revenue-ledger-row {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px dashed var(--border-color);
  font-size: 14px;
}

.revenue-ledger-row.total {
  border-bottom: none;
  font-weight: 800;
  font-size: 17px;
  color: var(--primary);
  padding-top: 14px;
}

/* ==========================================================================
   SUBSCRIPTION & PAY-PER-LEAD (pricing.php) SPECIFICS
   ========================================================================== */
.subs-page-wrap {
  padding: 50px 80px;
  background: var(--bg-main);
  max-width: 1280px;
  margin: 0 auto;
}

.subs-page-header {
  text-align: center;
  margin-bottom: 44px;
}

.subs-page-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: #0F172A;
}

.subs-page-header p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.subs-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 50px;
}

.sub-plan-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 34px 28px;
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.sub-plan-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.sub-plan-card.popular {
  border: 2px solid var(--primary);
  box-shadow: 0 15px 30px -5px rgba(242, 92, 5, 0.25);
  background: linear-gradient(180deg, #FFF9F5 0%, #FFFFFF 100%);
}

.popular-badge-pill {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-orange);
  text-transform: uppercase;
}

.plan-tier-name {
  font-size: 22px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 8px;
}

.plan-price-block {
  margin-bottom: 22px;
}

.plan-amount {
  font-size: 36px;
  font-weight: 900;
  color: #0F172A;
}

.plan-period {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 600;
}

.plan-gst-note {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.plan-total-highlight {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 3px;
}

.plan-features-list {
  list-style: none;
  margin: 22px 0 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.plan-feature-item {
  font-size: 14px;
  font-weight: 600;
  color: #1E293B;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-plan-select {
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-full);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
}

.btn-plan-select:hover {
  background: var(--primary-light);
}

.btn-plan-select.btn-popular {
  background: var(--primary-gradient);
  color: #FFFFFF;
  border: none;
  box-shadow: var(--shadow-orange);
}

.btn-plan-select.btn-popular:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(242, 92, 5, 0.45);
}

/* Pay-Per-Lead Section */
.ppl-section-container {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 34px 40px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}

.ppl-header {
  margin-bottom: 26px;
}

.ppl-header h3 {
  font-size: 24px;
  font-weight: 800;
  color: #0F172A;
}

.ppl-header p {
  font-size: 14px;
  color: var(--text-secondary);
}

.ppl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ppl-tier-box {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F8FAFC;
  transition: all 0.2s ease;
}

.ppl-tier-box:hover {
  border-color: var(--primary);
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.ppl-tier-title {
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
}

.ppl-tier-cost {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary);
  margin-top: 4px;
}

.btn-buy-lead {
  background: var(--primary-gradient);
  color: #FFFFFF;
  border: none;
  padding: 10px 26px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  box-shadow: var(--shadow-orange);
  transition: all 0.2s;
}

.trust-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
}

.trust-badge-pill {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   MOBILE APP VIEW SIMULATOR (mobile.php)
   ========================================================================== */
.mobile-simulator-body {
  background: #0B1120;
}

.mobile-view-wrapper {
  display: flex;
  justify-content: center;
  padding: 50px 20px;
  background: #0B1120;
  min-height: calc(100vh - 110px);
}

.phone-mockup-frame {
  width: 390px;
  height: 780px;
  background: #FFFFFF;
  border-radius: 48px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 0 12px #1E293B, 0 0 0 14px #334155;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-status-bar {
  height: 40px;
  background: #FFFFFF;
  padding: 0 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
  z-index: 10;
}

.phone-notch {
  width: 140px;
  height: 20px;
  background: #1E293B;
  border-radius: 0 0 16px 16px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.phone-app-header {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #F1F5F9;
  background: #FFFFFF;
}

.phone-header-icon-btn {
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0F172A;
  border-radius: 50%;
  transition: background 0.15s ease;
}

.phone-header-icon-btn:hover {
  background: #F1F5F9;
}

.phone-content-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px;
  background: #FFFFFF;
}

.phone-content-scroll::-webkit-scrollbar {
  display: none;
}

/* Standalone Search Bar below header */
.phone-search-input {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  margin-bottom: 12px;
}

.phone-search-input input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 12.5px;
  color: #0F172A;
}

.phone-search-input input::placeholder {
  color: #94A3B8;
}

/* Mobile Hero Banner matching screenshot */
.phone-hero-banner {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.82) 55%, rgba(15, 23, 42, 0.25) 100%),
              url('../img/mobile-hero-bg.jpg') right center / cover no-repeat;
  border-radius: 12px;
  padding: 16px 14px 12px;
  color: #FFFFFF;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
}

.phone-hero-banner h4 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  margin-bottom: 4px;
}

.phone-hero-banner p {
  font-size: 10.5px;
  opacity: 0.95;
  margin: 3px 0 10px;
  color: #F1F5F9;
  line-height: 1.3;
}

.phone-banner-search-row {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 3px 4px 3px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.phone-banner-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 11px;
  color: #0F172A;
  flex: 1;
  min-width: 0;
}

.btn-phone-banner-search {
  background: #F25C05;
  color: #FFFFFF;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

/* 4-Category Cards in a row */
.phone-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.phone-cat-pill {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px 4px 8px;
  text-align: center;
  color: #0F172A;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 82px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  transition: all 0.15s ease;
}

.phone-cat-pill:hover {
  border-color: #F25C05;
  background: #FFF7ED;
}

.phone-cat-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-cat-icon svg {
  width: 24px;
  height: 24px;
  stroke: #F25C05;
}

.phone-cat-name {
  font-size: 9.5px;
  font-weight: 700;
  color: #1E293B;
  line-height: 1.25;
}

/* Trending Products 2-Card Row */
.phone-trending-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.phone-product-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  text-align: left;
  transition: all 0.15s ease;
}

.phone-product-card:hover {
  border-color: #F25C05;
}

.phone-product-thumb {
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  padding: 4px;
}

.phone-product-thumb img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.phone-product-title {
  font-size: 12px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 4px;
}

.phone-product-price {
  font-size: 13px;
  font-weight: 800;
  color: #F25C05;
}

/* Bottom App Navigation Bar */
.phone-bottom-nav {
  height: 60px;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 6px;
}

.phone-nav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #64748B;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  flex: 1;
}

.phone-nav-tab.active {
  color: #F25C05;
  font-weight: 800;
}

/* ==========================================================================
   MODALS & TOAST NOTIFICATIONS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 560px;
  width: 100%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  animation: modalScale 0.2s ease-out;
}

@keyframes modalScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  padding: 20px 26px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
}

.btn-modal-close {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  padding: 22px 26px;
  max-height: 70vh;
  overflow-y: auto;
}

.modal-footer {
  padding: 18px 26px;
  background: #F8FAFC;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sb-toast {
  background: #0F172A;
  color: #FFFFFF;
  padding: 13px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 4px solid var(--primary);
  animation: toastSlide 0.25s ease-out;
}

@keyframes toastSlide {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Mobile Simulator Real Hero Banner */
.phone-hero-banner-real {
  position: relative;
  border-radius: 12px;
  margin-bottom: 12px;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.65) 60%, rgba(15, 23, 42, 0.25) 100%),
              url('../img/hero-clean-bg.jpg') right center / cover no-repeat;
  padding: 16px 14px 14px;
  color: #FFFFFF;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.phone-hero-title {
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 4px;
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.phone-hero-sub {
  font-size: 10px;
  color: #E2E8F0;
  margin-bottom: 10px;
  line-height: 1.3;
}

.phone-hero-search {
  background: #FFFFFF;
  border-radius: 6px;
  padding: 3px 4px 3px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.phone-search-dropdown {
  border: none;
  background: transparent;
  font-size: 10.5px;
  font-weight: 600;
  color: #334155;
  outline: none;
  border-right: 1px solid #E2E8F0;
  padding-right: 4px;
}

.phone-hero-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 11px;
  color: #0F172A;
  min-width: 0;
}

.btn-phone-search {
  background: #F25C05;
  color: #FFFFFF;
  border: none;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

/* Mobile Header Hamburger Button & Drawer */
.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid #E2E8F0;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
  color: #0F172A;
}

.mobile-nav-drawer {
  display: none;
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  padding: 16px 20px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-drawer a {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  color: #0F172A;
  border-bottom: 1px solid #F1F5F9;
  text-decoration: none;
}

/* Responsive Rules across Breakpoints */
@media (max-width: 1200px) {
  .hero-section { padding: 40px 40px 65px; }
  .quick-feature-strip { padding: 0 40px; }
  .public-section-row { padding: 30px 40px 40px; grid-template-columns: 1fr; }
  .bottom-trust-strip { padding: 14px 40px; }
}

@media (max-width: 1024px) {
  .hero-headline { font-size: 30px; }
  .quick-feature-grid { grid-template-columns: repeat(3, 1fr); }
  .public-section-row { grid-template-columns: 1fr; }
  .buyer-dashboard-row { grid-template-columns: 1fr; }
  .seller-main-grid { grid-template-columns: 1fr; }
  .employee-middle-grid { grid-template-columns: 1fr; }
  .admin-charts-row { grid-template-columns: 1fr; }
  .admin-stats-row { grid-template-columns: repeat(2, 1fr); }
  .subs-cards-grid { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
  .sb-nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-headline { font-size: 26px; }
  .hero-subtitle { font-size: 14.5px; }
  .popular-cat-grid-row {
    grid-template-columns: repeat(4, 1fr);
  }
  .trending-prod-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 30px 16px 50px;
    min-height: auto;
  }
  .hero-headline { font-size: 22px; }
  .hero-subtitle { font-size: 13px; margin-bottom: 16px; }
  .hero-search-box {
    flex-wrap: wrap;
    padding: 8px 12px;
    gap: 8px;
  }
  .search-category-dropdown {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 6px;
  }
  .search-input-field {
    width: 100%;
    padding: 6px 0;
  }
  .search-tools {
    width: 100%;
    justify-content: space-between;
  }
  .btn-hero-search {
    width: 100%;
    padding: 10px;
    text-align: center;
  }

  .quick-feature-strip {
    padding: 0 16px;
    margin-top: -24px;
  }
  .quick-feature-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding: 12px 14px;
    -webkit-overflow-scrolling: touch;
  }
  .feature-pill-card {
    min-width: 200px;
    scroll-snap-align: start;
    border-right: none;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
  }

  .public-section-row {
    padding: 24px 16px 36px;
    gap: 16px;
  }
  .popular-cat-grid-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 8px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .cat-square-card {
    min-width: 84px;
    scroll-snap-align: start;
  }
  .trending-prod-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .product-mini-card {
    min-width: 130px;
    scroll-snap-align: start;
  }

  .bottom-trust-strip {
    padding: 16px;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .global-role-bar {
    display: none !important;
  }
}

/* ==========================================================================
   ADMIN PORTAL TAB PANES & DIRECTORIES (ALL SIDEBAR OPTIONS)
   ========================================================================== */
.admin-tab-pane {
  display: none;
}

.admin-tab-pane.active {
  display: block;
  animation: adminFadeIn 0.2s ease;
}

@keyframes adminFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.admin-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 14px;
}

.admin-filter-bar {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.admin-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  flex: 1;
  min-width: 260px;
}

.admin-search-wrap input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 13.5px;
  width: 100%;
  color: var(--text-primary);
}

.admin-table-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  margin-bottom: 24px;
}

.admin-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 650px;
}

.admin-data-table th {
  background: #F8FAFC;
  padding: 13px 18px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-color);
}

.admin-data-table td {
  padding: 13px 18px;
  font-size: 13.5px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.admin-data-table tr:last-child td {
  border-bottom: none;
}

.admin-data-table tr:hover td {
  background: #FFFDFB;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
}

.badge-tag.verified { background: #ECFDF5; color: #059669; border: 1px solid #A7F3D0; }
.badge-tag.pending { background: #FFFBEB; color: #D97706; border: 1px solid #FDE68A; }
.badge-tag.active { background: #EFF6FF; color: #2563EB; border: 1px solid #BFDBFE; }
.badge-tag.danger { background: #FEF2F2; color: #DC2626; border: 1px solid #FECACA; }
.badge-tag.gold { background: #FEF3C7; color: #B45309; border: 1px solid #FCD34D; }
.badge-tag.silver { background: #F1F5F9; color: #475569; border: 1px solid #CBD5E1; }
.badge-tag.premium { background: #FAF5FF; color: #7E22CE; border: 1px solid #E9D5FF; }

.btn-table-sm {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-table-sm.approve {
  background: #ECFDF5;
  color: #059669;
  border-color: #A7F3D0;
}
.btn-table-sm.approve:hover {
  background: #059669;
  color: #FFFFFF;
}

.btn-table-sm.view {
  background: #EFF6FF;
  color: #2563EB;
  border-color: #BFDBFE;
}
.btn-table-sm.view:hover {
  background: #2563EB;
  color: #FFFFFF;
}

.btn-table-sm.danger {
  background: #FEF2F2;
  color: #DC2626;
  border-color: #FECACA;
}
.btn-table-sm.danger:hover {
  background: #DC2626;
  color: #FFFFFF;
}

.btn-admin-cta {
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-admin-cta:hover {
  background: #EA580C;
}

/* ==========================================================================
   HOMEPAGE EXTENDED PRODUCTION SECTIONS
   ========================================================================== */
.home-section-wrap {
  padding: 55px 70px;
}
.home-section-wrap.alt-bg {
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

.home-section-header {
  margin-bottom: 30px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.home-section-tag {
  font-size: 12px;
  font-weight: 800;
  color: #F25C05;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: inline-block;
}
.home-section-title {
  font-size: 26px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.3px;
}
.home-section-sub {
  font-size: 14px;
  color: #64748B;
  margin-top: 4px;
}

/* 1. Projects & Site Tenders Grid */
.home-projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.home-project-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.home-project-card:hover {
  transform: translateY(-4px);
  border-color: #F25C05;
  box-shadow: 0 12px 24px -4px rgba(242, 92, 5, 0.15);
}
.project-type-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: #EFF6FF;
  color: #2563EB;
  display: inline-block;
  margin-bottom: 10px;
}
.project-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 6px;
  line-height: 1.3;
}
.project-card-loc {
  font-size: 12px;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}
.project-card-materials {
  background: #F8FAFC;
  border: 1px solid #F1F5F9;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  color: #334155;
  line-height: 1.45;
  margin-bottom: 14px;
}
.project-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #F1F5F9;
  padding-top: 12px;
  margin-top: auto;
}
.project-budget-val {
  font-size: 13.5px;
  font-weight: 800;
  color: #F25C05;
}
.project-budget-lbl {
  font-size: 10px;
  color: #94A3B8;
  text-transform: uppercase;
}

/* 2. Value Proposition Grid */
.home-value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.home-value-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}
.home-value-card:hover {
  border-color: #F25C05;
  transform: translateY(-3px);
}
.home-value-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #FFF7ED;
  color: #F25C05;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.home-value-title {
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 8px;
}
.home-value-desc {
  font-size: 13px;
  color: #64748B;
  line-height: 1.5;
}

/* 3. How It Works Steps */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.how-step-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 26px 22px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.how-step-number {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 32px;
  font-weight: 900;
  color: #F1F5F9;
}
.how-step-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #FFF7ED;
  color: #F25C05;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.how-step-title {
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 8px;
}
.how-step-desc {
  font-size: 13px;
  color: #64748B;
  line-height: 1.5;
}

/* 4. Contractor Testimonials */
.home-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.stars-rating {
  color: #F59E0B;
  font-size: 15px;
  margin-bottom: 12px;
}
.testimonial-quote {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.55;
  font-style: italic;
  margin-bottom: 18px;
}
.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #F1F5F9;
  padding-top: 14px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #EFF6FF;
  color: #2563EB;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.author-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
}
.author-role {
  font-size: 11.5px;
  color: #64748B;
}

/* 5. Instant RFQ Banner Strip */
.instant-rfq-banner {
  background: linear-gradient(135deg, #F25C05 0%, #EA580C 100%);
  color: #FFFFFF;
  border-radius: 16px;
  padding: 38px 44px;
  box-shadow: 0 16px 36px -8px rgba(242, 92, 5, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.instant-rfq-info h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
}
.instant-rfq-info p {
  font-size: 14px;
  opacity: 0.92;
}
.instant-rfq-form {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  padding: 6px 8px 6px 16px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  flex: 1;
  max-width: 540px;
  min-width: 280px;
}
.instant-rfq-form input {
  border: none;
  outline: none;
  font-size: 13.5px;
  color: #0F172A;
  flex: 1;
}

/* 6. Enterprise Comprehensive Footer */
.enterprise-footer {
  background: #0B1120;
  color: #94A3B8;
  padding: 60px 70px 24px;
  border-top: 1px solid #1E293B;
}
.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1E293B;
}
.footer-col-title {
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-link-list li {
  margin-bottom: 10px;
}
.footer-link-list a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.15s ease;
}
.footer-link-list a:hover {
  color: #F25C05;
}
.footer-bottom-bar {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: #64748B;
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive Rules for Extended Sections */
@media (max-width: 1024px) {
  .home-section-wrap { padding: 40px 30px; }
  .home-projects-grid { grid-template-columns: repeat(2, 1fr); }
  .home-value-grid { grid-template-columns: repeat(2, 1fr); }
  .how-it-works-grid { grid-template-columns: 1fr; }
  .home-testimonials-grid { grid-template-columns: 1fr; }
  .footer-top-grid { grid-template-columns: 1fr 1fr; }
  .enterprise-footer { padding: 40px 30px 20px; }
}

@media (max-width: 768px) {
  .home-section-wrap { padding: 30px 16px; }
  .home-projects-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .home-project-card {
    min-width: 260px;
    scroll-snap-align: start;
  }
  .home-value-grid { grid-template-columns: 1fr; }
  .instant-rfq-banner { padding: 24px 18px; }
  .instant-rfq-form { flex-direction: column; padding: 10px; width: 100%; }
  .instant-rfq-form button { width: 100%; }
  .footer-top-grid { grid-template-columns: 1fr; }
  .enterprise-footer { padding: 30px 16px 20px; }
}

/* ==========================================================================
   DESKTOP VS MOBILE VIEW SWITCHING IN MAIN WEBSITE (index.html / index.php)
   ========================================================================== */
.desktop-website-view {
  display: block;
}

.mobile-website-view {
  display: none;
}

@media (max-width: 768px) {
  /* Hide desktop website layout on mobile */
  .desktop-website-view {
    display: none !important;
  }

  /* Show mobile website layout */
  .mobile-website-view {
    display: block !important;
    background: #FFFFFF;
    min-height: 100vh;
  }

  body {
    background: #FFFFFF !important;
  }

  .mobile-website-view .phone-content-scroll {
    overflow-y: visible;
    padding-bottom: 85px;
    padding-top: 12px;
  }

  /* Fixed mobile bottom app navigation bar */
  .mobile-website-view .phone-bottom-nav,
  .phone-bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: #FFFFFF !important;
    border-top: 1px solid #E2E8F0 !important;
    box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.08) !important;
    height: 60px !important;
  }

  /* Sticky mobile app header at top */
  .mobile-website-view .phone-app-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #FFFFFF;
    border-bottom: 1px solid #F1F5F9;
  }

  /* Native full-screen adapter for mobile.html on mobile screens */
  .mobile-view-wrapper {
    padding: 0 !important;
    background: #FFFFFF !important;
    min-height: 100vh !important;
    display: block !important;
  }

  .phone-mockup-frame {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 100vh !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
  }

  .phone-status-bar,
  .phone-notch {
    display: none !important;
  }

  .phone-content-scroll {
    padding-bottom: 85px !important;
  }
}

/* ==========================================================================
   SELLER REGISTRATION ONBOARDING & CATEGORY FILTERING STYLES
   ========================================================================== */
.seller-onboarding-modal {
  max-width: 680px !important;
  width: 95% !important;
}

.onboarding-steps-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  background: #F8FAFC;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #64748B;
}

.step-indicator.active {
  color: #F25C05;
}

.step-number-bubble {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #E2E8F0;
  color: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

.step-indicator.active .step-number-bubble {
  background: #F25C05;
  color: #FFFFFF;
}

.category-selection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 12px 0 18px;
}

.category-checkbox-tile {
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  background: #FFFFFF;
  transition: all 0.15s ease;
  user-select: none;
}

.category-checkbox-tile:hover {
  border-color: #F25C05;
  background: #FFF7ED;
}

.category-checkbox-tile.selected {
  border-color: #F25C05;
  background: #FFF7ED;
  box-shadow: 0 0 0 1px #F25C05;
}

.category-checkbox-tile input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: #F25C05;
  cursor: pointer;
}

.cert-selection-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 10px 0 16px;
}

.cert-checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  font-size: 13px;
  font-weight: 600;
  color: #1E293B;
  cursor: pointer;
}

.cert-checkbox-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #F25C05;
}

.upload-dropzone-box {
  border: 2px dashed #CBD5E1;
  border-radius: 10px;
  padding: 18px;
  text-align: center;
  background: #F8FAFC;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 12px;
}

.upload-dropzone-box:hover {
  border-color: #F25C05;
  background: #FFF7ED;
}

.upload-preview-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.upload-preview-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  color: #065F46;
  font-weight: 600;
}

.leads-category-filter-banner {
  background: #FFF7ED;
  border: 1.5px solid #FDBA74;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.leads-cat-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.cat-filter-tag {
  background: #F25C05;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   BUYER & SELLER PORTALS RESPONSIVE MOBILE OPTIMIZATION (max-width: 768px)
   ========================================================================== */
.portal-mobile-menu-btn {
  display: none;
}

.portal-mobile-bottom-nav {
  display: none;
}

.portal-sidebar-backdrop {
  display: none;
}

@media (max-width: 768px) {
  /* Portals Header */
  .sb-header {
    padding: 10px 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    background: #FFFFFF !important;
  }

  .sb-logo-group {
    order: 1;
  }

  .sb-brand-logo-img {
    height: 38px !important;
    max-width: 140px !important;
  }

  .portal-header-actions {
    order: 2;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .portal-search-bar {
    order: 3;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 4px !important;
    padding: 8px 14px !important;
    background: #F1F5F9 !important;
    border-radius: 8px !important;
  }

  .portal-mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    font-size: 18px;
    cursor: pointer;
    color: #0F172A;
  }

  /* Portal Layout */
  .portal-layout {
    display: block !important;
    min-height: auto !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }

  /* Mobile Slide-in Drawer Sidebar */
  .portal-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 280px !important;
    max-width: 82% !important;
    z-index: 10001 !important;
    background: #FFFFFF !important;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.3) !important;
    transform: translateX(-100%);
    transition: transform 0.25s ease-in-out !important;
    padding: 20px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  .portal-sidebar.open {
    transform: translateX(0) !important;
  }

  .portal-sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    z-index: 10000;
    backdrop-filter: blur(2px);
  }

  .portal-sidebar-backdrop.open {
    display: block !important;
  }

  /* Portal Main Content */
  .portal-main-content {
    padding: 14px 12px 85px 12px !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  /* Greeting / Title */
  .buyer-greeting-header,
  .seller-header-banner {
    margin-bottom: 14px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .buyer-greeting-title,
  .seller-title-box h2 {
    font-size: 20px !important;
  }

  .buyer-greeting-sub,
  .seller-title-box p {
    font-size: 12.5px !important;
  }

  /* Seller KPIs */
  .seller-kpi-row {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
  }

  .seller-kpi-card {
    padding: 10px 6px !important;
    flex-direction: column !important;
    text-align: center !important;
    gap: 6px !important;
    border-radius: 10px !important;
  }

  .kpi-icon-circle {
    width: 32px !important;
    height: 32px !important;
    font-size: 16px !important;
    margin: 0 auto !important;
  }

  .kpi-data-label {
    font-size: 9.5px !important;
  }

  .kpi-data-value {
    font-size: 17px !important;
    font-weight: 800 !important;
  }

  .seller-subscribe-banner-card {
    grid-column: 1 / -1 !important;
    padding: 14px 16px !important;
    border-radius: 10px !important;
  }

  .seller-subscribe-banner-card h4 {
    font-size: 13.5px !important;
    margin-bottom: 8px !important;
  }

  /* Seller Grid */
  .seller-main-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Buyer Action Tiles */
  .buyer-action-tiles {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 16px !important;
  }

  .buyer-action-tile {
    padding: 12px 10px !important;
    border-radius: 10px !important;
    gap: 8px !important;
  }

  .buyer-action-tile .tile-icon {
    font-size: 20px !important;
    width: 34px !important;
    height: 34px !important;
  }

  .buyer-action-tile .tile-title {
    font-size: 12px !important;
  }

  .buyer-action-tile .tile-sub {
    font-size: 10px !important;
  }

  /* Buyer 2-Column Row */
  .buyer-dashboard-row {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-bottom: 16px !important;
  }

  .buyer-recent-req-panel {
    padding: 16px 12px !important;
    border-radius: 12px !important;
  }

  .dream-project-card {
    padding: 20px 16px !important;
    border-radius: 12px !important;
  }

  /* Responsive Leads Container & Table */
  .leads-table-container {
    padding: 14px 10px !important;
    border-radius: 12px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .leads-tab-header {
    margin-bottom: 12px !important;
  }

  .leads-tab-btn {
    padding: 8px 14px !important;
    font-size: 12px !important;
  }

  /* Mobile Lead Card Transformation */
  .mobile-leads-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .mobile-lead-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  }

  .mobile-lead-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
  }

  .mobile-lead-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #F1F5F9;
    padding-top: 8px;
    margin-top: 6px;
  }

  .category-selection-grid {
    grid-template-columns: 1fr !important;
  }

  /* Fixed Bottom Nav Bar for Portals on Mobile */
  .portal-mobile-bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 60px !important;
    background: #FFFFFF !important;
    border-top: 1px solid #E2E8F0 !important;
    box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.08) !important;
    z-index: 9999 !important;
    align-items: center !important;
    justify-content: space-around !important;
    padding: 0 6px !important;
  }

  .portal-mobile-tab {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 3px !important;
    color: #64748B !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    background: none !important;
    border: none !important;
    flex: 1 !important;
    text-decoration: none !important;
  }

  .portal-mobile-tab.active {
    color: #F25C05 !important;
    font-weight: 800 !important;
  }
}


