   :root {
        --coghsta-yellow: #FFD700;   /* ← new yellow */
        --coghsta-green: #06793E;
    }

    .tenders-section {
        max-width: 1100px;
        margin: 0 auto;
        padding: 50px 20px;
    }

    .tenders-header {
        text-align: center;
        margin-bottom: 2.5rem;
    }
    .tenders-header h2 {
        font-weight: 800;
        color: #111;
        position: relative;
        display: inline-block;
        font-size: 2.2rem;
    }
    .tenders-header h2::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 70px;
        height: 4px;
        background: var(--coghsta-yellow);
        border-radius: 2px;
    }
    .tenders-header p {
        color: #666;
        margin-top: 1.2rem;
    }

    /* Search */
    .search-box {
        max-width: 520px;
        margin: 0 auto 2.5rem;
    }
    .search-box .form-control {
        border-radius: 50px 0 0 50px;
        border: 1px solid #ddd;
        padding: 0.7rem 1.4rem;
        box-shadow: none;
    }
    .search-box .btn-search {
        border-radius: 0 50px 50px 0;
        background: var(--coghsta-yellow);
        border: none;
        color: #111;
        font-weight: 600;
        padding: 0.7rem 1.8rem;
    }
    .search-box .btn-search:hover {
        background: #FFD700;
    }

    /* Tabs */
    .tenders-tabs {
        border-bottom: 2px solid #eee;
        margin-bottom: 1.5rem;
    }
    .tenders-tabs .nav-link {
        border: none;
        color: #555;
        font-weight: 600;
        padding: 0.75rem 1.6rem;
        border-radius: 8px 8px 0 0;
        margin-right: 4px;
        cursor: pointer;
    }
    .tenders-tabs .nav-link.active {
        background: var(--coghsta-yellow);
        color: #111;
    }
    .tenders-tabs .nav-link:not(.active):hover {
        color: var(--coghsta-green);
    }

    /* Show entries */
    .show-entries {
        font-size: 0.95rem;
        color: #555;
        margin-bottom: 1rem;
    }
    .show-entries select {
        width: 70px;
        display: inline-block;
        margin: 0 6px;
    }

    /* Table */
    .tenders-table {
        background: white;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    }
    .tenders-table thead th {
        background: var(--coghsta-yellow) !important;
        color: #111;
        font-weight: 700;
        border: none;
        padding: 1rem 1.1rem;
        font-size: 0.95rem;
    }
    .tenders-table tbody td {
        vertical-align: middle;
        padding: 1rem 1.1rem;
        border-bottom: 1px solid #f0f0f0;
        font-size: 0.95rem;
    }
    .tenders-table tbody tr:last-child td {
        border-bottom: none;
    }
    .tenders-table tbody tr:hover {
        background-color: #fafafa;
    }
    .file-icon {
        color: #e74c3c;
        font-size: 1.3rem;
    }
    .closing-date {
        font-weight: 600;
        color: var(--coghsta-green);
        white-space: nowrap;
    }

    /* Pagination */
    .pagination-info {
        color: #666;
        font-size: 0.9rem;
    }
    .pagination .page-item.active .page-link {
        background-color: var(--coghsta-yellow);
        border-color: var(--coghsta-yellow);
        color: #111;
        font-weight: 700;
    }
    .pagination .page-link {
        color: #333;
        border-radius: 6px;
        margin: 0 3px;
        border: 1px solid #ddd;
    }
    .pagination .page-link:hover {
        background-color: #f0f0f0;
        color: var(--coghsta-green);
    }
    .pagination .page-item.disabled .page-link {
        color: #aaa;
    }

    #archived-tenders {
        display: none;
    }

    /* =========================================================
   PAGE HEADER WITH BACKGROUND VIDEO
   ========================================================= */
.page-header {
    position: relative;
    overflow: hidden;
    min-height: 380px;              /* adjust as needed */
    display: flex;
    align-items: center;
    background: #0d1b2a;            /* fallback while video loads */
}

/* Video fills the header and sits behind content */
.page-header video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;              /* crop instead of stretch */
    z-index: 0;
    pointer-events: none;
}

/* Dark overlay so white text stays legible over any footage */
.page-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}

/* Content above the video/overlay */
.page-header .container {
    position: relative;
    z-index: 1;
}

/* Breadcrumb styling over video */
.page-header .breadcrumb-item a {
    color: #FFD700;
    text-decoration: none;
}
.page-header .breadcrumb-item a:hover {
    color: #ffffff;
}

.page-header .breadcrumb-item.active {
    color: #ffffff;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}

/* Ensure the header goes edge-to-edge without white gaps */
.page-header.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .page-header {
        min-height: 280px;
    }
    .page-header h1.display-2 {
        font-size: 2.2rem;
    }
}

/* Pagination */
.pagination-info {
    color: #666;
    font-size: 0.9rem;
}
.pagination .page-item.active .page-link {
    background-color: var(--blouberg-gold);
    border-color: var(--blouberg-gold);
    color: #111;
    font-weight: 700;
}
.pagination .page-link {
    color: #333;
    border-radius: 6px;
    margin: 0 3px;
    border: 1px solid #ddd;
}
.pagination .page-link:hover {
    background-color: #f0f0f0;
    color: var(--blouberg-green);
}
.pagination .page-item.disabled .page-link {
    color: #aaa;
}

#archived-tenders {
    display: none;
}

.search-group {
    position: relative;
}

.search-group .btn-clear {
    position: absolute;
    top: 50%;
    right: 92px;              /* sits just left of the Search button */
    transform: translateY(-50%);
    z-index: 5;
    width: 28px;
    height: 28px;
    padding: 0;
    line-height: 1;
    font-size: 1.25rem;
    color: #6c757d;
    background: transparent;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.search-group .btn-clear:hover,
.search-group .btn-clear:focus {
    color: #000;
    background: #e9ecef;
    text-decoration: none;
}