/* ================================================
   HENDOSHI - PAGES - PRODUCTS
   ================================================
   
   Purpose: Product page specific styling and layouts
   
   Contains:
   - Admin reviews list
   - Product detail pages
   - Product listing pages
   - Size selector components
   - Review displays
   
   Dependencies: variables.css, product-components.css
   Load Order: Load after product feature styles
   ================================================ */

/* ===== ADMIN_REVIEWS_LIST ===== */

/* Enhanced approve button styling */
.status-select {
    border: 2px solid rgba(255, 20, 147, 0.3);
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--off-white);
    transition: all 0.3s ease;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.status-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 20, 147, 0.25);
}

.status-select:focus,
.status-select:hover {
    border-color: var(--neon-pink);
    background-color: rgba(0, 0, 0, 0.9);
}

/* Color the select control itself to reflect current status */
.status-select.status-approved {
    background-color: rgba(25, 135, 84, 0.12);
    border-color: rgba(25, 135, 84, 0.6);
    color: rgba(25, 135, 84, 1);
}

.status-select.status-approved:focus,
.status-select.status-approved:hover {
    background-color: rgba(25, 135, 84, 0.18);
}

.status-select.status-rejected {
    background-color: rgba(220, 53, 69, 0.12);
    border-color: rgba(220, 53, 69, 0.6);
    color: rgba(220, 53, 69, 1);
}

.status-select.status-rejected:focus,
.status-select.status-rejected:hover {
    background-color: rgba(220, 53, 69, 0.18);
}

.status-select.status-pending {
    background-color: rgba(255, 193, 7, 0.12);
    border-color: rgba(255, 193, 7, 0.6);
    color: rgba(102, 81, 0, 1);
}

/* Bulk action buttons styling */
.btn-outline-success {
    border-color: #198754;
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
    transition: all 0.3s ease;
}

.btn-outline-success:hover {
    transform: translateY(-2px);
    border-color: #198754;
    background-color: #198754;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
    color: white;
}

.btn-outline-danger {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    transition: all 0.3s ease;
}

.btn-outline-danger:hover {
    transform: translateY(-2px);
    border-color: #dc3545;
    background-color: #dc3545;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    color: white;
}

/* View button styling */
.btn-outline-info {
    border-color: var(--neon-pink);
    background-color: rgba(255, 20, 147, 0.1);
    color: var(--neon-pink);
    transition: all 0.3s ease;
}

.btn-outline-info:hover {
    transform: translateY(-2px);
    border-color: var(--neon-pink);
    background-color: var(--neon-pink);
    box-shadow: 0 4px 12px rgba(255, 20, 147, 0.3);
    color: white;
}

