:root {
  --primary: #0865df;
  --primary-dark: #064ea9;
  --navy: #0f172a;
  --slate: #334155;
  --muted: #64748b;
  --bg-light: #f8fafc;
  --border-light: #e2e8f0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--navy);
  background: #ffffff;
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
select {
  font: inherit;
}

.wrap {
  width: min(1200px, 92%);
  margin: auto;
}

/* Header */
header {
  background: #ffffff;
  border-bottom: 1px solid #eef2f7;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-size: 25px;
  font-weight: 900;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.8px;
  white-space: nowrap;
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
}

nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
}

.header-inner nav a {
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}

.header-inner nav a:hover,
.header-inner nav a.active {
  color: var(--primary);
}

.header-inner nav a.active::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 3px 3px 0 0;
}

.head-actions {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  background: #eff6ff;
}

.btn.primary {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

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

.btn-outline {
  background: #eff6ff;
  color: var(--primary);
  border: 1px solid #bfdbfe;
  font-size: 12px;
  padding: 8px 16px;
  border-radius: 6px;
}

.btn-outline:hover {
  background: #dbeafe;
}

.hamburger {
  display: none;
  background: none;
  border: 0;
  font-size: 24px;
  color: var(--navy);
  cursor: pointer;
}

/* Hero Section */
/* Hero Section with Full Background Slider */
.hero {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background: #f0f6ff;
}

.hero-slider-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slider-bg .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}

.hero-slider-bg .slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slider-bg .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.65) 45%, rgba(255, 255, 255, 0.2) 75%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 3;
  padding: 50px 0 80px;
}

.hero-content {
  max-width: 580px;
  position: relative;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 850;
  letter-spacing: -1.2px;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 16px;
}

.hero-content h1 span {
  color: var(--primary);
}

.hero-content p {
  font-size: 14px;
  color: #334155;
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 500px;
  font-weight: 500;
}

.search {
  display: flex;
  gap: 8px;
  background: #ffffff;
  padding: 6px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 10px 25px rgba(8, 101, 223, 0.12);
  width: 100%;
  max-width: 580px;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  padding-left: 12px;
  gap: 10px;
}

.search input {
  border: 0;
  outline: 0;
  width: 100%;
  font-size: 12px;
  color: var(--navy);
  font-family: inherit;
}

.search button {
  background: var(--primary);
  color: #fff;
  border: 0;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.search button:hover {
  background: var(--primary-dark);
}

.filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
  max-width: 580px;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  width: 100%;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  padding: 9px 28px 9px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--slate);
  outline: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

/* Stats Floating Bar */
.stats {
  position: relative;
  z-index: 10;
  margin-top: -36px;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 20px 16px;
  box-shadow: 0 12px 32px rgba(8, 101, 223, 0.06);
}

.stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 16px;
  border-right: 1px solid #f1f5f9;
}

.stat:last-child {
  border-right: 0;
}

.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.stat strong {
  display: block;
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.stat small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

/* Categories Section */
section.content {
  padding: 48px 0 0;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-title h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin: 0;
}

.link {
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
}

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

.categories {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}

.category {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 8px;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
  background: #ffffff;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.category:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(8, 101, 223, 0.08);
}

.cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}

.cat-blue .cat-icon {
  background: #e0f2fe;
  color: #0284c7;
}

.cat-orange .cat-icon {
  background: #ffedd5;
  color: #f97316;
}

.cat-purple .cat-icon {
  background: #f3e8ff;
  color: #7c3aed;
}

.cat-red .cat-icon {
  background: #ffe4e6;
  color: #e11d48;
}

.cat-sky .cat-icon {
  background: #e0f2fe;
  color: #0284c7;
}

.cat-green .cat-icon {
  background: #dcfce7;
  color: #16a34a;
}

.category strong {
  font-size: 10px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
}

/* Latest Tenders */
.latest {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: stretch;
}

.tenders {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tender-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tender-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 6px 16px rgba(8, 101, 223, 0.05);
}

.tender-info {
  flex: 1;
}

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

.tender-header h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.status-badge {
  background: #dcfce7;
  color: #16a34a;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
}

.tender-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
  align-items: center;
}

.tender-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Sidebar Registration Banner */
.register {
  background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.register-copy {
  position: relative;
  z-index: 2;
}

.register h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 12px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.register p {
  font-size: 12px;
  color: var(--slate);
  line-height: 1.5;
  margin-bottom: 18px;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  color: #1e293b;
}

.checks li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chk-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  display: inline-grid;
  place-items: center;
  font-size: 9px;
  font-weight: 800;
}

.btn-large {
  padding: 12px 24px;
  width: 100%;
  justify-content: center;
}

.register-img {
  position: absolute;
  right: -20px;
  bottom: 0;
  width: 220px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
}

.register-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* How HUB360 Works */
section.how {
  padding: 56px 0;
  text-align: center;
}

.center-title h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 6px;
  letter-spacing: -0.6px;
}

.center-title h2 span {
  color: var(--primary);
}

.center-title p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
  position: relative;
}

.step {
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 36px;
  left: 60%;
  width: 80%;
  border-top: 2px dashed #cbd5e1;
  z-index: 1;
}

