/* تنسيقات عامة */
.svm-report-button,
.svm-block-button {
    background: #ff4444;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin: 5px;
}

.svm-report-button:hover,
.svm-block-button:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.svm-block-button {
    background: #666;
}

.svm-block-button:hover {
    background: #333;
}

/* نافذة الإبلاغ */
.svm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none;
}

.svm-modal-overlay {
    background: rgba(0,0,0,0.7);
    position: absolute;
    width: 100%;
    height: 100%;
}

.svm-modal-content {
    background: white;
    padding: 25px;
    border-radius: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.svm-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.svm-modal-header h3 {
    margin: 0;
    color: #333;
}

.svm-close-modal {
    font-size: 28px;
    cursor: pointer;
    color: #999;
}

.svm-close-modal:hover {
    color: #333;
}

/* أسباب الإبلاغ */
.svm-reasons {
    margin: 20px 0;
}

.svm-reasons label {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.svm-reasons label:hover {
    background: #f8f8f8;
    border-color: #ccc;
}

.svm-reasons input[type="radio"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
}

.reason-icon {
    font-size: 18px;
    margin-right: 10px;
    min-width: 30px;
}

.reason-text {
    font-size: 15px;
    color: #333;
}

/* حقل الوصف */
#svm-description {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    resize: vertical;
    margin: 15px 0;
    font-family: inherit;
}

#svm-description:focus {
    outline: none;
    border-color: #ff4444;
}

/* أزرار النافذة */
.svm-form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

.svm-btn-cancel,
.svm-btn-submit {
    padding: 12px 25px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.svm-btn-cancel {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
}

.svm-btn-cancel:hover {
    background: #e9e9e9;
}

.svm-btn-submit {
    background: linear-gradient(135deg, #ff4444, #d32f2f);
    color: white;
}

.svm-btn-submit:hover {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

/* حالات البلاغات في الإدارة */
.svm-status-pending {
    background: #ffeb3b;
    color: #333;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.svm-status-reviewed {
    background: #4caf50;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.svm-status-resolved {
    background: #2196f3;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

/* تنسيقات لوحة الإدارة */
.svm-admin-container {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* للأجهزة المحمولة */
@media (max-width: 768px) {
    .svm-modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .svm-reasons label {
        padding: 10px;
    }
    
    .svm-form-actions {
        flex-direction: column;
    }
    
    .svm-btn-cancel,
    .svm-btn-submit {
        width: 100%;
        text-align: center;
    }
}
/* === Force Report Modal فوق أي Popup === */
#svm-modal.svm-modal{
  position: fixed !important;
  inset: 0 !important;
  z-index: 1000005 !important;  /* أعلى من مودال التعليقات */
  display: none;
}

#svm-modal .svm-modal-overlay{
  position: fixed !important;
  inset: 0 !important;
  z-index: 1000006 !important;
  background: rgba(0,0,0,.65) !important;
}

#svm-modal .svm-modal-content{
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 1000007 !important;
}
/* ✅ لما البلاغات تفتح فوق التعليقات: امنع Overlay التعليقات من خطف الضغطات */
body.svm-report-over-comments #t10t-comments-modal{
  pointer-events: none !important;
  z-index: 1 !important;
}
body.svm-report-over-comments #t10t-comments-modal *{
  pointer-events: none !important;
}