/* ============================================
   REPORTS ADMIN PAGE STYLES
   Extends forum/ticket styling patterns
   ============================================ */

/* Reports Page Container */
#reportsPage .container-forum {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Report Content Preview */
.report-content-preview {
    margin-top: 15px;
}

.report-content-preview img {
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.report-content-preview img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Pending count highlight */
#reportStatPending {
    font-weight: 700;
    color: #f59e0b;
}

/* Report Detail Admin Controls */
#reportsPage .admin-controls-section {
    margin: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(220, 38, 38, 0.1));
    border-radius: 2px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

#reportsPage .admin-controls-section h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Content type color indicators */
.content-type-image { color: #10b981; }
.content-type-video { color: #3b82f6; }
.content-type-post { color: #3b82f6; }
.content-type-comment { color: #f59e0b; }
.content-type-user { color: #ec4899; }

/* Report cards enhancement */
#reportsPage .forum-post-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#reportsPage .forum-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Stats widget in sidebar */
#reportsPage .forum-stats-widget {
    background: var(--bg-card);
    border-radius: 2px;
    padding: 20px;
    border: 1px solid var(--border-color);
}

#reportsPage .forum-stats-widget .widget-title {
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

#reportsPage .forum-stats-widget .stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

#reportsPage .forum-stats-widget .stat-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

#reportsPage .forum-stats-widget .stat-value {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Report detail container */
#reportsPage .ticket-detail-container {
    background: var(--bg-card);
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Filter buttons active state */
#reportsPage .forum-category-item.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(220, 38, 38, 0.2));
    border-color: var(--primary-color);
}

/* Empty state styling */
#reportsPage .empty-state {
    background: var(--bg-card);
    border-radius: 3px;
    padding: 60px 20px;
    text-align: center;
}

#reportsPage .empty-state i {
    font-size: 64px;
    color: var(--success);
    margin-bottom: 20px;
}

#reportsPage .empty-state h3 {
    margin-bottom: 10px;
}

/* Back button styling */
#reportsPage .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

#reportsPage .btn-back:hover {
    background: var(--bg-card);
    border-color: var(--primary-color);
}

/* Action buttons in report detail */
#reportsPage .action-btn-danger {
    background: var(--error);
    color: white;
}

#reportsPage .action-btn-warning {
    background: var(--warning);
    color: white;
}

/* Form controls in admin section */
#reportsPage .form-input,
#reportsPage .form-select {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    padding: 10px 15px;
    color: var(--text-primary);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#reportsPage .form-input:focus,
#reportsPage .form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #reportsPage .admin-controls-grid {
        grid-template-columns: 1fr !important;
    }

    #reportsPage .admin-actions-row {
        flex-direction: column;
    }

    #reportsPage .admin-actions-row .btn {
        width: 100%;
    }

    #reportsPage .ticket-detail-container > div {
        padding: 15px !important;
    }

    #reportsPage .forum-post-header {
        flex-direction: column;
        gap: 15px;
    }

    #reportsPage .ticket-badges {
        justify-content: flex-start;
    }
}

/* Pagination styling */
#reportsPage .pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    margin-top: 20px;
}

#reportsPage .pagination-info {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Loading state */
#reportsPage .loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    color: var(--primary-color);
    font-size: 2rem;
}

/* Error message */
#reportsPage .error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--error);
    padding: 15px 20px;
    border-radius: 2px;
    margin: 20px 0;
}
