:root {
  --primary: #1f4fff;
  --primary-soft: rgba(31, 79, 255, 0.08);
  --primary-hover: #173bcc;
  --accent: #ffb547;
  --text-main: #111827;
  --text-muted: #6b7280;
  --bg-soft: #f3f4f6;
  --border-soft: #e5e7eb;
  --card-radius: 1.4rem;
}

/* ===================== HERO / TOP ===================== */

.head {
  position: relative;
  padding-top: 7rem;
  padding-bottom: 4.5rem;
  overflow: hidden;
}

.head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.pexels.com/photos/1181671/pexels-photo-1181671.jpeg?auto=compress&cs=tinysrgb&w=1600")
    no-repeat center center / cover;
  opacity: 0.65;
  z-index: 0;
}

.head::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(31, 79, 255, 0.4), transparent 45%),
    linear-gradient(to bottom right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
  z-index: 0;
}

.head-detail {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-inline: auto;
  padding: 2rem 2.3rem;
  border-radius: 1.6rem;
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.6);
  color: #ffffff;
}

.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #f9fafb;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  text-transform: uppercase;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.14),
    rgba(15, 23, 42, 0.6)
  );
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* ===================== TENDER SECTION ===================== */

.tender-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

/* ✅ ONLY Tender table responsive wrapper */
.tender-table-wrap {
  /* width: 100px; */

  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* table width fixed so scroll works */
.tender-table-wrap table {
  min-width: 900px;
}

/* prevent text breaking */
.tender-table-wrap th,
.tender-table-wrap td {
  white-space: nowrap;
}
/* Tender ID column width */
.tender-id {
    width: auto;        /* adjust: 70px / 80px / 100px */
    min-width: 90px;
    max-width: 90px;

}

/* input ko chhota aur clean rakhe */
.tender-id-input {
    padding: 4px 6px;
    font-size: 13px;
}