.step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--primary);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 2;
  border: 4px solid #ffffff;
  box-shadow: 0 6px 16px rgba(8, 101, 223, 0.08);
}

.step-num {
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.step h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
}

.step p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 auto;
  max-width: 180px;
}

/* Why Choose HUB360 */
section.why {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.96)), url('../img/why-bg.jpg') center/cover;
  padding: 56px 0;
  color: #ffffff;
}

.why .center-title h2 {
  color: #ffffff;
}

.why .center-title h2 span {
  color: #38bdf8;
}

.why .center-title p {
  color: #94a3b8;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.feature {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 24px 20px;
  transition: transform 0.2s;
}

.feature:hover {
  transform: translateY(-3px);
}

.feature .ico {
  color: #38bdf8;
  margin-bottom: 16px;
}

.feature h3 {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
}

.feature p {
  font-size: 11px;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0;
}

/* Call to Action */
.cta {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 36px;
  margin: 48px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-art {
  width: 140px;
  height: 90px;
  border-radius: 14px;
  background: url('../img/handshake.jpg') center/cover;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  flex-shrink: 0;
}

.cta-text h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 6px;
  letter-spacing: -0.4px;
}

.cta-text h2 span {
  color: var(--primary);
}

.cta-text p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Footer */
footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
}

.footer-brand p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin: 12px 0 16px;
  max-width: 260px;
}

.socials {
  display: flex;
  gap: 8px;
}

.socials a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--primary);
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.socials a:hover {
  background: var(--primary);
  color: #ffffff;
}

.footer-col h3 {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col a {
  display: block;
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--primary);
}

.subscribe {
  display: flex;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 10px;
}

.subscribe input {
  border: 0;
  outline: 0;
  padding: 10px 12px;
  font-size: 11px;
  flex: 1;
  font-family: inherit;
}

.subscribe button {
  background: var(--primary);
  color: #ffffff;
  border: 0;
  padding: 0 16px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.copyright {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  color: var(--muted);
  font-size: 11px;
  padding: 14px 5%;
  display: flex;
  justify-content: space-between;
}

.empty {
  display: none;
  border: 1px dashed #cbd5e1;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  color: var(--muted);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
  }

  .hero-image {
    justify-content: center;
    margin-top: 20px;
  }

  .categories {
    grid-template-columns: repeat(4, 1fr);
  }

  .latest {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 16px 5%;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
    gap: 12px;
  }

  nav.open {
    display: flex;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat {
    border-right: 0;
  }

  .filters {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .categories {
    grid-template-columns: repeat(2, 1fr);
  }

  .filters {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .copyright {
    flex-direction: column;
    gap: 8px;
  }
}

/* Login Page Layout & Styles */
.login-page-body {
  background: #f8fafc;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.brand-img-logo {
  height: 32px;
  width: auto;
  display: block;
}

.login-main {
  flex: 1;
  display: flex;
  align-items: stretch;
}

.login-container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  width: 100%;
  min-height: calc(100vh - 72px);
  align-items: start;
}

/* Left Banner Column */
.login-banner {
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  background: url('../img/register-bg.jpg') center bottom / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 56px;
  overflow: hidden;
}

.login-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #edf4fd 0%, rgba(237, 244, 253, 0.94) 38%, rgba(237, 244, 253, 0.75) 60%, rgba(15, 23, 42, 0.55) 100%);
  z-index: 1;
  pointer-events: none;
}

.login-banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.banner-welcome {
  margin-bottom: 28px;
}

.welcome-label {
  font-size: 26px;
  font-weight: 700;
  color: #1e293b;
  display: block;
  letter-spacing: -0.5px;
  margin-bottom: 2px;
}

.banner-logo-wrap {
  margin: 4px 0 10px;
}

.banner-logo {
  height: 44px;
  width: auto;
  display: block;
}

.banner-subtext {
  font-size: 15px;
  color: #475569;
  font-weight: 500;
  margin: 0;
}

.banner-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(8, 101, 223, 0.1);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 3px;
}

.feature-text p {
  font-size: 12px;
  color: #475569;
  margin: 0;
  line-height: 1.4;
}

/* Floating Bottom Stats Bar in Banner */
.login-stats-bar {
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  color: #ffffff;
}

.stat-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-box:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  padding-right: 8px;
}

.stat-ico {
  color: #38bdf8;
  display: grid;
  place-items: center;
}

.stat-box strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.stat-box small {
  display: block;
  font-size: 10px;
  color: #cbd5e1;
  white-space: nowrap;
}

/* Right Form Card Column */
.login-form-wrapper {
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.login-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
  border: 1px solid #eef2f7;
  width: 100%;
  max-width: 440px;
  padding: 36px 36px 30px;
}

.card-brand {
  text-align: center;
  margin-bottom: 16px;
}

.card-logo-img {
  height: 40px;
  width: auto;
}

.login-card h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
  margin: 0 0 6px;
  letter-spacing: -0.5px;
}

.card-subtext {
  font-size: 12px;
  color: #64748b;
  text-align: center;
  line-height: 1.45;
  margin: 0 0 24px;
}

/* Login Tabs */
.login-tabs {
  background: #f1f5f9;
  border-radius: 10px;
  padding: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 24px;
}

