/* دکمهٔ گزارش محصول */
.qluch-report-section {
    margin-top: 14px;
}

.qluch-report-trigger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #a0453a;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.qluch-report-trigger-btn:hover {
    background: #fff5f4;
    border-color: #f2b9b2;
}

.qluch-report-trigger-btn svg {
    flex-shrink: 0;
}

/* پاپ‌آپ */
.qluch-report-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 32, 44, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100010;
    padding: 16px;
}

.qluch-report-overlay.is-open {
    display: flex;
}

.qluch-report-modal {
    position: relative;
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px 22px 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.qluch-report-close-btn {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7fafc;
    border: none;
    border-radius: 50%;
    color: #4a5568;
    cursor: pointer;
}

.qluch-report-close-btn:hover {
    background: #edf2f7;
}

.qluch-report-modal-title {
    margin: 0 0 6px;
    font-size: 18px;
    color: #1a202c;
}

.qluch-report-modal-desc {
    margin: 0 0 16px;
    font-size: 13px;
    color: #718096;
}

.qluch-report-reasons {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 14px;
}

.qluch-report-reason-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #2d3748;
}

.qluch-report-reason-item:hover {
    background: #f7fafc;
}

.qluch-report-reason-item input {
    accent-color: #da552f;
}

.qluch-report-desc-wrap {
    position: relative;
    margin-bottom: 12px;
}

.qluch-report-desc-input {
    width: 100%;
    box-sizing: border-box;
    min-height: 64px;
    resize: vertical;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 13px;
}

.qluch-report-desc-counter {
    display: block;
    text-align: left;
    font-size: 11px;
    color: #a0aec0;
    margin-top: 4px;
}

.qluch-report-error {
    background: #fff5f5;
    color: #c53030;
    border: 1px solid #fed7d7;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
    margin-bottom: 12px;
}

.qluch-report-modal-actions {
    display: flex;
    gap: 10px;
}

.qluch-report-cancel-btn,
.qluch-report-submit-btn {
    flex: 1;
    padding: 11px 14px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
}

.qluch-report-cancel-btn {
    background: #f7fafc;
    color: #4a5568;
    border-color: #e2e8f0;
}

.qluch-report-cancel-btn:hover {
    background: #edf2f7;
}

.qluch-report-submit-btn {
    background: #da552f;
    color: #fff;
}

.qluch-report-submit-btn:hover {
    background: #c44a26;
}

.qluch-report-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* پیغام مینیمال (Toast) */
.qluch-report-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #1a202c;
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 13px;
    max-width: 90vw;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 100011;
}

.qluch-report-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
