/* Public styles for Manus Hosting Reviews */

.mhr-company-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.mhr-company-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.mhr-company-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.mhr-company-card h3 {
    margin: 0 0 15px 0;
    color: #333;
}

.mhr-company-card h3 a {
    text-decoration: none;
    color: inherit;
}

.mhr-company-card h3 a:hover {
    color: #0073aa;
}

.mhr-company-meta {
    margin-bottom: 15px;
}

.mhr-company-meta .mhr-hosting-types {
    background: #f0f0f0;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9em;
    display: inline-block;
    margin-bottom: 10px;
}

.mhr-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.mhr-stars {
    display: flex;
    gap: 2px;
}

.mhr-star {
    color: #ddd;
    font-size: 1.2em;
}

.mhr-star.filled {
    color: #ffa500;
}

.mhr-rating-text {
    font-size: 0.9em;
    color: #666;
}

.mhr-company-excerpt {
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.mhr-company-actions {
    display: flex;
    gap: 10px;
}

.mhr-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.mhr-btn-primary {
    background: #0073aa;
    color: #fff;
}

.mhr-btn-primary:hover {
    background: #005a87;
    color: #fff;
}

.mhr-btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.mhr-btn-secondary:hover {
    background: #e0e0e0;
    color: #333;
}

/* Comparison table styles */
.mhr-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mhr-comparison-table th,
.mhr-comparison-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.mhr-comparison-table th {
    background: #f8f9fa;
    font-weight: bold;
    color: #333;
}

.mhr-comparison-table tr:hover {
    background: #f8f9fa;
}

.mhr-comparison-table .mhr-feature-name {
    font-weight: bold;
    width: 200px;
}

/* Review styles */
.mhr-reviews-container {
    margin: 20px 0;
}

.mhr-review {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.mhr-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.mhr-reviewer-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mhr-reviewer-name {
    font-weight: bold;
    color: #333;
}

.mhr-review-source {
    font-size: 0.9em;
    color: #666;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
}

.mhr-review-content {
    line-height: 1.6;
    color: #333;
}

/* Single company page styles */
.mhr-single-company {
    max-width: 800px;
    margin: 0 auto;
}

.mhr-company-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.mhr-company-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.mhr-detail-section {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.mhr-detail-section h3 {
    margin: 0 0 15px 0;
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 5px;
}

.mhr-detail-section p,
.mhr-detail-section ul {
    margin: 0;
    line-height: 1.6;
}

/* Responsive design */
@media (max-width: 768px) {
    .mhr-company-list {
        grid-template-columns: 1fr;
    }
    
    .mhr-company-details {
        grid-template-columns: 1fr;
    }
    
    .mhr-comparison-table {
        font-size: 0.9em;
    }
    
    .mhr-comparison-table th,
    .mhr-comparison-table td {
        padding: 8px;
    }
    
    .mhr-review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