.tab-btn {
  border: 0;
  background: transparent;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.tab-btn.active {
  background: #e0edff;
  color: #0865df;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(8, 101, 223, 0.08);
}

/* Form inputs */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.form-group label .req {
  color: #ef4444;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 2;
  color: #64748b;
}

.input-with-icon input,
.form-group .input-with-icon input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding-top: 11px !important;
  padding-bottom: 11px !important;
  padding-left: 44px !important;
  padding-right: 40px !important;
  font-size: 12px;
  color: #0f172a;
  outline: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #ffffff;
}

.input-with-icon input:focus,
.form-group .input-with-icon input:focus {
  border-color: #0865df;
  box-shadow: 0 0 0 3px rgba(8, 101, 223, 0.12);
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  color: #64748b;
  z-index: 2;
}

.forgot-wrap {
  text-align: right;
  margin-top: -6px;
  margin-bottom: 20px;
}

.forgot-link {
  font-size: 12px;
  font-weight: 700;
  color: #0865df;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

.btn-submit {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Divider */
.form-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e2e8f0;
}

.form-divider span {
  padding: 0 12px;
}

/* Google Login Button */
.btn-google {
  width: 100%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  margin-bottom: 24px;
}

.btn-google:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.card-footer {
  text-align: center;
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

.card-footer a {
  color: #0865df;
  font-weight: 700;
  text-decoration: none;
}

.card-footer a:hover {
  text-decoration: underline;
}

/* Responsive styles for login */
@media (max-width: 992px) {
  .login-container {
    grid-template-columns: 1fr;
  }

  .login-banner {
    display: none;
  }

  .login-form-wrapper {
    padding: 32px 16px;
  }
}

/* Registration Page Layout & Styles */
.register-page-body {
  background: #f8fafc;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.register-main {
  flex: 1;
  display: flex;
  align-items: stretch;
}

.register-container {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  width: 100%;
  min-height: calc(100vh - 72px);
  align-items: start;
}

.register-banner {
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  background: url('../img/register-bg.jpg') center bottom / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 56px;
  overflow: hidden;
}

.register-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #edf4fd 0%, rgba(237, 244, 253, 0.94) 38%, rgba(237, 244, 253, 0.75) 60%, rgba(15, 23, 42, 0.55) 100%);
  z-index: 1;
  pointer-events: none;
}

.register-banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.welcome-join {
  font-size: 26px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.inline-logo {
  height: 32px;
  width: auto;
}

.register-hero-title {
  font-size: 34px;
  font-weight: 850;
  color: #0f172a;
  margin: 6px 0 12px;
  letter-spacing: -1px;
}

/* Form Wrapper & Card */
.register-form-wrapper {
  background: #f8fafc;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 36px;
}

.register-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
  border: 1px solid #eef2f7;
  width: 100%;
  max-width: 760px;
  padding: 36px 40px;
}

/* Wizard Header Progress Indicator */
.wizard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f1f5f9;
}

.wizard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.step-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  transition: all 0.2s;
}

.wizard-step.active .step-circle {
  background: #0865df;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(8, 101, 223, 0.25);
}

.wizard-step.completed .step-circle {
  background: #16a34a;
  color: #ffffff;
}

.step-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}

.wizard-step.active .step-label {
  color: #0865df;
  font-weight: 700;
}

.step-line {
  flex: 1;
  height: 2px;
  background: #e2e8f0;
  margin: 0 12px -18px;
  position: relative;
  top: -12px;
}

/* Step Content */
.form-step-content {
  display: none;
}

.form-step-content.active {
  display: block;
}

.step-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
  letter-spacing: -0.4px;
}

.step-subtitle {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 24px;
}

/* Form Grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  margin-bottom: 28px;
}

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

.form-group input,
.form-group select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  color: #0f172a;
  outline: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0865df;
  box-shadow: 0 0 0 3px rgba(8, 101, 223, 0.12);
}

.form-group textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  color: #0f172a;
  outline: 0;
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.char-counter {
  text-align: right;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 4px;
}

.opt {
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
}

/* Wizard Action Buttons */
.wizard-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.wizard-actions.right-align {
  justify-content: flex-end;
}

.wizard-actions.split-actions {
  justify-content: space-between;
}

.btn-back {
  background: #ffffff;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.btn-back:hover {
  background: #f8fafc;
  color: #0f172a;
}

.center-input {
  text-align: center;
  letter-spacing: 4px;
  font-size: 16px !important;
  font-weight: 700;
}

.verification-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  max-width: 440px;
  margin: 0 auto 24px;
}

.verification-box p {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 16px;
}

.success-card {
  text-align: center;
  padding: 40px 20px;
}

.success-icon-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  font-size: 28px;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.15);
}

.success-card h2 {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}

.success-card p {
  font-size: 13px;
  color: #64748b;
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.5;
}

.mt-20 {
  margin-top: 24px;
}

.form-grid {
  grid-template-columns: 1fr;
}


/* Dashboard Layout & Component Styles */
.dashboard-page-body {
  margin: 0;
  background: #f4f7fb;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #0f172a;
  overflow-x: hidden;
}

.dash-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* Sidebar Styling */
.dash-sidebar {
  width: 240px;
  background: #0b1727;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 50;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease;
}

/* Collapsed Sidebar Styles */
.dash-sidebar.collapsed {
  width: 72px;
}