/* Mobile status select styling */
@media (max-width: 768px) {
    .status-select {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Better mobile button spacing */
    .btn-group .btn {
        margin-right: 0.25rem;
        margin-bottom: 0.25rem;
    }

    /* Enhanced verified badge */
    .badge.bg-success {
        background-color: #198754;
        color: white;
        font-weight: 600;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }
}

/* Pink badge for admin reply indicator */
.badge.bg-pink {
    background-color: var(--neon-pink);
    color: white;
}

/* Info badge for images indicator */
.badge.bg-info {
    background-color: #0dcaf0;
    color: #000;
}

/* Improved visibility for muted text */
body .text-muted {
    color: #b0b0b0;
}

body .card .text-muted {
    color: #aaa;
}

/* ===== PRODUCT_DETAIL ===== */

/* Social Share Section Styles */
.social-share-section {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.share-title {
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
}

.social-share-buttons {
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-share-buttons,
.share-btn {
    display: flex;
    justify-content: center;
}

.share-btn {
    align-items: center;
    width: 40px;
    min-width: auto;
    height: 40px;
    padding: 0;
    border: 2px solid;
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.share-btn:active {
    transform: translateY(0);
}

.share-btn i {
    font-size: 1.1rem;
}

/* Platform-specific button styles - Always show brand colors */

/* Facebook - Always blue */
.facebook-btn {
    border-color: #1877f2;
    background: #1877f2;
    color: #fff;
}

.facebook-btn:hover {
    border-color: #0d65d9;
    background: #0d65d9;
}

/* Twitter/X - Always black */
.twitter-btn {
    border-color: #333;
    background: #000;
    color: #fff;
}

.twitter-btn:hover {
    border-color: #555;
    background: #333;
}

/* Pinterest - Always red */
.pinterest-btn {
    border-color: #e60023;
    background: #e60023;
    color: #fff;
}

.pinterest-btn:hover {
    border-color: #c8001f;
    background: #c8001f;
}

/* Instagram - Always gradient */
.instagram-btn {
    border-color: transparent;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}

.instagram-btn:hover {
    background: linear-gradient(45deg, #e08323, #d6582c, #cc1733, #bc1356, #ac0878);
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.4);
}

/* Copy Link - Pink outline */
.copy-link-btn {
    border-color: var(--neon-pink);
    background: transparent;
    color: var(--neon-pink);
}

.copy-link-btn:hover {
    background: var(--neon-pink);
    color: #fff;
}

.copy-link-btn.copied {
    border-color: #28a745;
    background: #28a745;
    color: #fff;
}

/* Mobile responsive */
@media (max-width: 576px) {
    .social-share-buttons {
        gap: 0.5rem;
    }

    .share-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Reviews Section Styles */
.reviews-section {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0 !important;
}

.reviews-title {
    color: #fff;
    font-size: 1.5rem;
}

:root.light-mode .reviews-title {
    color: var(--neon-pink);
}

.text-pink {
    color: var(--neon-pink);
}

.average-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-number {
    font-weight: 700;
    font-size: 1.5rem;
}

.rating-number,
.rating-stars i {
    color: var(--neon-pink);
}

.review-count,
.no-reviews {
    color: #888;
    font-size: 0.9rem;
}

/* Star Rating Input */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.star-rating input {
    display: none;
}

.star-rating label {
    padding: 0 0.1rem;
    color: #444;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: var(--neon-pink);
}

/* Review Card */
.review-card {
    margin-bottom: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.review-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.reviewer-name {
    color: #fff;
    font-weight: 600;
}

.review-rating i {
    color: var(--neon-pink);
    font-size: 0.9rem;
}

body .review-rating i.text-muted {
    color: #444;
}

.review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

body .review-footer .text-muted,
body .review-card .text-muted,
body .admin-reply .text-muted {
    color: #aaa;
}

.helpful-btn {
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
}

.helpful-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.review-form {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.review-form h4,
.review-form h3 {
    color: #fff;
}

:root.light-mode .review-form h4,
:root.light-mode .review-form h3 {
    color: #000;
}

/* Review Images */
.review-images {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.review-image-thumb {
    display: block;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition:
        border-color 0.3s,
        transform 0.3s;
}

.review-image-thumb:hover {
    transform: scale(1.05);
    border-color: var(--neon-pink);
}

.review-image-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Image Upload Preview */
.review-image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.preview-image {
    position: relative;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-preview {
    display: flex;
    position: absolute;
    top: 2px;
    right: 2px;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}

/* Admin Reply */
.admin-reply {
    padding: 1rem;
    border-left: 3px solid var(--neon-pink);
    border-radius: 0 8px 8px 0;
    background: rgba(255, 45, 161, 0.1);
}

.admin-reply-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
    color: var(--neon-pink);
    font-size: 0.9rem;
}

.admin-reply-header i {
    font-size: 0.85rem;
}

.admin-reply-text {
    margin: 0;
    color: #ddd;
    font-size: 0.95rem;
    line-height: 1.5;
}

.no-reviews-message {
    padding: 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .reviews-header {
        flex-direction: column;
        gap: 1rem;
    }

    .average-rating {
        flex-wrap: wrap;
    }
}

/* Sticky Add to Cart Bar */
.sticky-add-to-cart {
    z-index: 999;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0.75rem 0;
    transform: translateY(100%);
    border-top: 2px solid rgba(255, 20, 147, 0.3);
    backdrop-filter: blur(20px);
    background: rgba(26, 26, 26, 0.85);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.sticky-add-to-cart.visible,
.sticky-add-to-cart.is-visible {
    transform: translateY(0);
}

.sticky-add-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem 0 2rem;
    gap: 2rem;
}

.sticky-add-inner,
.sticky-product {
    display: flex;
    align-items: center;
}

.sticky-product {
    flex: 0 0 auto;
    gap: 0.75rem;
}

.sticky-thumb {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.sticky-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sticky-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.5rem;
}

.sticky-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sticky-name {
    display: -webkit-box;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sticky-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sticky-price-original {
    color: #999;
    font-size: 0.85rem;
    text-decoration: line-through;
}

.sticky-price-sale {
    color: var(--neon-pink);
    font-weight: 700;
    font-size: 1rem;
}

.sticky-price-regular {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

.sticky-options {
    display: flex;
    flex: 1;
    align-items: center;
    max-width: 600px;
    gap: 0.75rem;
}

.sticky-select {
    appearance: none;
    min-width: 100px;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.5);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-position: right 0.75rem center;
    background-size: 12px;
    background-repeat: no-repeat;
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sticky-select:hover {
    border-color: rgba(255, 20, 147, 0.5);
}

.sticky-select:focus {
    border-color: var(--neon-pink);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 20, 147, 0.1);
}

.sticky-add-btn {
    min-width: 140px;
    padding: 0.6rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .sticky-add-inner {
        padding: 0 0.75rem;
        gap: 0.5rem;
    }

    .sticky-product {
        max-width: 40%;
        gap: 0.5rem;
    }

    .sticky-thumb {
        width: 40px;
        height: 40px;
    }

    .sticky-name {
        font-size: 0.85rem;
    }

    .sticky-price-sale,
    .sticky-price-regular {
        font-size: 0.9rem;
    }

    .sticky-options {
        flex-wrap: nowrap;
        gap: 0.5rem;
    }

    .sticky-select {
        min-width: 70px;
        padding: 0.5rem 1.75rem 0.5rem 0.5rem;
        font-size: 0.85rem;
    }

    .sticky-add-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 10px !important;
        height: 45px;
        padding: 0.6rem 0.8rem;
        font-size: 1.1rem;
    }

    .sticky-add-text {
        display: none;
    }

    .sticky-add-btn .fas {
        margin: 0;
    }
}

/* ===== CREATE_PRODUCT ===== */

.creation-mode-toggle {
    padding: 20px 0;
}

/* Mobile button spacing for creation mode buttons */
.creation-mode-toggle .d-flex {
    gap: 1rem !important;
}

.creation-mode-toggle .d-flex .btn {
    margin-bottom: 0.5rem !important;
    min-width: fit-content;
}

/* Mobile button spacing for submit buttons */
.variant-form-row {
    margin-bottom: 0.5rem !important;
    padding: 0.75rem !important;
    transition: all 0.3s ease;
}

.image-form-row:hover,
.variant-form-row:hover {
    border-color: var(--neon-pink);
    background-color: rgba(26, 26, 26, 0.9);
}

/* Quill Editor Dark Theme Styling */
.ql-toolbar.ql-snow {
    border: 2px solid var(--electric-yellow);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    background-color: #1a1a1a;
}

.ql-container.ql-snow {
    border: 2px solid var(--electric-yellow);
    border-top: none;
    border-radius: 0 0 8px 8px;
    background-color: #0a0a0a;
    color: #fff;
    font-family: "Poppins", sans-serif;
}

.ql-editor {
    min-height: 200px;
    color: #fff;
    font-size: 15px;
}

.ql-editor.ql-blank::before {
    color: #666;
    font-style: normal;
}

/* Toolbar buttons */
.ql-toolbar.ql-snow .ql-stroke {
    stroke: var(--neon-pink);
}

.ql-toolbar.ql-snow .ql-fill {
    fill: var(--neon-pink);
}

.ql-toolbar.ql-snow .ql-picker-label {
    color: var(--neon-pink);
}

/* Active/hover states */
.ql-toolbar.ql-snow button:hover .ql-stroke,
.ql-toolbar.ql-snow button:focus .ql-stroke,
.ql-toolbar.ql-snow button.ql-active .ql-stroke {
    stroke: var(--electric-yellow);
}

.ql-toolbar.ql-snow button:hover .ql-fill,
.ql-toolbar.ql-snow button:focus .ql-fill,
.ql-toolbar.ql-snow button.ql-active .ql-fill {
    fill: var(--electric-yellow);
}

.ql-toolbar.ql-snow button:hover,
.ql-toolbar.ql-snow button:focus,
.ql-toolbar.ql-snow button.ql-active {
    background-color: rgba(255, 20, 147, 0.1);
}

/* Editor content styling */
.ql-editor strong {
    color: var(--neon-pink);
}

.ql-editor em {
    color: var(--electric-yellow);
}

.ql-editor a {
    color: var(--neon-pink);
}

/* Focus state */
#quill-editor:focus-within .ql-container {
    border-color: var(--neon-pink);
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.3);
}

#quill-editor:focus-within .ql-toolbar {
    border-color: var(--neon-pink);
}

/* AI Suggestions Modal */
.ai-modal {
    box-sizing: border-box;
    display: none;
    z-index: 9999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.8);
}

.ai-modal,
.ai-modal-content {
    position: fixed;
    overflow-y: auto;
}

.ai-modal-content {
    top: 50%;
    left: 50%;
    width: calc(100% - 40px);
    max-width: 600px;
    max-height: calc(100vh - 40px);
    transform: translate(-50%, -50%);
    border: 2px solid var(--neon-pink);
    border-radius: 16px;
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    box-shadow: 0 0 40px rgba(255, 20, 147, 0.4);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translate(-50%, -50%) translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) translateY(0);
        opacity: 1;
    }
}

.ai-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 2px solid var(--electric-yellow);
}

.ai-modal-header h3 {
    margin: 0;
    color: var(--neon-pink);
    font-weight: 700;
    font-size: 1.3rem;
}

.ai-modal-header i {
    margin-right: 10px;
    color: var(--electric-yellow);
}

.ai-modal-close {
    border: none;
    background: none;
    color: var(--neon-pink);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-modal-close:hover {
    transform: rotate(90deg);
    color: var(--electric-yellow);
}

.ai-modal-body {
    padding: 25px;
}

/* Style Django's CheckboxSelectMultiple output */
.variant-toggles ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    list-style: none;
}

.variant-toggles li {
    margin: 0;
}

.variant-toggles li label {
    display: inline-flex;
    position: relative;
    align-items: center;
    padding: 0.5rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.variant-toggles li label:hover {
    border-color: rgba(255, 20, 147, 0.5);
    background: rgba(255, 20, 147, 0.1);
    color: #fff;
}

.variant-toggles li label input[type="checkbox"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
    opacity: 0;
}

.variant-toggles li label:has(input:checked) {
    border-color: var(--neon-pink);
    background: rgba(255, 20, 147, 0.2);
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.3);
    color: #fff;
}

.variant-toggles li label:has(input:checked)::after {
    margin-left: 0.5rem;
    content: "\f00c";
    color: var(--electric-yellow);
    font-weight: 900;
    font-size: 0.7rem;
    font-family: "Font Awesome 6 Free";
}

/* Variant Preview */
.variant-preview {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
}

.variant-preview-list {
    display: flex;
    flex-wrap: wrap;
    max-height: 200px;
    overflow-y: auto;
    gap: 0.5rem;
}

.variant-preview-item {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(255, 20, 147, 0.3);
    border-radius: 6px;
    background: rgba(255, 20, 147, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
}

.variant-count {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--electric-yellow);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== ARCHIVED_PRODUCTS ===== */

/* Close button styles */
.close-btn {
    display: flex;
    z-index: 1000;
    position: absolute;
    top: 20px;
    right: 20px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    color: var(--off-white);
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.close-btn:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

@media (max-width: 768px) {
    .close-btn {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    .card {
        border: var(--border-glass);
        border-radius: 12px;
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.05);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }

    .card-title {
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.9rem;
    }

    body .card .text-muted {
        color: rgba(255, 255, 255, 0.6);
    }

    .card small {
        color: rgba(255, 255, 255, 0.7);
    }

    .btn {
        padding: 0.375rem 0.5rem;
    }
}

/* Mobile Card Styles */
@media (max-width: 768px) {
}

/* ===== BULK_CREATE_FORM ===== */

.bulk-accordion .accordion-item {
    margin-bottom: 15px;
    overflow: hidden;
    border: 2px solid rgba(255, 105, 180, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.4);
}

.bulk-accordion .accordion-button {
    padding: 20px;
    border: none;
    background: rgba(255, 105, 180, 0.08);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.bulk-accordion .accordion-button:hover {
    border-color: var(--neon-pink);
    background: rgba(255, 105, 180, 0.15);
}

.bulk-accordion .accordion-button:not(.collapsed) {
    border-bottom: 2px solid rgba(255, 105, 180, 0.3);
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.2), rgba(255, 105, 180, 0.2));
    box-shadow: none;
    color: var(--neon-pink);
}

.bulk-accordion .accordion-button:focus {
    border-color: var(--neon-pink);
    box-shadow: 0 0 0 0.25rem rgba(255, 105, 180, 0.25);
}

.bulk-accordion .accordion-button::after,
.bulk-accordion .accordion-button:not(.collapsed)::after {
    filter: brightness(0) saturate(100%) invert(50%) sepia(100%) saturate(1000%) hue-rotate(300deg);
}

.bulk-accordion .accordion-body {
    padding: 25px;
    border-top: 1px solid rgba(255, 105, 180, 0.2);
    background: rgba(0, 0, 0, 0.3);
}

.product-preview-badge {
    display: inline-block;
    margin-left: 10px;
    padding: 5px 15px;
    border-radius: 20px;
    background: var(--neon-pink);
    color: white;
    font-size: 0.85rem;
}

.shared-section {
    margin-bottom: 30px;
    padding: 25px;
    border: 2px solid rgba(255, 20, 147, 0.35);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.15) 0%, rgba(255, 20, 147, 0.06) 100%);
    box-shadow: 0 4px 20px rgba(255, 20, 147, 0.1);
}

