/* ============================================= */
/* BID NOTICES PAGE - SEPARATE STYLES            */
/* ============================================= */

/* ===== PAGE HEADER ===== */
.bid-notices-page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    padding: 50px 0 45px;
    text-align: center;
    border-bottom: 4px solid var(--secondary-orange);
    position: relative;
}

.bid-notices-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png') repeat;
    opacity: 0.05;
}

.bid-notices-header-content {
    position: relative;
    z-index: 1;
}

.bid-notices-header-content h1 {
    font-size: 2.8rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.bid-notices-header-content h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-orange);
    margin: 12px auto 0;
    border-radius: 2px;
}

.bid-notices-header-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 15px auto 0;
}

/* ===== BID NOTICES BODY ===== */
.bid-notices-page-body {
    padding: 40px 0 60px;
    background: var(--bg-light);
}

.bid-notices-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 35px;
    align-items: start;
}

/* ===== LEFT COLUMN ===== */
.bid-notices-main {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

/* ===== CURRENT BID NOTICE ===== */
.bid-notice-current {
    background: var(--white);
    border-radius: 12px;
    padding: 35px 35px 40px;
    box-shadow: var(--shadow-light);
}

.bid-notice-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.04);
}

.bid-badge {
    display: inline-block;
    background: var(--secondary-orange);
    color: var(--white);
    padding: 3px 16px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.bid-notice-header h2 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 8px;
}

.bid-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.bid-meta i {
    color: var(--secondary-orange);
    margin-right: 4px;
}

/* ===== BID DESCRIPTION ===== */
.bid-description {
    margin-bottom: 25px;
}

.bid-description h3 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bid-description h3 i {
    color: var(--secondary-orange);
}

.bid-description p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.bid-projects {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 18px;
}

.bid-projects h4 {
    font-size: 0.95rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 8px;
}

.bid-projects ul {
    list-style: none;
    padding: 0;
}

.bid-projects ul li {
    padding: 4px 0;
    color: var(--text-body);
    font-size: 0.92rem;
    line-height: 1.5;
    padding-left: 20px;
    position: relative;
}

.bid-projects ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--secondary-orange);
    font-size: 1.2rem;
    font-weight: 700;
}

/* ===== BID SCHEDULE ===== */
.bid-schedule {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 18px;
}

.bid-schedule h4 {
    font-size: 0.95rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bid-schedule h4 i {
    color: var(--secondary-orange);
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.schedule-item {
    background: var(--white);
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 3px solid var(--secondary-orange);
}

.schedule-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.schedule-value {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-blue);
}

/* ===== BID CONTACT ===== */
.bid-contact {
    background: rgba(249, 115, 22, 0.04);
    border-radius: 10px;
    padding: 16px 20px;
    border-left: 3px solid var(--secondary-orange);
}

.bid-contact h4 {
    font-size: 0.95rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bid-contact h4 i {
    color: var(--secondary-orange);
}

.bid-contact p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 6px;
}

.bid-contact ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.bid-contact ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-body);
    font-size: 0.88rem;
}

.bid-contact ul li i {
    color: var(--secondary-orange);
}

/* ===== PDF VIEWER ===== */
.bid-pdf-viewer {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    overflow: hidden;
}

.pdf-viewer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: var(--primary-blue);
    color: var(--white);
    flex-wrap: wrap;
    gap: 10px;
}

.pdf-viewer-header h3 {
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.pdf-viewer-header h3 i {
    color: var(--secondary-orange);
}

.pdf-actions {
    display: flex;
    gap: 8px;
}

.pdf-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.pdf-action-btn:hover {
    background: var(--secondary-orange);
    border-color: var(--secondary-orange);
}

.pdf-viewer-container {
    background: #e5e5e5;
}

.pdf-viewer-container iframe {
    display: block;
    border: none;
    min-height: 600px;
}

.pdf-viewer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: var(--bg-light);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    flex-wrap: wrap;
    gap: 10px;
}

.pdf-viewer-footer span {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.pdf-viewer-footer span i {
    color: var(--secondary-orange);
}

.btn-download-pdf {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    border-radius: 6px;
    background: var(--secondary-orange);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.btn-download-pdf:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

/* ===== PREVIOUS BID NOTICES ===== */
.previous-bid-notices {
    background: var(--white);
    border-radius: 12px;
    padding: 30px 35px;
    box-shadow: var(--shadow-light);
}

.previous-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.04);
}

.previous-header h3 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.previous-header h3 i {
    color: var(--secondary-orange);
}

.previous-count {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--bg-light);
    padding: 2px 14px;
    border-radius: 50px;
}

/* ===== NO PREVIOUS BIDS ===== */
.no-previous-bids {
    text-align: center;
    padding: 40px 20px;
}

