/* =========================================
   ADVANCED REVIEWS STYLES
   Provides a premium, Myntra/Amazon-like UI
========================================= */

.reviews-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 6px;
    font-family: 'Inter', sans-serif;
}

/* --- HEADER & SUMMARY --- */
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.reviews-header-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
    min-width: 300px;
}

.reviews-header h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #111;
}

/* Aggregate Block */
.reviews-aggregate-box {
    display: flex;
    align-items: center;
    gap: 30px;
}

.aggregate-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.average-rating {
    font-size: 48px;
    font-weight: 800;
    color: #111;
    line-height: 1;
}

.stars-summary {
    color: #ffd700;
    font-size: 22px;
}

.reviews-count {
    color: #777;
    font-size: 14px;
    font-weight: 500;
}

/* Progress Bars */
.rating-breakdown {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 300px;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #555;
    font-weight: 600;
}

.rating-bar-container {
    flex: 1;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.rating-bar-fill {
    height: 100%;
    background: #ffd700;
    border-radius: 4px;
    width: 0%;
    transition: width 1s ease-out;
}
.rating-bar-fill.fill-dark { background: #333; }

.rating-pct {
    width: 35px;
    text-align: right;
    color: #777;
}

/* Write Button */
.write-review-btn {
    background: #111;
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.write-review-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

/* --- FILTERS & PHOTO GALLERY --- */
.reviews-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.reviews-filters {
    display: flex;
    gap: 15px;
    align-items: center;
}

.reviews-sort-select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    outline: none;
    background: #fff;
    cursor: pointer;
}

.reviews-filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    user-select: none;
}

/* Customer Photos Grid */
.customer-photos-wrapper {
    margin-bottom: 30px;
}
.customer-photos-wrapper h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #111;
}
.customer-photos-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
}
.customer-photos-grid::-webkit-scrollbar { height: 6px; }
.customer-photos-grid::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }

.customer-photo-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    flex-shrink: 0;
    border: 1px solid #eee;
    transition: transform 0.2s;
}
.customer-photo-thumb:hover {
    transform: scale(1.05);
}

/* --- REVIEWS LIST & CARDS --- */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.no-reviews {
    text-align: center;
    padding: 40px 0;
    color: #777;
    font-style: italic;
    background: #fdfdfd;
    border: 1px dashed #ddd;
    border-radius: 12px;
}

.review-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 20px 22px;
    margin-bottom: 5px;
}

.review-card:last-child {
    border-bottom: 1px solid #f0f0f0;
}

/* Card Header */
.review-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.review-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: #555;
    text-transform: uppercase;
    flex-shrink: 0;
}

.review-user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.review-user-name {
    font-weight: 700;
    font-size: 15px;
    color: #111;
    display: flex;
    align-items: center;
    gap: 8px;
}

.verified-badge {
    color: #d9534f;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    background: #fdf0f0;
    padding: 2px 6px;
    border-radius: 4px;
}

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

/* Card Body */
.review-stars-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

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

.review-title {
    font-weight: 700;
    font-size: 15px;
    color: #111;
    margin: 0;
}

.review-comment {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin: 0 0 15px 0;
}

/* Uploaded Images inline */
.review-images-inline {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.review-img-inline {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid #eee;
    transition: transform 0.2s;
}
.review-img-inline:hover {
    transform: scale(1.05);
}

/* Actions */
.review-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: #666;
}

