:root {
  --soleco-blue: #0055a5;
  --soleco-gold: #fdb913;
  --bg-light: #f8fafc;
  --card-white: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --status-green: #16a34a;
}

.header-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.title-area h1 {
  margin: 0;
  color: var(--soleco-blue);
  font-size: 1.75rem;
  border-left: 5px solid var(--soleco-gold);
  padding-left: 15px;
}

/* Search and Filter Bar */
.filter-bar {
  display: flex;
  gap: 10px;
  background: var(--card-white);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-light);
}

.filter-bar input {
  padding: 8px 12px;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  outline: none;
}

/* Table Design */
.bid-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-light);
}

.bid-table th {
  background: #f1f5f9;
  text-align: left;
  padding: 15px;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border-light);
}

.bid-table td {
  padding: 20px 15px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.bid-table tr:hover {
  background-color: #f9fafb;
}

.status-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

.tag-awarded {
  background: #dcfce7;
  color: #166534;
}
.tag-itb {
  background: #fef9c3;
  color: #854d0e;
}

.bid-title {
  font-weight: 600;
  color: var(--soleco-blue);
  display: block;
  margin-bottom: 4px;
  text-decoration: none;
}

.bid-id {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: monospace;
}

.btn-download {
  color: var(--soleco-blue);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
}

.btn-download:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .bid-table thead {
    display: none;
  }
  .bid-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .bid-table td:before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: var(--text-muted);
    font-size: 0.75rem;
  }
  .bid-table tr {
    gap: 2em;
  }
}