.no-previous-bids i {
    font-size: 3.5rem;
    color: var(--text-muted);
    opacity: 0.3;
    margin-bottom: 15px;
}

.no-previous-bids h4 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 6px;
}

.no-previous-bids p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== PREVIOUS BIDS LIST (COMMENTED) ===== */
/*
.previous-bids-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.previous-bid-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: var(--transition);
    border-left: 3px solid var(--secondary-orange);
}

.previous-bid-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-light);
}

.prev-bid-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.prev-bid-icon {
    font-size: 1.8rem;
    color: #dc2626;
}

.prev-bid-details h4 {
    font-size: 0.95rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin: 0;
}

.prev-bid-details p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 2px 0 0;
}

.prev-bid-actions {
    display: flex;
    gap: 10px;
}

.prev-bid-actions a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.prev-bid-actions .btn-view-pdf {
    background: var(--bg-light);
    color: var(--primary-blue);
    border: 1px solid #e5e7eb;
}

.prev-bid-actions .btn-view-pdf:hover {
    border-color: var(--secondary-orange);
    background: rgba(249, 115, 22, 0.05);
}

.prev-bid-actions .btn-download-pdf {
    background: var(--secondary-orange);
    color: var(--white);
}

.prev-bid-actions .btn-download-pdf:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}
*/

/* ============================================= */
/* SIDEBAR                                      */
/* ============================================= */

.bid-notices-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 12px;
    padding: 24px 26px;
    box-shadow: var(--shadow-light);
}

.sidebar-widget h3 {
    font-size: 1rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-widget h3 i {
    color: var(--secondary-orange);
}

/* Info Widget */
.info-list li {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li i {
    font-size: 1.1rem;
    color: var(--secondary-orange);
    width: 24px;
    margin-top: 2px;
    flex-shrink: 0;
}

.info-list li strong {
    display: block;
    font-size: 0.8rem;
    color: var(--primary-blue);
}

.info-list li span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Contact Widget */
.contact-details p {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    color: var(--text-body);
    font-size: 0.9rem;
}

.contact-details p i {
    color: var(--secondary-orange);
    width: 20px;
}

/* Quick Links */
.quick-links li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-body);
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.quick-links li:last-child a {
    border-bottom: none;
}

.quick-links li a i {
    color: var(--secondary-orange);
    width: 18px;
}

.quick-links li a:hover {
    color: var(--secondary-orange);
    padding-left: 4px;
}

/* ============================================= */
/* SHARE MODAL                                  */
/* ============================================= */

.share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.share-modal.active {
    display: flex !important;
}

.share-modal-content {
    background: var(--white);
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    animation: modalFadeIn 0.3s ease;
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: var(--primary-blue);
    color: var(--white);
    border-bottom: 3px solid var(--secondary-orange);
}

.share-modal-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-modal-header h3 i {
    color: var(--secondary-orange);
}

.share-modal-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    padding: 0 4px;
}

.share-modal-close:hover {
    color: var(--secondary-orange);
    transform: rotate(90deg);
}

.share-modal-body {
    padding: 24px;
}

.share-modal-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.share-option:hover {
    border-color: var(--secondary-orange);
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
}

.share-option i {
    font-size: 1.8rem;
}

.share-option span {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
}

.share-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-light);
    padding: 10px 14px;
    border-radius: 8px;
    flex-wrap: wrap;
}

.share-link span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.share-link input {
    flex: 1;
    padding: 6px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.85rem;
    background: var(--white);
    min-width: 120px;
}