.helpful-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    color: #555;
    font-family: inherit;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.helpful-btn:hover { background: #f9f9f9; }
.helpful-btn.active {
    background: #eef2ff;
    border-color: #8492c3;
    color: #4a5a7d;
}

.reply-toggle-btn {
    background: none;
    border: none;
    color: #8492c3;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}
.reply-toggle-btn:hover { text-decoration: underline; }

/* Admin Tags */
.admin-tag {
    font-size: 11px;
    background: #111;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: auto;
    font-weight: 600;
}

/* --- REPLIES THREAD --- */
.replies-container {
    margin-top: 15px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 2px solid #eee;
    display: none; /* hidden by default */
}

.reply-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.reply-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.reply-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.reply-header strong {
    font-size: 14px;
    color: #333;
}
.reply-date {
    font-size: 12px;
    color: #888;
}
.official-badge {
    background: #111;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.reply-text {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.reply-input-box {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.reply-input-box input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}
.reply-input-box input:focus { border-color: #8492c3; }
.reply-input-box button {
    background: #111;
    color: #fff;
    border: none;
    padding: 0 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

/* --- WRITE REVIEW MODAL --- */
.review-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.review-modal-overlay.active { opacity: 1; visibility: visible; }

.review-modal {
    background: #fff;
    width: 90%;
    max-width: 550px;
    border-radius: 16px;
    padding: 30px;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.review-modal-overlay.active .review-modal { transform: translateY(0); }

.modal-close-btn {
    position: absolute;
    top: 20px; right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close-btn:hover { color: #111; }

.review-modal h3 {
    margin: 0 0 20px;
    font-size: 22px;
    font-weight: 800;
    text-align: center;
}

/* Form Fields */
.review-form-group {
    margin-bottom: 20px;
}
.review-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.review-input, .review-textarea {
    width: 100%;
    border: 1.5px solid #eee;
    border-radius: 10px;
    padding: 15px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
    background: #fafafa;
}
.review-textarea {
    resize: vertical;
    min-height: 100px;
}
.review-input:focus, .review-textarea:focus {
    border-color: #111;
    background: #fff;
}

/* Star Rating */
.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 8px;
}
.rating-input input { display: none; }
.rating-input label {
    font-size: 32px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s, transform 0.1s;
}
.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label {
    color: #ffd700;
}
.rating-input label:active { transform: scale(0.9); }

/* Image Uploader */
.image-upload-area {
    border: 2px dashed #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.2s;
}
.image-upload-area:hover { border-color: #bbb; }

.image-preview-flex {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.img-prev-box {
    position: relative;
    width: 65px;
    height: 65px;
}
.img-prev-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #ddd;
}
.img-prev-box .remove-img {
    position: absolute;
    top: -5px; right: -5px;
    background: #d9534f;
    color: #fff;
    border-radius: 50%;
    width: 18px; height: 18px;
    font-size: 10px;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
}

.submit-review-btn {
    width: 100%;
    background: #111;
    color: #fff;
    border: none;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}
.submit-review-btn:hover { background: #333; }
.submit-review-btn:disabled { background: #888; cursor: not-allowed; }

.review-error-msg { color: #d9534f; font-size: 14px; margin-bottom: 15px; text-align: center; display: none; }
.review-success-msg { color: #2e7d32; font-size: 14px; margin-bottom: 15px; text-align: center; display: none; }

/* Enhanced Lightbox Gallery */
.lightbox-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s;
}
.lightbox-overlay.active { opacity: 1; visibility: visible; }

.lightbox-close {
    position: absolute;
    top: 16px; right: 22px;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    width: 90%;
}

.lightbox-img {
    max-width: 100%;
    max-height: 55vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lightbox-counter {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    margin-top: 10px;
    font-weight: 600;
    letter-spacing: 1px;
}

.lightbox-nav {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: all 0.2s;
    flex-shrink: 0;
    z-index: 5;
}
.lightbox-nav:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.1);
}
.lightbox-nav.hidden { opacity: 0; pointer-events: none; }

/* Review Info Panel */
.lightbox-review-info {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 16px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,0.1);
}

.lightbox-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.lightbox-review-stars {
    color: #ffd700;
    font-size: 18px;
    letter-spacing: 2px;
}

.lightbox-review-name {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 600;
}

.lightbox-review-comment {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    max-height: 60px;
    overflow-y: auto;
}
.lightbox-review-comment::-webkit-scrollbar { width: 4px; }
.lightbox-review-comment::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 2px; }

@media (max-width: 768px) {
    .lightbox-nav {
        width: 36px;
        height: 36px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-content { width: 85%; }
    .lightbox-img { max-height: 45vh; }
}

/* Pagination */
.load-more-btn {
    display: block;
    width: 200px;
    margin: 30px auto 0;
    padding: 12px;
    text-align: center;
    background: none;
    border: 1px solid #111;
    color: #111;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.load-more-btn:hover {
    background: #111;
    color: #fff;
}

/* =========================================
   MOBILE RESPONSIVE — REVIEW SUMMARY
   Compact, premium Amazon/Myntra style
========================================= */
@media (max-width: 768px) {

    /* Section */
    .reviews-section {
        padding: 0 16px;
        margin: 30px auto;
    }

    /* Header */
    .reviews-header {
        flex-direction: column;
        gap: 16px;
        padding-bottom: 20px;
        margin-bottom: 20px;
        border-bottom: 1px solid #eee;
    }

    .reviews-header-left {
        min-width: unset;
        width: 100%;
        gap: 12px;
    }

    .reviews-header h2 {
        font-size: 18px;
        letter-spacing: 0.3px;
    }

    /* Aggregate Score — Row Layout */
    .reviews-aggregate-box {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .aggregate-score {
        flex-direction: row;
        align-items: baseline;
        gap: 8px;
    }

    .average-rating {
        font-size: 32px;
        font-weight: 800;
    }

    .stars-summary {
        font-size: 18px;
    }

    .reviews-count {
        font-size: 13px;
        color: #888;
    }

    /* Rating Breakdown Bars */
    .rating-breakdown {
        width: 100%;
        max-width: 100%;
        gap: 8px;
    }

    .rating-row {
        gap: 8px;
        font-size: 12px;
    }

    .rating-row span:first-child {
        min-width: 24px;
        flex-shrink: 0;
    }

    .rating-bar-container {
        height: 6px;
        border-radius: 3px;
    }

    .rating-bar-fill {
        border-radius: 3px;
    }

    .rating-pct {
        width: 32px;
        font-size: 12px;
    }

    /* Write Review Button */
    .write-review-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 14px;
        border-radius: 10px;
        margin-top: 16px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        letter-spacing: 0.8px;
    }
    .write-review-btn:hover {
        transform: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    }

    /* Toolbar & Filters */
    .reviews-toolbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 16px;
        flex-wrap: nowrap;
    }

    .reviews-filters {
        gap: 10px;
        flex-wrap: nowrap;
        width: 100%;
    }

    .reviews-sort-select {
        padding: 8px 10px;
        font-size: 13px;
        border-radius: 8px;
        flex: 1;
        min-width: 0;
    }

    .reviews-filter-checkbox {
        font-size: 12px;
        gap: 5px;
        white-space: nowrap;
    }

    /* Review Cards */
    .reviews-list {
        gap: 12px;
    }

    .review-card {
        padding: 16px 14px;
        border-radius: 10px;
    }

    .review-card-header {
        gap: 10px;
        margin-bottom: 8px;
    }

    .review-avatar {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .review-user-name {
        font-size: 13px;
    }

    .review-date {
        font-size: 11px;
    }

    .review-stars {
        font-size: 18px !important;
    }

    .review-title {
        font-size: 13px;
    }

    .review-comment {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .review-images-inline {
        gap: 8px;
        margin-bottom: 10px;
    }

    .review-img-inline {
        width: 72px;
        height: 72px;
        border-radius: 6px;
    }

    .review-actions {
        gap: 12px;
        font-size: 12px;
        flex-wrap: wrap;
    }

    .helpful-btn {
        font-size: 12px;
        padding: 5px 12px;
    }

    .reply-toggle-btn {
        font-size: 12px;
    }

    /* Customer Photos */
    .customer-photo-thumb {
        width: 64px;
        height: 64px;
        border-radius: 6px;
    }

    .customer-photos-wrapper {
        margin-bottom: 20px;
    }

    .customer-photos-wrapper h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    /* View More */
    .load-more-btn {
        width: 100%;
        margin: 16px auto 0;
        padding: 11px;
        font-size: 13px;
    }

    /* Review Modal */
    .review-modal {
        width: 95%;
        padding: 20px;
        border-radius: 14px;
    }

    .review-modal h3 {
        font-size: 18px;
    }

    .rating-input label {
        font-size: 28px;
    }

    /* Confirm Modal */
    .auravo-confirm-box {
        width: 92%;
        padding: 25px 20px;
    }
}

/* =========================================
   CUSTOM CONFIRM / ALERT MODAL
========================================= */
.auravo-confirm-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}
.auravo-confirm-overlay.active {
    opacity: 1;
    visibility: visible;
}

.auravo-confirm-box {
    background: #fff;
    width: 400px;
    max-width: 90%;
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    transform: scale(0.85) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.auravo-confirm-overlay.active .auravo-confirm-box {
    transform: scale(1) translateY(0);
}

.auravo-confirm-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: #fff3e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e65100;
}
.auravo-confirm-icon.danger {
    background: #fce4ec;
    color: #c62828;
}
.auravo-confirm-icon.success {
    background: #e8f5e9;
    color: #2e7d32;
}
.auravo-confirm-icon.info {
    background: #e3f2fd;
    color: #1565c0;
}

.auravo-confirm-box h4 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: #111;
}

.auravo-confirm-box p {
    margin: 0 0 24px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.auravo-confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.auravo-confirm-cancel {
    flex: 1;
    padding: 12px 20px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.auravo-confirm-cancel:hover {
    background: #eee;
}

.auravo-confirm-ok {
    flex: 1;
    padding: 12px 20px;
    background: #111;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.auravo-confirm-ok:hover {
    background: #333;
}
.auravo-confirm-ok.danger {
    background: #d9534f;
}
.auravo-confirm-ok.danger:hover {
    background: #c9302c;
}

/* --- ASYNC UPLOADING STATES --- */
.review-card.is-uploading {
    position: relative;
    border: 1px dashed #8492c3 !important;
    background: #fcfdfe !important;
}

.uploading-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #4a5a7d;
    background: #eef2ff;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.upload-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(132, 146, 195, 0.3);
    border-top: 2px solid #8492c3;
    border-radius: 50%;
    animation: upload-spin 0.8s linear infinite;
}

@keyframes upload-spin {
    to { transform: rotate(360deg); }
}

.review-img-skeleton {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    background: #f0f0f0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
}

.review-img-skeleton::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: skeleton-shimmer 1.5s infinite;
}

@keyframes skeleton-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.upload-error-badge {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #d9534f;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    z-index: 2;
}

.upload-retry-btn {
    position: absolute;
    bottom: 5px; right: 5px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 24px; height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.2s;
    z-index: 3;
}

.upload-retry-btn:hover {
    background: #f0f0f0;
    transform: scale(1.1);
}

.upload-retry-btn svg {
    width: 14px;
    height: 14px;
    color: #333;
}