.dash-sidebar.collapsed .brand {
  display: none !important;
}

.dash-sidebar.collapsed .profile-info,
.dash-sidebar.collapsed .nav-item span,
.dash-sidebar.collapsed .nav-badge,
.dash-sidebar.collapsed .sidebar-help-box {
  display: none !important;
}

.dash-sidebar.collapsed .sidebar-brand-box {
  padding: 16px 0;
  justify-content: center;
}

.dash-sidebar.collapsed .btn-sidebar-collapse {
  width: 38px;
  height: 38px;
  background: rgba(8, 101, 223, 0.25);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.dash-sidebar.collapsed .btn-sidebar-collapse:hover {
  background: #0865df;
  color: #ffffff;
  border-color: #0865df;
}

.dash-sidebar.collapsed .btn-sidebar-collapse svg {
  transform: rotate(180deg);
}

.dash-sidebar.collapsed .sidebar-profile-box {
  padding: 8px;
  margin: 12px 10px 8px;
  justify-content: center;
  cursor: pointer;
}

.dash-sidebar.collapsed .profile-avatar {
  width: 36px;
  height: 36px;
}

.dash-sidebar.collapsed .nav-item {
  justify-content: center;
  padding: 12px 0;
  gap: 0;
}

.sidebar-brand-box {
  padding: 20px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-sidebar-collapse {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.btn-sidebar-collapse:hover {
  background: #0865df;
  color: #ffffff;
  border-color: #0865df;
}

.dash-brand-logo {
  height: 32px;
  width: auto;
  display: block;
}

.sidebar-profile-box {
  padding: 16px 20px;
  margin: 16px 16px 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
}

.profile-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.profile-info h3 {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
}

.profile-link {
  font-size: 11px;
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
}

.sidebar-nav {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  position: relative;
}

.sidebar-nav .nav-item::after,
.sidebar-nav .nav-item.active::after {
  content: none !important;
  display: none !important;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.nav-item.active {
  background: #0865df;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(8, 101, 223, 0.3);
}

.nav-badge {
  margin-left: auto;
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 10px;
}

.sidebar-help-box {
  margin: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.help-head {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #38bdf8;
  margin-bottom: 12px;
}

.help-head h4 {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 2px;
}

.help-head p {
  font-size: 10px;
  color: #94a3b8;
  margin: 0;
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 11px;
  padding: 8px 12px;
  border-radius: 6px;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Main Area Layout */
.dash-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #f4f7fb;
}

/* Top Dashboard Header */
.dash-header {
  height: 64px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 40;
}

.dash-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.dash-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #0f172a;
  cursor: pointer;
  width: 36px;
  height: 36px;
  transition: background 0.2s;
}

.dash-menu-toggle:hover {
  background: #e2e8f0;
  color: #0865df;
}

.dash-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 4px 6px 4px 12px;
  flex: 1;
  max-width: 520px;
}

.dash-search input {
  border: 0;
  background: transparent;
  outline: 0;
  font-size: 12px;
  color: #0f172a;
  flex: 1;
}

.btn-search {
  padding: 7px 16px;
  font-size: 12px;
  border-radius: 6px;
}

.dash-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dash-icon-btn {
  position: relative;
  background: #f1f5f9;
  border: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #475569;
  cursor: pointer;
  transition: background 0.2s;
}

.dash-icon-btn:hover {
  background: #e2e8f0;
}

.btn-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid #ffffff;
}

.user-profile-dropdown {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.user-profile-dropdown:hover {
  background: #f1f5f9;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0865df;
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  display: grid;
  place-items: center;
}

.user-name-box {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
}

.user-role {
  font-size: 10px;
  color: #64748b;
}

/* Dashboard Body & Content */
.dash-content-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* KPI Cards Row */
.dash-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.kpi-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.kpi-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.kpi-blue {
  background: #e0f2fe;
  color: #0865df;
}

.kpi-green {
  background: #dcfce7;
  color: #16a34a;
}

.kpi-purple {
  background: #f3e8ff;
  color: #8b5cf6;
}

.kpi-orange {
  background: #ffedd5;
  color: #f97316;
}

.kpi-details {
  display: flex;
  flex-direction: column;
}

.kpi-num {
  font-size: 24px;
  font-weight: 850;
  color: #0f172a;
  line-height: 1;
}

.kpi-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  margin: 4px 0 6px;
}

.kpi-trend {
  font-size: 10px;
  font-weight: 700;
}

.trend-up {
  color: #16a34a;
}

.trend-up span {
  color: #94a3b8;
  font-weight: 500;
}

.trend-down {
  color: #dc2626;
}

/* Dashboard Grid Layout (Center & Right) */
.dash-grid-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.dash-center-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dash-right-col {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Welcome Hero Banner */
.dash-welcome-hero {
  background: linear-gradient(135deg, #e8f2ff 0%, #dbeafe 100%), url('../img/hobebg.png') center right / cover no-repeat;
  border-radius: 16px;
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
  border: 1px solid #bfdbfe;
}

.welcome-hero-content {
  max-width: 440px;
  position: relative;
  z-index: 2;
}

.welcome-pre {
  font-size: 13px;
  font-weight: 600;
  color: #0865df;
}

.welcome-hero-content h2 {
  font-size: 24px;
  font-weight: 850;
  color: #0f172a;
  margin: 2px 0 8px;
  letter-spacing: -0.5px;
}

.welcome-hero-content p {
  font-size: 12px;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 18px;
}

.btn-welcome {
  padding: 10px 20px;
  font-size: 12px;
}

/* Table Card */
.dash-table-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.table-tabs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.tabs-list {
  display: flex;
  gap: 20px;
}

.tab-item {
  background: none;
  border: 0;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  padding: 6px 0;
  cursor: pointer;
  position: relative;
}

.tab-item.active {
  color: #0865df;
  font-weight: 700;
}

.tab-item.active::after {
  content: '';
  position: absolute;
  bottom: -13px;
  left: 0;
  right: 0;
  height: 3px;
  background: #0865df;
  border-radius: 3px 3px 0 0;
}

.view-all-link {
  font-size: 11px;
  font-weight: 700;
}

.table-filters-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.filters-left {
  display: flex;
  gap: 8px;
  flex: 1;
}

.table-search-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 10px;
  width: 180px;
}

.table-search-box input {
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 11px;
  width: 100%;
}

/* Data Table */
.table-responsive {
  overflow-x: auto;
}

.tenders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}

.tenders-table th {
  background: #f8fafc;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
}

.tenders-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: #334155;
}

.title-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.title-cell strong {
  color: #0f172a;
  font-size: 12px;
}

.cell-ico {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cell-ico.ico-blue {
  background: #e0f2fe;
  color: #0865df;
}

.cell-ico.ico-orange {
  background: #ffedd5;
  color: #f97316;
}

.cell-ico.ico-purple {
  background: #f3e8ff;
  color: #8b5cf6;
}

.cell-ico.ico-red {
  background: #ffe4e6;
  color: #ef4444;
}

.loc-pin {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #64748b;
}

/* Right Widgets Column */
.dash-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.profile-card-widget {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.widget-avatar {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
}

.widget-profile-meta h3 {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px;
}

.cin-text {
  display: block;
  font-size: 10px;
  color: #64748b;
  margin-bottom: 8px;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 11px;
}

.membership-badge-box {
  background: #fff7ed;
  border: 1px solid #ffedd5;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.crown-ico {
  font-size: 20px;
  color: #d97706;
}

.member-info strong {
  display: block;
  font-size: 12px;
  color: #92400e;
}

.member-info small {
  font-size: 10px;
  color: #b45309;
}

/* Widget General Header */
.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.widget-header h3 {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

/* Deadline List */
.deadline-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.deadline-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.date-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-red {
  background: #ffe4e6;
  color: #e11d48;
}

.badge-orange {
  background: #ffedd5;
  color: #ea580c;
}

.d-day {
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.d-month {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.deadline-info h4 {
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 2px;
}

.time-left {
  font-size: 10px;
  font-weight: 600;
}

.text-red {
  color: #dc2626;
}

.text-muted {
  color: #64748b;
}

/* Notification List Widget */
.notification-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.notif-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.notif-dot-ico {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.blue-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0865df;
}

.notif-content p {
  font-size: 11px;
  color: #1e293b;
  margin: 0 0 2px;
  line-height: 1.35;
}

.notif-content small {
  font-size: 10px;
  color: #94a3b8;
}

/* Responsive Dashboard Styles */
@media (max-width: 1200px) {
  .dash-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dash-grid-layout {
    flex-direction: column;
  }

  .dash-right-col {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .dash-menu-toggle {
    display: block;
  }

  .dash-sidebar {
    position: fixed;
    transform: translateX(-100%);
  }

  .dash-sidebar.open {
    transform: translateX(0);
  }

  .dash-right-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .dash-kpi-grid {
    grid-template-columns: 1fr;
  }

  .dash-header {
    padding: 0 12px;
  }

  .dash-content-body {
    padding: 12px;
  }
}

/* ==========================================================================
   Browse Tenders Page Component Styles
   ========================================================================== */

/* Page Heading & Breadcrumb Header */
.page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}

.crumb {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 6px;
}

.crumb span {
  color: #0865df;
  font-weight: 700;
}

.page-heading h1 {
  font-size: 24px;
  font-weight: 850;
  color: #0f172a;
  margin: 0 0 4px;
  letter-spacing: -0.5px;
}

.page-heading .subtitle {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

.heading-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Filters Card Container */
.filters-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.filters-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
}

.filters-card-header h3 {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filters-card-header h3 svg {
  color: #0865df;
}

.btn-text-reset {
  background: none;
  border: 0;
  font-size: 12px;
  font-weight: 700;
  color: #0865df;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}

.btn-text-reset:hover {
  background: #eff6ff;
}

/* Filter Fields Grid Layout */
.filter-fields-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 20px;
  margin-bottom: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.field input[type="text"] {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  color: #0f172a;
  background: #ffffff;
  outline: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input[type="text"]:focus,
.select-wrap select:focus {
  border-color: #0865df;
  box-shadow: 0 0 0 3px rgba(8, 101, 223, 0.12);
}

.select-wrap {
  position: relative;
  width: 100%;
}

.select-wrap select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 32px 10px 12px;
  font-size: 12px;
  color: #0f172a;
  background: #ffffff;
  outline: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.select-wrap::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #64748b;
  pointer-events: none;
}

/* Filters Card Footer */
.filters-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
  flex-wrap: wrap;
  gap: 14px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #0865df;
  cursor: pointer;
}

.filter-footer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Results Listing Card */
.results-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.results-header h2 {
  font-size: 18px;
  font-weight: 850;
  color: #0f172a;
  margin: 0 0 2px;
  letter-spacing: -0.3px;
}

.results-header p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

.sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-wrap label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.select-sm select {
  padding: 7px 28px 7px 10px;
  font-size: 11px;
  border-radius: 6px;
}

/* Results Toolbar (Counter & View Toggle) */
.results-tools-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.results-counter {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  padding: 4px 12px;
  border-radius: 20px;
}

.view-toggle {
  display: flex;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}

.btn-toggle {
  background: transparent;
  border: 0;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-toggle.active {
  background: #ffffff;
  color: #0865df;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

/* Tender List & Row Items */
.tender-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.tenders-list-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tender-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 18px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  gap: 20px;
}

.tender-item-row:hover {
  border-color: #93c5fd;
  box-shadow: 0 6px 18px rgba(8, 101, 223, 0.08);
  transform: translateY(-1px);
}

.item-main-info {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
}

.item-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ico-blue {
  background: #e0f2fe;
  color: #0865df;
}

.ico-orange {
  background: #ffedd5;
  color: #ea580c;
}

.ico-purple {
  background: #f3e8ff;
  color: #9333ea;
}

.ico-red {
  background: #ffe4e6;
  color: #e11d48;
}

.detail-link {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s;
}

.detail-link:hover {
  color: #0865df;
}

.item-main-info h3 {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 6px;
  line-height: 1.35;
}

.org-meta {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 10px;
}

.tags-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.badge-tag {
  font-size: 10px;
  font-weight: 700;
  background: #f1f5f9;
  color: #475569;
  padding: 3px 9px;
  border-radius: 6px;
}

.open-tag {
  background: #dcfce7;
  color: #15803d;
}

.urgent-tag {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fee2e2;
}

/* Item Right Side Actions & Value */
.item-right-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.val-text {
  font-size: 18px;
  font-weight: 850;
  color: #0f172a;
  text-align: right;
  line-height: 1.1;
}

.val-text small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
  margin-top: 2px;
}

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

.btn-bookmark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #64748b;
  font-size: 16px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-bookmark:hover,
.btn-bookmark.saved {
  border-color: #ef4444;
  color: #ef4444;
  background: #fef2f2;
}

/* Empty State */
.empty-state-box {
  display: none;
  padding: 40px 20px;
  text-align: center;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

/* Pagination Footer */
.pagination-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #64748b;
}

.page-numbers {
  display: flex;
  align-items: center;
  gap: 4px;
}

.page-numbers button {
  min-width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s;
}

.page-numbers button:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.page-numbers button.page-num.active {
  background: #0865df;
  color: #ffffff;
  border-color: #0865df;
  box-shadow: 0 3px 10px rgba(8, 101, 223, 0.25);
}

/* Media Queries for Browse Tenders Layout */
@media (max-width: 1200px) {
  .filter-fields-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-heading {
    flex-direction: column;
  }

  .filter-fields-grid {
    grid-template-columns: 1fr;
  }

  .tender-item-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .item-right-side {
    align-items: flex-start;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
  }

  .val-text {
    text-align: left;
  }
}

/* ==========================================================================
   Tender Details Page Component Styles
   ========================================================================== */

/* Details Top Bar (Breadcrumbs & Top Actions) */
.details-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.details-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-icon-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  color: #334155;
  background: #ffffff;
  border: 1px solid #cbd5e1;
}

.btn-icon-text:hover {
  background: #f8fafc;
  color: #0865df;
  border-color: #94a3b8;
}

.btn-apply-top {
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
}

/* Hero Header Card */
.tender-hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 32px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.hero-left-info {
  flex: 1;
  min-width: 0;
}

.hero-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dcfce7;
  color: #15803d;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
}

.hero-tender-title {
  font-size: 26px;
  font-weight: 850;
  color: #0f172a;
  margin: 0 0 14px;
  line-height: 1.25;
  letter-spacing: -0.6px;
}

.hero-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.meta-item svg {
  color: #64748b;
  flex-shrink: 0;
}

.hero-tags-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pill-tag {
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.hero-right-img-box {
  width: 260px;
  height: 145px;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.hero-building-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tabs Bar */
.details-tabs-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 6px 12px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
}

.details-tabs-list {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
}

.details-tab-btn {
  background: transparent;
  border: 0;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s;
}

.details-tab-btn:hover {
  color: #0865df;
}

.details-tab-btn.active {
  color: #0865df;
  font-weight: 800;
}

.details-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 12px;
  right: 12px;
  height: 3px;
  background: #0865df;
  border-radius: 3px 3px 0 0;
}

/* Grid Layout (Main & Sidebar) */
.details-grid-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.details-main-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.details-right-sidebar {
  width: 330px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Main Column Content Cards */
.content-section-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 26px 30px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.section-title-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section-ico-circle {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.section-title-box h2 {
  font-size: 18px;
  font-weight: 850;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.3px;
}

.section-desc-text {
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 24px;
}

/* 6 Metric Mini Cards Grid */
.summary-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.metric-mini-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.2s, background 0.2s;
}

.metric-mini-card:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.mini-ico-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.currency-symbol {
  font-size: 18px;
  font-weight: 850;
}

.mini-card-info {
  display: flex;
  flex-direction: column;
}

.mini-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 2px;
}

.mini-val {
  font-size: 15px;
  font-weight: 850;
  color: #0f172a;
}

/* Styled Bullet Lists */
.styled-bullets-list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.styled-bullets-list li {
  font-size: 13px;
  color: #334155;
  line-height: 1.5;
}

/* Sidebar Widgets */
.sidebar-widget-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.widget-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.widget-header-title h3 {
  font-size: 15px;
  font-weight: 850;
  color: #0f172a;
  margin: 0;
}

/* Timeline List Widget */
.dates-timeline-list {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 8px;
}

.dates-timeline-list::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 14px;
  bottom: 24px;
  width: 2px;
  background: #e2e8f0;
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  padding-bottom: 20px;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.step-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  margin-top: 1px;
}

.timeline-step.completed .step-indicator {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
}

.timeline-step.active .step-indicator {
  background: #0865df;
  border-color: #0865df;
  box-shadow: 0 0 0 4px rgba(8, 101, 223, 0.18);
}

.step-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.step-name {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}

.step-date {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

.step-date.active-date {
  color: #0f172a;
  font-weight: 800;
}

.urgent-badge {
  font-size: 10px;
  font-weight: 800;
  color: #dc2626;
  margin-top: 2px;
}

/* Timer Countdown Widget */
.timer-countdown-card {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

.timer-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  color: #047857;
  margin-bottom: 10px;
}

.timer-countdown-display {
  font-size: 24px;
  font-weight: 900;
  color: #dc2626;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.timer-target-sub {
  font-size: 11px;
  font-weight: 600;
  color: #047857;
}

/* Contact Info Widget */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-label {
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.info-val {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
}

.info-link {
  color: #0865df;
  text-decoration: none;
}

.info-link:hover {
  text-decoration: underline;
}

/* Quick Actions Widget */
.quick-actions-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-action-lg {
  padding: 12px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.action-buttons-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 4px;
}

.btn-sm-action {
  padding: 9px 6px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #334155;
}

/* Responsive Styles for Tender Details */
@media (max-width: 1200px) {
  .details-grid-layout {
    flex-direction: column;
  }

  .details-right-sidebar {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .tender-hero-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-right-img-box {
    width: 100%;
    height: 180px;
  }
}

@media (max-width: 768px) {
  .summary-metrics-grid {
    grid-template-columns: 1fr;
  }

  .details-right-sidebar {
    grid-template-columns: 1fr;
  }

  .action-buttons-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Login Error, Demo Credentials & Superadmin Dashboard Styles
   ========================================================================== */

/* Login Error Alert */
.login-error-alert {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.login-error-alert svg {
  flex-shrink: 0;
}

/* Demo Credentials Hint Box */
.demo-credentials-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 16px;
  font-size: 11px;
  color: #1e3a8a;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.demo-cred-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.demo-cred-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.demo-cred-row span {
  font-weight: 700;
  min-width: 75px;
}

.demo-cred-row code {
  background: #ffffff;
  border: 1px solid #93c5fd;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  color: #0865df;
  font-weight: 700;
}

/* Superadmin Portal Badge & Header */
.admin-portal-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fef2f2;
  border: 1px solid #fee2e2;
  color: #dc2626;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.4px;
}

.badge-red-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dc2626;
}

.superadmin-avatar {
  background: #7c3aed !important;
}

.superadmin-role {
  color: #7c3aed !important;
  font-weight: 700;
}

.btn-logout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  color: #dc2626;
  border-color: #fca5a5;
  background: #ffffff;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-logout:hover {
  background: #fef2f2;
  border-color: #dc2626;
}

.admin-kpi {
  border-top: 3px solid #7c3aed;
}

.admin-table th {
  background: #f8fafc;
}

.quick-admin-actions {
  display: flex;
  flex-direction: column;
}

.mb-10 {
  margin-bottom: 10px;
}

/* ==========================================================================
   Add Tender Form & Stepper Component Styles
   ========================================================================== */

/* Wizard Stepper Card */
.wizard-stepper-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 24px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.wizard-stepper-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stepper-item {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.stepper-item.active {
  opacity: 1;
}

.stepper-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  font-size: 14px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.stepper-item.active .stepper-num {
  background: #0865df;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(8, 101, 223, 0.25);
}

.stepper-text {
  display: flex;
  flex-direction: column;
}

.stepper-text strong {
  font-size: 13px;
  color: #0f172a;
  white-space: nowrap;
}

.stepper-text small {
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
}

.stepper-line {
  flex: 1;
  height: 2px;
  background: #e2e8f0;
  margin: 0 12px;
}

/* Form 2-Column Grid */
.form-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
}

.full-width-field {
  width: 100%;
}

/* Editor Toolbar */
.editor-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  padding: 6px 10px;
}

.tool-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
}

.tool-btn:hover {
  background: #f1f5f9;
  color: #0865df;
}

.tool-sep {
  width: 1px;
  height: 16px;
  background: #cbd5e1;
  margin: 0 4px;
}

.full-width-field textarea {
  border-radius: 0 0 8px 8px;
}

.char-count {
  text-align: right;
  font-size: 10px;
  font-weight: 600;
  color: #94a3b8;
  margin-top: 4px;
}

/* Status Radio Group */
.status-radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.status-radio-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.2s;
}

.status-radio-item:hover {
  background: #f8fafc;
}

.status-radio-item input[type="radio"] {
  accent-color: #0865df;
  width: 16px;
  height: 16px;
}

/* Important Dates Form Group */
.dates-form-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dates-form-group input[type="date"] {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 12px;
  color: #0f172a;
  background: #ffffff;
  outline: 0;
  font-family: inherit;
}

.dates-form-group input[type="date"]:focus {
  border-color: #0865df;
  box-shadow: 0 0 0 3px rgba(8, 101, 223, 0.12);
}

/* Quick Tips Card */
.tips-card {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  padding: 20px;
}

.tips-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.tips-header h3 {
  font-size: 14px;
  font-weight: 850;
  color: #1e3a8a;
  margin: 0;
}

.tips-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tips-list li {
  font-size: 11px;
  font-weight: 600;
  color: #1e40af;
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-ico {
  color: #0865df;
  font-weight: 900;
}

/* Success & Error Banners */
.tender-alert {
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.alert-success {
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #14532d;
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

/* Responsive Styles for Add Tender Wizard */
@media (max-width: 992px) {
  .wizard-stepper-list {
    flex-direction: column;
    align-items: flex-start;
  }

  .stepper-line {
    display: none;
  }

  .form-grid-2col {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Superadmin Categories Page Component Styles
   ========================================================================== */

.categories-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-admin-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.category-admin-card:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: 0 8px 20px rgba(8, 101, 223, 0.08);
}

.cat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-admin-card h3 {
  font-size: 16px;
  font-weight: 850;
  color: #0f172a;
  margin: 4px 0 2px;
}

.category-admin-card p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
  flex: 1;
}

.cat-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

@media (max-width: 1100px) {
  .categories-admin-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .categories-admin-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   HUB360 Modal Dialog Component
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 540px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 24px 28px 18px 28px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.modal-title-box h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
  letter-spacing: -0.3px;
}

.modal-title-box p {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: color 0.15s ease, background-color 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  color: #0f172a;
  background-color: #f1f5f9;
}

.modal-body {
  padding: 24px 28px;
}

.modal-footer {
  padding: 16px 28px 20px 28px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* ==========================================================================
   Add Tender Page Component Styles (Matching Mockup UI)
   ========================================================================== */
.wizard-stepper-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  border: 1px solid #eef2f7;
  padding: 16px 28px;
  margin-bottom: 24px;
}

.wizard-stepper-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stepper-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stepper-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.stepper-item.active .stepper-num {
  background: #0865df;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(8, 101, 223, 0.25);
}

.stepper-text {
  display: flex;
  flex-direction: column;
}

.stepper-text strong {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.stepper-text small {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

.stepper-line {
  flex: 1;
  height: 1px;
  background: #e2e8f0;
  margin: 0 20px;
}

/* Section Cards */
.form-section-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #eef2f7;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  padding: 28px;
  margin-bottom: 24px;
}

.section-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.section-header-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eff6ff;
  color: #0865df;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.section-header-text h3 {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px;
  letter-spacing: -0.3px;
}

.section-header-text p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

/* Form Controls & Inputs matching mockup */
.add-tender-form .form-group {
  margin-bottom: 20px;
}

.add-tender-form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.add-tender-form label .req {
  color: #ef4444;
}

.add-tender-form input[type="text"],
.add-tender-form input[type="number"],
.add-tender-form input[type="date"],
.add-tender-form select,
.add-tender-form textarea {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: #0f172a;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.add-tender-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.add-tender-form input:focus,
.add-tender-form select:focus,
.add-tender-form textarea:focus {
  background: #ffffff;
  border-color: #0865df;
  box-shadow: 0 0 0 3px rgba(8, 101, 223, 0.12);
}

/* Date input custom styling */
.date-input-wrap {
  position: relative;
  width: 100%;
}

.date-input-wrap input[type="date"] {
  width: 100%;
  padding-right: 38px;
}

.date-input-wrap .calendar-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #0865df;
  pointer-events: none;
}

/* Rich Text Editor Simulation */
.rich-editor-wrap {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.rich-editor-wrap .rich-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.rich-editor-wrap .tb-btn {
  background: transparent;
  border: none;
  padding: 4px 8px;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  border-radius: 4px;
}

.rich-editor-wrap .tb-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.rich-editor-wrap textarea {
  border: none !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  padding: 14px !important;
}

/* Status Radio options */
.status-radio-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

.status-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}

.status-radio-label input[type="radio"] {
  accent-color: #0865df;
  width: 16px;
  height: 16px;
}

/* Quick Tips Widget */
.tips-widget-card {
  background: #f0f7ff;
  border: 1px solid #e0edff;
  border-radius: 16px;
  padding: 20px 24px;
}

.tips-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tips-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
}

.tips-list .tip-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0865df;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}