.shared-section h3 {
    margin-bottom: 20px;
    color: var(--neon-pink);
    font-weight: 700;
}

.auto-fill-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 10px;
    border: 1px solid rgba(255, 20, 147, 0.3);
    border-radius: 12px;
    background: rgba(255, 20, 147, 0.15);
    color: var(--neon-pink);
    font-size: 0.75rem;
}

.image-preview {
    display: none;
    max-width: 150px;
    max-height: 150px;
    margin-top: 10px;
    border-radius: 8px;
}

.progress-indicator {
    z-index: 100;
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    padding: 20px;
    overflow-y: auto;
    border: 2px solid rgba(255, 105, 180, 0.5);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.85);
    box-shadow: 0 5px 30px rgba(255, 105, 180, 0.3);
}

.progress-indicator h5 {
    margin-bottom: 15px;
    color: var(--neon-pink);
    font-weight: 600;
    font-size: 0.95rem;
}

.progress-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    gap: 10px;
    color: var(--text-primary);
    font-size: 0.85rem;
}

.progress-item.complete {
    color: #4ade80;
}

.progress-item.incomplete {
    color: #f87171;
}

.progress-indicator hr {
    margin: 15px 0;
    border-color: rgba(255, 105, 180, 0.3);
}

.progress-indicator strong {
    color: var(--neon-pink);
    font-size: 1.1rem;
}