.share-link button {
    padding: 6px 16px;
    background: var(--secondary-orange);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.share-link button:hover {
    background: var(--primary-blue);
}

/* ============================================= */
/* RESPONSIVE                                   */
/* ============================================= */

@media (max-width: 1024px) {
    .bid-notices-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .bid-notices-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
    }
    
    .schedule-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .bid-notices-page-header {
        padding: 35px 0 30px;
    }
    
    .bid-notices-header-content h1 {
        font-size: 2rem;
    }
    
    .bid-notices-header-content p {
        font-size: 0.95rem;
    }
    
    .bid-notice-current {
        padding: 25px 20px;
    }
    
    .pdf-viewer-container iframe {
        min-height: 350px;
    }
    
    .pdf-viewer-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .pdf-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .pdf-viewer-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .bid-notices-sidebar {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .previous-bid-notices {
        padding: 25px 20px;
    }
    
    .share-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .share-link {
        flex-direction: column;
        align-items: stretch;
    }
    
    .share-link input {
        width: 100%;
    }
    
    .bid-contact ul {
        flex-direction: column;
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .bid-notices-header-content h1 {
        font-size: 1.6rem;
    }
    
    .bid-notices-header-content p {
        font-size: 0.9rem;
    }
    
    .bid-notice-current {
        padding: 18px 14px;
    }
    
    .bid-notice-header h2 {
        font-size: 1.2rem;
    }
    
    .bid-meta {
        font-size: 0.75rem;
        gap: 10px;
    }
    
    .pdf-viewer-container iframe {
        min-height: 250px;
    }
    
    .pdf-action-btn {
        padding: 4px 10px;
        font-size: 0.65rem;
    }
    
    .pdf-action-btn i {
        font-size: 0.7rem;
    }
    
    .bid-notices-sidebar {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .previous-bid-notices {
        padding: 18px 14px;
    }
    
    .share-modal-content {
        max-width: 95%;
        margin: 10px;
        border-radius: 12px;
    }
    
    .share-modal-header h3 {
        font-size: 0.95rem;
    }
    
    .share-modal-body {
        padding: 16px;
    }
    
    .share-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .share-option {
        padding: 10px 6px;
    }
    
    .share-option i {
        font-size: 1.4rem;
    }
    
    .share-option span {
        font-size: 0.6rem;
    }
}

/* ============================================= */
/* PREVIOUS BIDS LIST - ENHANCED                */
/* ============================================= */

.previous-bids-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.previous-bid-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

/* Decorative left border */
.previous-bid-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--secondary-orange);
    opacity: 0.3;
    transition: var(--transition);
}

.previous-bid-item:hover::before {
    opacity: 1;
}

.previous-bid-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(249, 115, 22, 0.15);
}

/* ===== STATUS BADGE ===== */
.prev-bid-status {
    flex-shrink: 0;
}

