/* ============================================================
   SHADOWMERE REPORTS PANEL — FULL FILE REPLACEMENT
   ============================================================ */

/* Container */
.reports-panel {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 18px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;

    background: radial-gradient(circle at top, #1a0f24 0%, #0b0710 70%);
    border: 1px solid rgba(140, 70, 255, 0.25);
    box-shadow: 0 0 18px rgba(120, 60, 255, 0.25) inset,
                0 0 22px rgba(120, 60, 255, 0.35);
    border-radius: 6px;
}

/* Header */
.reports-header h2 {
    margin: 0;
    font-size: 24px;
    letter-spacing: 1px;
    color: #d7b8ff;
    text-shadow: 0 0 6px rgba(180, 90, 255, 0.8);
}

.reports-header .subtitle {
    font-size: 12px;
    opacity: 0.75;
    margin-top: 4px;
    color: #caaaff;
}

/* Controls */
.reports-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    gap: 12px;
    flex-wrap: wrap;
}

/* Filter buttons */
.reports-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.filter-btn {
    padding: 5px 10px;
    font-size: 11px;
    cursor: pointer;

    background: rgba(80, 40, 140, 0.25);
    border: 1px solid rgba(160, 90, 255, 0.35);
    color: #d8c6ff;
    border-radius: 4px;

    transition: 0.15s ease;
}

.filter-btn:hover {
    background: rgba(120, 60, 255, 0.35);
    box-shadow: 0 0 8px rgba(160, 90, 255, 0.6);
}

.filter-btn.active {
    background: rgba(160, 90, 255, 0.45);
    color: #fff;
    box-shadow: 0 0 10px rgba(180, 100, 255, 0.8);
}

/* Search + tools */
.reports-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

.reports-search {
    padding: 6px 10px;
    font-size: 12px;
    min-width: 200px;

    background: rgba(40, 20, 70, 0.4);
    border: 1px solid rgba(160, 90, 255, 0.35);
    color: #e8d8ff;
    border-radius: 4px;

    transition: 0.15s ease;
}

.reports-search:focus {
    outline: none;
    border-color: rgba(200, 120, 255, 0.8);
    box-shadow: 0 0 10px rgba(200, 120, 255, 0.6);
}

/* Buttons */
.btn-danger,
.btn.primary {
    border: none;
    padding: 5px 12px;
    font-size: 11px;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.15s ease;
}

.btn-danger {
    background: rgba(140, 20, 40, 0.6);
    color: #ffdada;
    border: 1px solid rgba(255, 80, 120, 0.4);
}

.btn-danger:hover {
    background: rgba(180, 40, 60, 0.8);
    box-shadow: 0 0 10px rgba(255, 80, 120, 0.6);
}

.btn.primary {
    background: rgba(80, 40, 160, 0.6);
    color: #e8d8ff;
    border: 1px solid rgba(160, 90, 255, 0.4);
}

.btn.primary:hover {
    background: rgba(120, 60, 200, 0.8);
    box-shadow: 0 0 10px rgba(160, 90, 255, 0.6);
}

/* Actions bar */
.reports-actions {
    margin-top: 10px;
    padding: 8px 10px;

    background: rgba(40, 20, 70, 0.35);
    border: 1px solid rgba(160, 90, 255, 0.25);
    border-radius: 4px;

    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 11px;

    box-shadow: 0 0 12px rgba(120, 60, 255, 0.25) inset;
}

.reports-actions.hidden {
    display: none;
}

/* List */
.reports-list {
    margin-top: 12px;
    flex: 1;
    overflow-y: auto;

    border-top: 1px solid rgba(160, 90, 255, 0.25);
    padding-top: 8px;
}

.empty {
    font-size: 12px;
    opacity: 0.7;
    padding: 10px;
    color: #caaaff;
}

/* Report entry */
.report-entry {
    border-bottom: 1px solid rgba(160, 90, 255, 0.15);
    padding: 6px 0;

    transition: 0.15s ease;
}

.report-entry:hover {
    background: rgba(80, 40, 140, 0.15);
}

/* Header */
.report-header {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 12px;
    color: #e8d8ff;
}

.report-select {
    margin: 0 4px 0 0;
    cursor: pointer;
}

.report-category {
    font-weight: bold;
    font-size: 11px;
    min-width: 70px;
    color: #d7b8ff;
    text-shadow: 0 0 4px rgba(180, 100, 255, 0.7);
}

.report-summary {
    flex: 1;
    opacity: 0.9;
}

.report-time {
    font-size: 10px;
    opacity: 0.7;
    color: #caaaff;
}

/* Body */
.report-body {
    margin-top: 6px;
    padding-left: 24px;
    font-size: 11px;
    color: #e8d8ff;
}

.report-section {
    margin-bottom: 6px;
}

/* Collapsed */
.report-entry.collapsed .report-body {
    display: none;
}

/* Forward modal */
.send-report-modal {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-report-modal.hidden {
    display: none;
}

.send-report-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 5, 20, 0.75);
    backdrop-filter: blur(3px);
}

.send-report-content {
    position: relative;
    background: rgba(20, 10, 40, 0.95);
    border: 1px solid rgba(160, 90, 255, 0.4);
    padding: 14px;
    width: 440px;
    max-height: 80%;
    overflow-y: auto;
    z-index: 2;
    box-sizing: border-box;
    border-radius: 6px;

    box-shadow: 0 0 20px rgba(160, 90, 255, 0.5);
}

.send-report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.send-report-header h3 {
    margin: 0;
    font-size: 15px;
    color: #e8d8ff;
    text-shadow: 0 0 6px rgba(180, 100, 255, 0.8);
}

.close-btn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
}

/* Inputs */
.send-report-body label {
    display: block;
    font-size: 11px;
    margin-top: 8px;
    margin-bottom: 3px;
    color: #d7b8ff;
}

#send-report-recipient,
#send-report-message {
    width: 100%;
    box-sizing: border-box;
    font-size: 11px;
    padding: 6px;
    background: rgba(40, 20, 70, 0.4);
    border: 1px solid rgba(160, 90, 255, 0.35);
    color: #e8d8ff;
    border-radius: 4px;

    transition: 0.15s ease;
}

#send-report-recipient:focus,
#send-report-message:focus {
    outline: none;
    border-color: rgba(200, 120, 255, 0.8);
    box-shadow: 0 0 10px rgba(200, 120, 255, 0.6);
}

#send-report-message {
    min-height: 70px;
    resize: vertical;
}

/* Preview */
.send-report-preview {
    margin-top: 10px;
    border-top: 1px solid rgba(160, 90, 255, 0.25);
    padding-top: 8px;
    max-height: 200px;
    overflow-y: auto;
}

.report-preview-card {
    border: 1px solid rgba(160, 90, 255, 0.25);
    padding: 6px;
    margin-bottom: 6px;
    font-size: 11px;
    color: #e8d8ff;
    border-radius: 4px;

    background: rgba(80, 40, 140, 0.15);
}

/* Footer */
.send-report-footer {
    margin-top: 10px;
    text-align: right;
}