/* Mobile styles for progress indicator at bottom */
@media (max-width: 767px) {
    .progress-indicator {
        position: static;
        margin: 2rem 1rem 1rem 1rem;
        width: calc(100% - 2rem);
        padding: 20px;
        border: 2px solid rgba(255, 105, 180, 0.7);
        background: rgba(0, 0, 0, 0.9);
        box-shadow: 0 5px 20px rgba(255, 105, 180, 0.4);
    }

    .progress-indicator h5 {
        margin-bottom: 12px;
        font-size: 0.9rem;
    }

    .progress-item {
        margin-bottom: 2px;
        font-size: 0.8rem;
        gap: 8px;
    }

    .progress-indicator hr {
        margin: 12px 0;
    }

    .progress-indicator strong {
        font-size: 1rem;
    }
}

.quick-actions {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 12px;
    background: rgba(255, 105, 180, 0.1);
}

/* Quick actions grid layout - 2x2 */
.quick-actions-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quick-actions-row {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-start;
}

.quick-actions-row .btn {
    flex: 1;
    min-width: 0;
}

/* Extra small button size for quick actions */
.btn-xs {
    padding: 0.25rem 0.5rem !important;
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
    border-radius: 0.25rem !important;
}

.product-number {
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid rgba(255, 105, 180, 0.3);
    border-radius: 8px;
    background: rgba(255, 105, 180, 0.2);
    color: var(--neon-pink);
    font-weight: 700;
    font-size: 0.9rem;
}