.status-badge {
    display: inline-block;
    padding: 3px 14px;
    border-radius: 50px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.closed {
    background: rgba(107, 114, 128, 0.12);
    color: #6b7280;
}

.status-badge.awarded {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.status-badge.cancelled {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

.status-badge.ongoing {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
}

/* ===== BID INFO ===== */
.prev-bid-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.prev-bid-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(220, 38, 38, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.previous-bid-item:hover .prev-bid-icon-wrapper {
    background: rgba(220, 38, 38, 0.15);
    transform: scale(1.05);
}

.prev-bid-icon-wrapper i {
    font-size: 1.5rem;
    color: #dc2626;
}

.prev-bid-details {
    flex: 1;
    min-width: 0;
}

.prev-bid-details h4 {
    font-size: 0.95rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.prev-bid-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.prev-bid-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.prev-bid-meta span i {
    color: var(--secondary-orange);
    font-size: 0.7rem;
}

.bid-lot-count {
    background: var(--white);
    padding: 1px 10px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 0.7rem;
}

/* ===== BID ACTIONS ===== */
.prev-bid-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.prev-bid-actions a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.prev-bid-actions .btn-view-pdf {
    background: var(--white);
    color: var(--primary-blue);
    border: 1.5px solid #e5e7eb;
}

.prev-bid-actions .btn-view-pdf:hover {
    border-color: var(--secondary-orange);
    background: rgba(249, 115, 22, 0.05);
    transform: translateY(-2px);
}

.prev-bid-actions .btn-download-pdf {
    background: var(--secondary-orange);
    color: var(--white);
}

.prev-bid-actions .btn-download-pdf:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(10, 38, 71, 0.2);
}

/* ============================================= */
/* RESPONSIVE - ENHANCED                        */
/* ============================================= */

@media (max-width: 992px) {
    .previous-bid-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px 18px;
    }
    
    .prev-bid-status {
        order: 0;
    }
    
    .prev-bid-info {
        order: 1;
    }
    
    .prev-bid-actions {
        order: 2;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .prev-bid-info {
        flex-wrap: wrap;
    }
    
    .prev-bid-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .prev-bid-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .prev-bid-actions a {
        padding: 5px 14px;
        font-size: 0.7rem;
    }
    
    .prev-bid-icon-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .prev-bid-icon-wrapper i {
        font-size: 1.2rem;
    }
    
    .prev-bid-details h4 {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .previous-bid-item {
        padding: 14px 14px;
        border-radius: 8px;
    }
    
    .prev-bid-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .prev-bid-actions {
        flex-direction: row;
        width: 100%;
        justify-content: stretch;
    }
    
    .prev-bid-actions a {
        flex: 1;
        justify-content: center;
        padding: 6px 10px;
        font-size: 0.65rem;
    }
    
    .prev-bid-meta span {
        font-size: 0.7rem;
    }
    
    .status-badge {
        font-size: 0.5rem;
        padding: 2px 10px;
    }
}

/* ============================================= */
/* PROJECTS TABLE WITH AMOUNTS                   */
/* ============================================= */

.bid-projects-table-wrapper,
.bid-cost-table-wrapper {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 18px;
    overflow-x: auto;
}

.bid-projects-table-wrapper h4,
.bid-cost-table-wrapper h4 {
    font-size: 0.95rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 12px;
}

.bid-projects-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.bid-projects-table thead {
    background: var(--primary-blue);
    color: var(--white);
}

.bid-projects-table thead th {
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bid-projects-table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.bid-projects-table tbody tr:hover {
    background: rgba(249, 115, 22, 0.04);
}

.bid-projects-table tbody td {
    padding: 10px 14px;
    color: var(--text-body);
}

.bid-projects-table tbody td:first-child {
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    width: 80px;
}

.bid-projects-table tbody td:last-child {
    font-weight: 600;
    color: var(--secondary-orange);
    text-align: right;
    white-space: nowrap;
}

.bid-projects-table tfoot {
    background: rgba(249, 115, 22, 0.06);
    border-top: 2px solid var(--secondary-orange);
}

.bid-projects-table tfoot td {
    padding: 10px 14px;
    font-weight: 700;
    color: var(--primary-blue);
}

.bid-projects-table tfoot td:last-child {
    color: var(--secondary-orange);
    text-align: right;
}

/* ===== BID COST TABLE ===== */
.bid-cost-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.bid-cost-table thead {
    background: var(--primary-blue);
    color: var(--white);
}

.bid-cost-table thead th {
    padding: 8px 14px;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bid-cost-table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.bid-cost-table tbody tr:hover {
    background: rgba(249, 115, 22, 0.04);
}

.bid-cost-table tbody td {
    padding: 8px 14px;
    color: var(--text-body);
}

.bid-cost-table tbody td:last-child {
    font-weight: 600;
    color: var(--secondary-orange);
    text-align: right;
    white-space: nowrap;
}

/* ============================================= */
/* FULL WIDTH PDF VIEWER                        */
/* ============================================= */

.bid-pdf-viewer-full {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    margin-top: 35px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.bid-pdf-viewer-full .pdf-viewer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    background: var(--primary-blue);
    color: var(--white);
    flex-wrap: wrap;
    gap: 10px;
}

.bid-pdf-viewer-full .pdf-viewer-header h3 {
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.bid-pdf-viewer-full .pdf-viewer-header h3 i {
    color: var(--secondary-orange);
}

.bid-pdf-viewer-full .pdf-viewer-container {
    background: #e5e5e5;
}

.bid-pdf-viewer-full .pdf-viewer-container iframe {
    display: block;
    border: none;
    width: 100%;
    height: 700px;
}

.bid-pdf-viewer-full .pdf-viewer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background: var(--bg-light);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    flex-wrap: wrap;
    gap: 10px;
}

/* ============================================= */
/* FULL WIDTH PREVIOUS BID NOTICES              */
/* ============================================= */

.previous-bid-notices-full {
    background: var(--white);
    border-radius: 12px;
    padding: 30px 35px;
    box-shadow: var(--shadow-light);
    margin-top: 35px;
}

/* ============================================= */
/* RESPONSIVE                                   */
/* ============================================= */

@media (max-width: 1024px) {
    .bid-pdf-viewer-full .pdf-viewer-container iframe {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .bid-projects-table-wrapper,
    .bid-cost-table-wrapper {
        padding: 12px 14px;
    }
    
    .bid-projects-table,
    .bid-cost-table {
        font-size: 0.75rem;
    }
    
    .bid-projects-table thead th,
    .bid-projects-table tbody td,
    .bid-cost-table thead th,
    .bid-cost-table tbody td {
        padding: 6px 10px;
    }
    
    .bid-pdf-viewer-full .pdf-viewer-container iframe {
        height: 400px;
    }
    
    .bid-pdf-viewer-full .pdf-viewer-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .bid-pdf-viewer-full .pdf-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .bid-pdf-viewer-full .pdf-viewer-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .previous-bid-notices-full {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .bid-projects-table-wrapper,
    .bid-cost-table-wrapper {
        padding: 8px 10px;
        border-radius: 6px;
    }
    
    .bid-projects-table,
    .bid-cost-table {
        font-size: 0.65rem;
    }
    
    .bid-projects-table thead th,
    .bid-projects-table tbody td,
    .bid-cost-table thead th,
    .bid-cost-table tbody td {
        padding: 4px 8px;
    }
    
    .bid-pdf-viewer-full .pdf-viewer-container iframe {
        height: 300px;
    }
    
    .bid-pdf-viewer-full .pdf-viewer-header h3 {
        font-size: 0.85rem;
    }
    
    .bid-pdf-viewer-full .pdf-action-btn {
        padding: 4px 10px;
        font-size: 0.65rem;
    }
}