/* Google Reviews Extension Styles */

.tx-tuning-reviews {
    margin: 20px 0;
}

.tx-tuning-reviews h1 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
}

.reviews-container {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.review-item {
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #f9f9f9;
    transition: box-shadow 0.3s ease;
}

.review-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.review-author {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #222;
}

.review-rating {
    display: flex;
    gap: 4px;
    font-size: 18px;
    white-space: nowrap;
}

.star {
    color: #ffc107;
}

.star-empty {
    color: #ddd;
}

.review-text {
    font-size: 14px;
    line-height: 1.6;
    margin: 15px 0;
    color: #555;
}

.review-date {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 10px;
}

.review-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background: #4285f4;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    transition: background 0.3s ease;
}

.review-link:hover {
    background: #3367d6;
    text-decoration: none;
}

.alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin: 20px 0;
}

.alert-info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.review-detail {
    background: white;
    padding: 30px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.review-detail h1 {
    margin-top: 0;
}

.review-meta {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.review-content h2 {
    margin-top: 0;
    color: #222;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.btn-primary {
    background: #4285f4;
    color: white;
}

.btn-primary:hover {
    background: #3367d6;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    margin-bottom: 20px;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* Responsive */
@media (max-width: 768px) {
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .reviews-container {
        grid-template-columns: 1fr;
    }

    .review-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

.google-reviews {
    padding: 20px;
}