.product-title {
    color: var(--text-primary);
    font-weight: 600;
}

.accordion-button:not(.collapsed) .product-number {
    border-color: var(--neon-pink);
    background: rgba(255, 105, 180, 0.3);
}

.accordion-button:not(.collapsed) .product-title {
    color: var(--neon-pink);
}

/* ===== ADMIN_CREATE_COLLECTION ===== */

/* .vault-page moved to vault-community.css for single canonical definition */

/* Page-hero uses global styles from features/vault-community.css */

@media (max-width: 768px) {
    .auth-card form .d-flex {
        flex-direction: column;
        gap: 0.5rem;
    }

    .auth-card form .d-flex .btn {
        width: 100%;
    }
}

/* ===== ADMIN_REVIEW_DETAIL ===== */

.review-detail-card {
    margin-bottom: 2rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.05);
}

.review-detail-card .review-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 20, 147, 0.3);
}

.review-rating {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.review-rating .stars {
    margin-right: 0.5rem;
    color: #ffc107;
}

.review-meta {
    color: var(--off-white);
    font-size: 0.9rem;
    opacity: 0.8;
}

.review-content {
    margin: 1rem 0;
    padding: 1.5rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
}

.review-title {
    margin-bottom: 1rem;
    color: var(--neon-pink);
    font-weight: 600;
    font-size: 1.3rem;
}

.review-text {
    margin-bottom: 0.75rem;
    color: var(--off-white);
    font-size: 1rem;
    line-height: 1.6;
}

.review-actions {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(255, 20, 147, 0.3);
    border-radius: 8px;
    background: rgba(255, 20, 147, 0.1);
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.status-badge.pending {
    border: 1px solid rgba(255, 193, 7, 0.5);
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.status-badge.approved {
    border: 1px solid rgba(25, 135, 84, 0.5);
    background: rgba(25, 135, 84, 0.2);
    color: #198754;
}

.status-badge.rejected {
    border: 1px solid rgba(220, 53, 69, 0.5);
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.verified-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    background: rgba(25, 135, 84, 0.9);
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    gap: 0.5rem;
    border: 1px solid var(--neon-pink);
    border-radius: 8px;
    background: rgba(255, 20, 147, 0.1);
    color: var(--neon-pink);
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-btn:hover {
    transform: translateY(-2px);
    background: var(--neon-pink);
    box-shadow: 0 4px 12px rgba(255, 20, 147, 0.3);
    color: white;
    text-decoration: none;
}

.moderation-section {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
}

.moderation-note {
    padding: 0.75rem;
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 6px;
    background: rgba(255, 193, 7, 0.1);
    color: var(--off-white);
    font-style: italic;
}

/* Review Images */
.review-images-section {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
}

.review-images-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.review-image-container {
    position: relative;
    width: 150px;
    height: 150px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.review-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-image-container .delete-image-btn {
    display: flex;
    position: absolute;
    top: 5px;
    right: 5px;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    cursor: pointer;
}

.review-image-container .delete-image-btn:hover {
    background: #dc3545;
}

/* Admin Reply Section */
.admin-reply-section {
    margin: 1rem 0;
    padding: 1.5rem;
    border: 1px solid rgba(255, 45, 161, 0.3);
    border-radius: 8px;
    background: rgba(255, 45, 161, 0.1);
}

.admin-reply-section h5 {
    color: var(--neon-pink);
}

.existing-reply {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
}

.existing-reply-text {
    margin-bottom: 0.5rem;
    color: var(--off-white);
    line-height: 1.6;
}

.existing-reply-meta {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.admin-reply-form textarea {
    width: 100%;
    min-height: 100px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: var(--off-white);
    resize: vertical;
}

.admin-reply-form textarea:focus {
    border-color: var(--neon-pink);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 45, 161, 0.25);
}

body .review-detail-card em.text-muted {
    color: #b0b0b0;
    font-style: italic;
}

body .admin-reply-section small.text-muted {
    color: #b0b0b0;
}

:root.light-mode body .admin-reply-section small.text-muted {
    color: #666666 !important;
}

/* ===== ADMIN_PRODUCT_TYPES_LIST ===== */

.badge-mobile-small {
    font-size: 0.7rem;
}

/* ===== BULK_SELECT_TYPES ===== */

.product-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    margin-bottom: 30px;
    gap: 15px;
}

.product-type-card {
    position: relative;
    padding: 20px 15px;
    border-radius: 12px;
    background: rgba(255, 105, 180, 0.05);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-type-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 105, 180, 0.1);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.3);
}

.product-type-card.selected {
    border-color: var(--neon-pink);
    background: var(--neon-pink);
    color: white;
}

.product-type-card input[type="checkbox"] {
    position: absolute;
    cursor: pointer;
    opacity: 0;
}

.product-type-card .icon {
    display: block;
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.product-type-card .name {
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 1rem;
}

.product-type-card .category {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.8;
}

.category-section {
    margin-bottom: 40px;
}

.category-title {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--neon-pink);
    color: var(--neon-pink);
    font-weight: 700;
    font-size: 1.3rem;
}

.audience-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
    gap: 15px;
}

.audience-card {
    position: relative;
    min-width: 120px;
    padding: 15px 30px;
    border: 2px solid var(--neon-pink);
    border-radius: 12px;
    background: rgba(255, 105, 180, 0.05);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.audience-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(255, 105, 180, 0.3);
}

.audience-card.selected {
    background: var(--neon-pink);
    color: white;
}

.audience-card input[type="checkbox"] {
    position: absolute;
    cursor: pointer;
    opacity: 0;
}

.selection-summary {
    margin-top: 30px;
    padding: 20px;
    border: 2px solid var(--neon-pink);
    border-radius: 12px;
    background: rgba(255, 105, 180, 0.1);
}

.selection-summary h4 {
    margin-bottom: 15px;
    color: var(--neon-pink);
}

.selection-count {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1.1rem;
}

.info-box {
    margin-bottom: 30px;
    padding: 15px;
    border-left: 4px solid #ffd700;
    border-radius: 8px;
    background: rgba(255, 215, 0, 0.1);
}

.info-box i {
    margin-right: 10px;
    color: #ffd700;
}

/* ===== EDIT_PRODUCT ===== */

.clear-file-x {
    color: #ff1493;
    transition: color 0.2s;
}

.clear-file-x:hover {
    color: #ff69b4;
    text-shadow: 0 0 2px #fff;
}

.btn-close-formset {
    display: flex;
    z-index: 10;
    position: absolute;
    top: 10px;
    right: 10px;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #ff1493;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-close-formset:hover {
    transform: scale(1.1);
    background: rgba(255, 20, 147, 0.2);
    color: #ff69b4;
}

/* Make sure formset fields also get green border when filled */
.image-form-row .auth-form-input.has-value,
.variant-form-row .auth-form-input.has-value,
.image-form-row select.has-value,
.variant-form-row select.has-value {
    border-color: rgba(204, 255, 0, 0.5);
    background: rgba(0, 0, 0, 0.5);
}

/* Existing Variant Badge */
.variant-exists-badge {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.15rem 0.4rem;
    border: 1px solid rgba(40, 167, 69, 0.5);
    border-radius: 4px;
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    font-weight: 600;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.variant-toggles li label.existing-variant {
    border-color: rgba(40, 167, 69, 0.4);
    background: rgba(40, 167, 69, 0.1);
}

.variant-toggles li label.existing-variant:has(input:checked) {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.2);
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.3);
}

