/* Search Results Page Styles */
.search-results-page {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.05) 0%, rgba(255, 107, 53, 0.05) 50%, rgba(247, 147, 30, 0.05) 100%),
                url('../images/busbanner.jpg') center/cover no-repeat fixed;
    background-attachment: fixed;
    min-height: 100vh;
}

.results-header {
    text-align: center;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.results-header h1 {
    font-size: 42px;
    color: #333;
    margin-bottom: 15px;
}

.search-query {
    font-size: 18px;
    color: #666;
    margin-bottom: 10px;
}

.search-query strong {
    color: #d32f2f;
}

.women-only-badge {
    display: inline-block;
    background: #d32f2f;
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    margin-top: 10px;
}

.women-only-badge i {
    margin-right: 5px;
}

.filters-section {
    background: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 600;
    color: #333;
}

.filter-group select {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.filter-group select:focus {
    outline: none;
    border-color: #d32f2f;
}

.buses-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bus-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.bus-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.bus-info {
    flex: 1;
}

.bus-name-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.bus-name-section h3 {
    font-size: 22px;
    color: #333;
    margin: 0;
}

.bus-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #4caf50;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.bus-rating i {
    font-size: 12px;
}

.bus-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
}

.detail-item i {
    color: #d32f2f;
    width: 20px;
    text-align: center;
}

.detail-item .label {
    font-weight: 600;
}

.detail-item .value {
    color: #333;
}

.bus-price-section {
    text-align: right;
    padding-left: 30px;
    border-left: 2px solid #e0e0e0;
}

.price {
    margin-bottom: 15px;
}

.price .currency {
    font-size: 20px;
    color: #d32f2f;
    font-weight: bold;
}

.price .amount {
    font-size: 32px;
    color: #d32f2f;
    font-weight: bold;
}

.book-btn {
    padding: 12px 30px;
    background: #d32f2f;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.book-btn:hover {
    background: #b71c1c;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.no-results i {
    font-size: 64px;
    color: #999;
    margin-bottom: 20px;
}

.no-results h3 {
    color: #333;
    margin-bottom: 10px;
}

.no-results p {
    color: #666;
}

/* Responsive Design */
@media (max-width: 968px) {
    .bus-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .bus-price-section {
        width: 100%;
        padding-left: 0;
        border-left: none;
        border-top: 2px solid #e0e0e0;
        padding-top: 20px;
        margin-top: 20px;
        text-align: left;
    }
    
    .bus-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .search-results-page {
        padding: 40px 0;
        background-attachment: scroll;
    }
    
    .results-header {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .results-header h1 {
        font-size: 28px;
    }
    
    .search-query {
        font-size: 16px;
    }
    
    .filters-section {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }
    
    .filter-group {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .filter-group label {
        font-size: 14px;
    }
    
    .filter-group select {
        flex: 1;
        min-width: 150px;
    }
    
    .bus-card {
        padding: 20px;
        flex-direction: column;
    }
    
    .bus-name-section {
        flex-wrap: wrap;
    }
    
    .bus-name-section h3 {
        font-size: 18px;
    }
    
    .bus-details {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .bus-price-section {
        width: 100%;
        padding-left: 0;
        padding-top: 20px;
        border-left: none;
        border-top: 2px solid #e0e0e0;
        text-align: left;
    }
    
    .price .amount {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .results-header h1 {
        font-size: 24px;
    }
    
    .filters-section {
        padding: 15px;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .filter-group select {
        width: 100%;
    }
    
    .bus-card {
        padding: 15px;
    }
    
    .bus-name-section h3 {
        font-size: 16px;
    }
    
    .detail-item {
        font-size: 13px;
    }
}
