
.pressganey-reviews-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    max-width: 100%;
    margin: 20px 0;
}

.pressganey-loading {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #002e6c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pressganey-error {
    text-align: center;
    padding: 20px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #666;
}

/* Basic Display Styles */
.pressganey-basic {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.pressganey-rating-display {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pressganey-stars {
    font-size: 24px;
    color: #ffd700;
    letter-spacing: 2px;
}

.pressganey-rating-value {
    font-size: 18px;
    font-weight: 600;
    color: #002e6c;
}

.pressganey-review-count {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* Reviews Display Styles */
.pressganey-reviews {
    overflow: hidden;
}

.pressganey-reviews-header {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #e4e4e4;
    border-radius: 10px;
    border: 1px solid #c6c6c6;
}

.pressganey-reviews-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pressganey-reviews-header .pressganey-stars {
    color: #c2a400;
    font-size: 20px;
}

.pressganey-reviews-header .pressganey-rating-value {
    color: black;
    font-size: 16px;
}

.pressganey-reviews-header .pressganey-review-count {
    color: rgba(0, 0, 0, 0.8);
    margin-top: 0;
}

.pressganey-reviews-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.pressganey-review-item {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.pressganey-review-item:hover {
    background-color: #f9f9f9;
}

.pressganey-review-item:last-child {
    border-bottom: none;
}

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

.pressganey-review-stars {
    color: #ffd700;
    font-size: 16px;
    letter-spacing: 1px;
}

.pressganey-review-date {
    font-size: 12px;
    color: #999;
}

.pressganey-review-comment {
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* Ratings Breakdown Styles */
.pressganey-ratings-breakdown {
    padding: 20px;
}

.pressganey-ratings-breakdown h4 {
    margin: 0 0 15px 0;
    color: #002e6c;
    font-size: 16px;
    font-weight: 600;
}

.ratings-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rating-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 0;
}

.rating-score {
    font-size: 16px;
    font-weight: 600;
    color: #002e6c;
    min-width: 40px;
}

.rating-stars {
    color: #bea000;
    font-size: 16px;
    letter-spacing: 1px;
    min-width: 80px;
}

.rating-title {
    font-size: 14px;
    color: #333;
    flex: 1;
    line-height: 1.4;
    font-weight: 600;
}

/* Comments Notice Styles */
.pressganey-comments-notice {
    padding: 15px 20px;
    margin: 0;
}

.pressganey-comments-notice p {
    color: #555;
    line-height: 1.5;
    font-style: italic;
    font-size: 14px;
}

.pressganey-load-more {
    text-align: center;
    padding: 20px;
}

.pressganey-load-more-button {
    background: #002e6c;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.pressganey-load-more-button:hover {
    background: #001f4a;
}

.pressganey-load-more-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pressganey-basic {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .pressganey-reviews-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .pressganey-review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

.provider-reviews-section{
    background-color: #f3f3f3;
    padding: 40px 0;
}

/* Admin Sync Section Styles */
.sync-section {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 20px;
}

.sync-section h2 {
    color: #002e6c;
    margin-bottom: 15px;
    border-bottom: 2px solid #002e6c;
    padding-bottom: 10px;
}

.sync-status {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    border-left: 4px solid #002e6c;
}

.sync-status p {
    margin: 5px 0;
    font-size: 14px;
}

.sync-actions {
    margin: 20px 0;
}

.sync-actions .button {
    margin-right: 10px;
}

.sync-actions .description {
    margin-top: 10px;
    font-style: italic;
    color: #666;
}

#sync-result {
    margin-top: 15px;
}

#sync-result .notice {
    margin: 0;
    padding: 12px 15px;
}

#sync-result .notice-success {
    border-left-color: #46b450;
}

#sync-result .notice-error {
    border-left-color: #dc3232;
}