.variant-toggles li label.existing-variant:has(input:checked)::after {
    color: #28a745;
}

.variant-status-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 0.5rem;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.variant-status-badge.in-use {
    border: 1px solid rgba(40, 167, 69, 0.5);
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
}

.variant-status-badge.not-in-use {
    border: 1px solid rgba(220, 53, 69, 0.45);
    background: rgba(220, 53, 69, 0.12);
    color: #dc3545;
}

/* Existing variants section */
.existing-variants-section {
    margin: -1rem;
}

.existing-variants-section h5 {
    color: var(--electric-yellow);
    font-weight: 600;
    margin-left: 1rem;
}

.add-variants-section h5 {
    color: var(--neon-pink);
    font-weight: 600;
}

/* ===== PRODUCT DETAIL INLINE STYLE EXTRACTION ===== */

/* Product header spacing adjustments */

.product-header-spacing,
.product-title-spacing {
    margin-top: 0.5rem;
}

/* Heart icon size variations */
.heart-icon-large {
    font-size: 2em;
}

/* ================================================
   LIGHT MODE OVERRIDES
   ================================================ */
:root.light-mode .status-select {
    background-color: rgba(255, 255, 255, 0.95);
    color: #000;
}

:root.light-mode .status-select:focus,
:root.light-mode .status-select:hover {
    background-color: #fff;
}

