.tender-details-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
}
.tender-details-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    vertical-align: top;
}

.tender-details-table tr:last-child td {
    border-bottom: none;
}
.tender-status-active {
    color: green;
    font-weight: bold;
}
.tender-status-closed {
    color: orange;
    font-weight: bold;
}
.tender-status-archived {
    color: red;
    font-weight: bold;
}
.tender-pagination {
    text-align: center;
    margin-top: 20px;
}
.tender-pagination a {
    margin: 0 5px;
    padding: 5px 10px;
    text-decoration: none;
    color: #0073aa;
    border: 1px solid #ddd;
    border-radius: 3px;
}
.tender-pagination a:hover {
    background-color: #0073aa;
    color: #fff;
}

/* Sidebar and Content Layout */
.tender-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.tender-sidebar {
    flex: 1 1 20%;
    border-right: 1px solid #ddd;
    padding-right: 15px;
}

.tender-content {
    flex: 1 1 75%;
}


/* Box Shadow for tender-item */
.tender-item {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #fff;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Sidebar Heading */
.tender-sidebar h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
    font-weight: bold;
    border-bottom: 2px solid #000000;
    padding-bottom: 5px;
}

/* Sidebar Financial Year Links */
.tender-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tender-sidebar ul li {
    margin-bottom: 5px;
}

.tender-sidebar ul li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    padding: 5px;
    display: block;
    border-radius: 3px;
}

.tender-sidebar ul li a:hover {
    background-color: #f4f4f4;
    color: #0073aa;
}

.tender-sidebar ul li.active a {
    font-weight: bold;
    color: #0073aa;
}


/* Search Form Styling */
.tender-search-form {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-between;
    flex-wrap: wrap; /* Ensure items wrap on smaller screens */
}

.tender-search-form div {
    flex: 1;
    text-align: left;
}

.tender-search-form label {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
    color: #333;
}

.tender-search-form input[type="date"],
.tender-search-form input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.tender-search-form button.search-button {
    padding: 16px 20px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    flex-shrink: 0;
    flex-grow: 0;
    min-width: 120px;
    text-align: center;
}

/* Hover effect for the search button */
.tender-search-form button.search-button:hover {
    background-color: #005880;
}

/* Add margin-top on desktop only */
@media (min-width: 768px) {
    .tender-search-form button.search-button {
        margin-top: 16px;
    }
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
    .tender-search-form {
        flex-direction: column; /* Stack items vertically on mobile */
    }

    .tender-search-form div,
    .tender-search-form button.search-button {
        width: 100%; /* Make all items take full width */
        margin-top: 10px; /* Add spacing between items */
    }
}

/* Style for download buttons */
.download-button {
    display: inline-block;
    padding: 10px 15px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.download-button:hover {
    background-color: #005880;
}

/* Addendums Row Styling */
.addendums-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.addendums-row .download-button {
    flex: 1 1 auto;
    
    text-align: center;
}
.tender-addendums-p{
    margin: 0px !important;
    padding-top: 10px;
}



