body {
    background-color: #f8f9fa;
}

#exportButton {
    transition: all 0.3s ease;
}

#exportButton:hover {
    transform: scale(1.05);
}

.card {
    border-radius: 10px;
    overflow: hidden;
}

.card-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.platform-not-found {
    display: none;
}

.platform-rating {
    font-weight: bold;
    color: #198754;
}

.verification-result {
    font-size: 0.9rem;
}

.star-rating {
    color: #ffc107;
}

.spinner-border {
    width: 1rem;
    height: 1rem;
}

/* Custom star rating */
.stars-container {
    display: inline-block;
    position: relative;
    color: #ddd;
    font-size: 1.2rem;
}

.stars-filled {
    position: absolute;
    top: 0;
    left: 0;
    color: #ffc107;
    overflow: hidden;
    white-space: nowrap;
}

/* Media queries */
@media (max-width: 768px) {
    .col-md-6 {
        margin-bottom: 1rem;
    }
}
/* Platform filters */
.platform-filters {
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    margin-bottom: 15px;
}

.form-check-inline {
    margin-right: 20px;
}

/* Review preview section */
.reviews-preview {
    max-height: 400px;
    overflow-y: auto;
}

.review-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: #0056b3 !important;
    margin-bottom: 10px;
}

.review-item {
    padding: 10px 0;
}

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

.review-rating {
    font-size: 1.1rem;
}

.review-text {
    line-height: 1.5;
}

.load-more-reviews {
    width: 100%;
    margin-top: 10px;
}

/* Export buttons */
#exportReviewsButton, #exportSummaryButton {
    transition: all 0.3s ease;
}

#exportReviewsButton:hover, #exportSummaryButton:hover {
    transform: scale(1.05);
}

/* Card variants */
.card.border-primary {
    border-width: 2px;
}

.card.border-info {
    border-width: 2px;
}

/* Media queries */
@media (max-width: 768px) {
    .col-md-6 {
        margin-bottom: 1rem;
    }
    
    .platform-filters {
        text-align: center;
    }
    
    .form-check-inline {
        display: block;
        margin-bottom: 10px;
    }
}

/* Add these styles to your styles.css file */

/* Style for reviews with minimal content */
.review-item.rating-only {
    background-color: #f8f9fa;
    border-left: 3px solid #6c757d;
}

.review-item .fst-italic {
    font-size: 0.9rem;
}

/* Compact style for rating-only reviews */
.review-item:has(.text-muted.fst-italic:only-child) {
    padding: 8px 0;
}

/* Verified badge styling */
.badge.bg-info {
    background-color: #0dcaf0 !important;
}

/* Review sections styling for better readability */
.review-sections {
    margin-top: 10px;
}

.review-sections > div {
    padding: 5px 0;
    border-bottom: 1px solid #e9ecef;
}

.review-sections > div:last-child {
    border-bottom: none;
}

/* Make rating-only reviews more compact */
.review-item.minimal-content {
    padding: 8px 0;
}

.review-item.minimal-content .review-text {
    margin-top: 5px;
}

/* Custom notification styling without Bootstrap JS dependency */
.alert {
    position: relative;
    padding: 0.75rem 2.5rem 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.alert-info {
    color: #055160;
    background-color: #cff4fc;
    border-color: #b6effb;
}

/* Close button styling */
.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.25rem;
    opacity: 0.5;
    cursor: pointer;
    padding: 0.25rem;
}

.btn-close:hover {
    opacity: 0.75;
}

.btn-close:focus {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    opacity: 1;
}

/* Position utilities */
.position-fixed {
    position: fixed !important;
}

.top-0 {
    top: 0 !important;
}

.start-50 {
    left: 50% !important;
}

.translate-middle-x {
    transform: translateX(-50%) !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

/* Animation classes */
.fade {
    transition: opacity 0.15s linear;
}

.fade.show {
    opacity: 1;
}

/* Notification-specific styling */
.alert.position-fixed {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Ensure notifications don't overlap with page content */
.alert.position-fixed {
    max-width: 90vw;
    word-wrap: break-word;
}

/* Make sure close button is always visible */
.alert .btn-close {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

/* Make sure close button is always visible */
.alert .btn-close {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

/* Progress bar styles */
.progress-container {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid #dee2e6;
}

.progress {
    height: 20px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    transition: width 0.3s ease;
    background-color: #007bff;
}

.progress-bar-animated {
    animation: progress-bar-stripes 1s linear infinite;
}

.progress-label {
    font-weight: 600;
    color: #495057;
}

.progress-percentage {
    font-weight: bold;
    color: #007bff;
}

.progress-status {
    color: #6c757d;
    font-size: 0.875rem;
}

.progress-status.text-success {
    color: #28a745 !important;
}

.progress-status.text-danger {
    color: #dc3545 !important;
}

@keyframes progress-bar-stripes {
    from {
        background-position: 1rem 0;
    }
    to {
        background-position: 0 0;
    }
}

/* Nested progress bars for individual platforms */
#export-progress .progress-container {
    margin-left: 20px;
    background: #fff;
    border-left: 3px solid #007bff;
}

/* Success state for completed progress bars */
.progress-bar.bg-success {
    background-color: #28a745 !important;
}

/* Error state for failed progress bars */
.progress-bar.bg-danger {
    background-color: #dc3545 !important;
}