:root.light-mode .social-share-section {
    border-top-color: rgba(0, 0, 0, 0.1);
}

:root.light-mode .share-title {
    color: #000;
}

:root.light-mode .review-count,
:root.light-mode .no-reviews {
    color: #555;
}

:root.light-mode .star-rating label {
    color: #ccc;
}

:root.light-mode .review-card {
    border-color: rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.02);
}

:root.light-mode .reviewer-name {
    color: #000;
}

:root.light-mode .review-form {
    background: rgba(0, 0, 0, 0.02);
}

:root.light-mode .review-form,
:root.light-mode .review-image-thumb,
:root.light-mode .preview-image {
    border-color: rgba(0, 0, 0, 0.1);
}

:root.light-mode .admin-reply-text {
    color: #333;
}

:root.light-mode .sticky-add-to-cart {
    background: rgba(255, 255, 255, 0.95);
}

:root.light-mode .sticky-thumb {
    background: rgba(0, 0, 0, 0.03);
}

:root.light-mode .sticky-thumb-placeholder {
    color: rgba(0, 0, 0, 0.3);
}

:root.light-mode .sticky-name {
    color: #000;
}

:root.light-mode .sticky-price-original {
    color: #666;
}

:root.light-mode .sticky-price-regular {
    color: #000;
}

