/* BuzzHub Admin Styles */

.buzzhub-modal {
    z-index: 100000;
}

.buzzhub-star-rating {
    display: inline-block;
}

.buzzhub-star {
    display: inline-block;
    cursor: pointer;
    transition: color 0.2s ease;
}

.buzzhub-empty-state {
    text-align: center;
    padding: 40px;
}

.buzzhub-form-container {
    display: grid;
    gap: 20px;
}

@media (min-width: 768px) {
    .buzzhub-form-container {
        grid-template-columns: 2fr 1fr;
    }
}

/* Settings page styles */
.buzzhub-shortcode-examples {
    background: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.buzzhub-shortcode-examples h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.buzzhub-shortcode-examples h3:first-child {
    margin-top: 0;
}

.buzzhub-shortcode-examples code {
    background: #fff;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    display: block;
    margin: 5px 0;
    font-family: monospace;
}

.buzzhub-shortcode-examples p {
    margin: 5px 0 15px 0;
    color: #666;
}

.buzzhub-theme-preview {
    background: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
}

.buzzhub-theme-preview h3 {
    margin-top: 20px;
    margin-bottom: 15px;
}

.buzzhub-theme-preview h3:first-child {
    margin-top: 0;
}

.buzzhub-preview-container {
    max-width: 400px;
    margin-bottom: 20px;
}

.buzzhub-preview-container:last-child {
    margin-bottom: 0;
}

/* Reviews page styles */
.buzzhub-platform {
    background: #f0f0f0;
    color: #666;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

.buzzhub-platform-google {
    background: #4285f4;
    color: white;
}

.buzzhub-platform-yelp {
    background: #d32323;
    color: white;
}

.buzzhub-platform-manual {
    background: #0073aa;
    color: white;
}

.buzzhub-platform-user_submitted {
    background: #50c878;
    color: white;
}

/* Button spacing for consistent layout */
.wp-list-table .button-small {
    margin-right: 3px;
    margin-bottom: 2px;
    white-space: nowrap;
}

/* Add/Edit review page styles */
.buzzhub-form-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    margin-top: 20px;
}

.buzzhub-form-main {
    min-width: 0;
}

.buzzhub-form-sidebar {
    min-width: 0;
}

.buzzhub-star-rating {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    user-select: none;
}

.buzzhub-star-rating .buzzhub-star {
    transition: color 0.2s ease;
    margin-right: 2px;
}

.buzzhub-star-rating .buzzhub-star:hover,
.buzzhub-star-rating .buzzhub-star.active {
    color: #ffa500;
}

.buzzhub-star-rating .buzzhub-star.hover {
    color: #ffd700;
}

.buzzhub-photo-preview {
    margin-top: 10px;
}

.buzzhub-actions {
    text-align: left;
}

.buzzhub-actions .submit {
    margin-bottom: 10px;
}

.buzzhub-original-text {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #ddd;
    font-style: italic;
    color: #666;
}

@media (max-width: 768px) {
    .buzzhub-form-container {
        grid-template-columns: 1fr;
    }
} 