/* ========================================
   RFP Page Styles
   W3C Validated - Replaces inline styles
   ======================================== */

/* Hide original header elements */
.hero-section, .ultra-minimal-header {
    display: none !important;
}

.breadcrumb-container {
    display: none !important;
}

/* RFP Page Styles */
.rfp-main {
    background: var(--section-light, #f8f9fa);
    min-height: 60vh;
}

/* RFP Section */
.rfp-section {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

/* Toolbar with Search and Filters */
.rfp-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.rfp-search {
    position: relative;
    flex: 1 1 300px;
    max-width: 500px;
}

.rfp-search input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.2s;
}

.rfp-search input:focus {
    outline: none;
    border-color: #1a365d;
    box-shadow: 0 0 0 2px rgba(26, 54, 93, 0.2);
}

.rfp-search-btn {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0;
}

.rfp-sort {
    margin-left: 1rem;
}

.rfp-sort select {
    padding: 0.8rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1rem;
    background-color: #fff;
    cursor: pointer;
}

.rfp-sort select:focus {
    outline: none;
    border-color: #1a365d;
    box-shadow: 0 0 0 2px rgba(26, 54, 93, 0.2);
}

/* RFP List */
.rfp-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rfp-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.rfp-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.rfp-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.rfp-title:hover {
    color: #0f2441;
    text-decoration: underline;
}

.rfp-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.rfp-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rfp-meta i {
    color: #1a365d;
}

.rfp-description {
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.rfp-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.rfp-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #1a365d;
    background: #1a365d;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.rfp-btn:hover {
    background: #0f2441;
    border-color: #0f2441;
    color: #fff;
    text-decoration: none;
}

.rfp-btn.secondary {
    background: transparent;
    color: #1a365d;
}

.rfp-btn.secondary:hover {
    background: #1a365d;
    color: #fff;
}

/* No results message */
.rfp-no-search-results {
    display: none;
    text-align: center;
    padding: 3rem;
    color: #666;
}

.rfp-no-search-results.show {
    display: block;
}

.rfp-no-results {
    text-align: center;
    padding: 3rem;
    color: #666;
}

/* Responsive design */
@media (max-width: 768px) {
    .rfp-toolbar {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .rfp-search {
        flex: 1 1 auto;
        max-width: none;
    }
    
    .rfp-sort {
        margin-left: 0;
    }
    
    .rfp-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .rfp-actions {
        flex-direction: column;
    }
    
    .rfp-btn {
        justify-content: center;
    }
} 