:root.light-mode .sticky-select {
    border-color: rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.9);
    color: #000;
}

:root.light-mode .image-form-row:hover,
:root.light-mode .variant-form-row:hover {
    background-color: rgba(245, 245, 245, 0.95);
}

:root.light-mode .ql-toolbar.ql-snow {
    background-color: #f5f5f5;
}

:root.light-mode .ql-container.ql-snow {
    background-color: #fff;
    color: #000;
}

:root.light-mode .ql-editor {
    color: #000;
}

:root.light-mode .ql-editor.ql-blank::before {
    color: #999;
}

:root.light-mode .ai-modal-content {
    background: linear-gradient(135deg, #ffffff, #f5f5f5);
}

:root.light-mode .variant-toggles li label {
    border-color: rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.02);
    color: rgba(0, 0, 0, 0.7);
}

:root.light-mode .variant-toggles li label:hover {
    color: #000;
}

:root.light-mode .variant-toggles li label:has(input:checked) {
    color: #000;
}

:root.light-mode .variant-preview {
    border-color: rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.5);
}

:root.light-mode .variant-preview-item {
    color: rgba(0, 0, 0, 0.8);
}

:root.light-mode .variant-count {
    border-top-color: rgba(0, 0, 0, 0.1);
}

:root.light-mode .close-btn {
    border-color: rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.05);
}

:root.light-mode .card {
    box-shadow: none !important;
    border-color: #ff1493;
}


:root.light-mode .card-title {
    color: rgba(0, 0, 0, 0.87);
}

/* Profile card light-mode override */
:root.light-mode #profile-card {
    background: rgba(0, 0, 0, 0.1);
}

:root.light-mode .card small {
    color: rgba(0, 0, 0, 0.6);
}

:root.light-mode .bulk-accordion .accordion-item {
    background: rgba(255, 255, 255, 0.7);
}

:root.light-mode .bulk-accordion .accordion-body {
    background: rgba(245, 245, 245, 0.8);
}

:root.light-mode .progress-indicator {
    background: rgba(255, 255, 255, 0.95);
}

:root.light-mode .review-detail-card {
    border-color: rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.01);
}

:root.light-mode .review-content,
:root.light-mode .moderation-section,
:root.light-mode .review-images-section {
    background: rgba(255, 255, 255, 0.5);
}

:root.light-mode .review-image-container {
    border-color: rgba(0, 0, 0, 0.1);
}

:root.light-mode .admin-reply-form textarea {
    border-color: rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.8);
}

:root.light-mode .existing-variants-section {
    border-color: rgba(0, 0, 0, 0.1);
}

/* Ensure mode description text is readable in light mode */
:root.light-mode .mode-description-text {
    color: #000000;
}

/* Centralized: make form check labels pink in light mode */
:root.light-mode .form-check-label {
    color: var(--neon-pink) !important;
}

/* Ensure `.text-white` shows pink in light mode for emphasis */
:root.light-mode .text-white {
    color: var(--neon-pink) !important;
}
