/* Reports / moderation */

.report-page,
.reports-dashboard {
    max-width: 1080px;
    margin: 0 auto;
    padding: 26px 0 42px;
}

.report-card,
.reports-dashboard-head,
.report-row {
    background: rgba(255,255,255,.96);
    border: 1px solid #dfe7ef;
    border-radius: 24px;
    box-shadow: 0 12px 34px rgba(15,23,42,.07);
}

.report-card {
    padding: 24px;
}

.report-kicker {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff1f2;
    color: #be123c;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.report-card h1,
.reports-dashboard-head h1 {
    margin: 12px 0 10px;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.05;
    letter-spacing: -.05em;
}

.report-target,
.report-user-text {
    margin: 18px 0;
    padding: 14px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.report-form p {
    display: grid;
    gap: 7px;
    margin: 0 0 14px;
}

.report-form label {
    font-weight: 950;
}

.report-form select,
.report-form textarea,
.report-form input {
    width: 100%;
    border: 1px solid #d5e0ea;
    border-radius: 16px;
    padding: 12px 14px;
    background: #ffffff;
    font-size: 15px;
}

.report-form button,
.report-main-link,
.report-actions a,
.report-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: #2563eb;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 950;
    cursor: pointer;
}

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

.report-actions a,
.report-back-link {
    background: #eef6ff;
    color: #0b5ed7 !important;
}

.reports-dashboard-head {
    padding: 24px;
    margin-bottom: 18px;
}

.reports-dashboard-head p {
    margin: 0;
    color: #64748b;
    font-weight: 750;
}

.reports-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.reports-tabs a {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    padding: 10px 13px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #dbe7f3;
    color: #101827;
    text-decoration: none;
    font-weight: 900;
}

.reports-tabs a.active {
    background: #101827;
    color: #ffffff;
}

.reports-tabs b {
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(37,99,235,.15);
}

.reports-list {
    display: grid;
    gap: 10px;
}

.report-row {
    display: grid;
    gap: 5px;
    padding: 16px;
    color: #101827;
    text-decoration: none;
    border-left: 5px solid #cbd5e1;
}

.report-row--new {
    border-left-color: #ef4444;
}

.report-row--in_progress {
    border-left-color: #f59e0b;
}

.report-row--resolved {
    border-left-color: #22c55e;
}

.report-row--rejected {
    border-left-color: #64748b;
}

.report-row-status {
    width: fit-content;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f8fafc;
    color: #64748b;
    font-size: 12px;
    font-weight: 950;
}

.report-row p {
    margin: 0;
    color: #334155;
}

.report-row small {
    color: #64748b;
    font-weight: 750;
}

.report-empty {
    padding: 24px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    font-weight: 900;
}

.report-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    align-items: start;
    margin-top: 14px;
}

.report-info {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 10px 14px;
}

.report-info dt {
    color: #64748b;
    font-weight: 950;
}

.report-info dd {
    margin: 0;
    color: #101827;
    font-weight: 800;
}

.report-inline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 11px;
    border-radius: 999px;
    background: #fff1f2;
    color: #be123c !important;
    border: 1px solid #fecdd3;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;
}

@media (max-width: 760px) {
    .report-page,
    .reports-dashboard {
        padding: 16px 0 34px;
    }

    .report-card,
    .reports-dashboard-head {
        padding: 18px;
        border-radius: 22px;
    }

    .report-detail-grid {
        grid-template-columns: 1fr;
    }

    .report-info {
        grid-template-columns: 1fr;
    }
}


/* ===== reports_buttons_fix.css ===== */
/* Report buttons integration */

.report-inline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 11px;
    border-radius: 999px;
    background: #fff1f2;
    color: #be123c !important;
    border: 1px solid #fecdd3;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    text-decoration: none !important;
    transition: background .18s ease, transform .18s ease, border-color .18s ease;
}

.report-inline-button:hover {
    background: #ffe4e6;
    border-color: #fda4af;
    transform: translateY(-1px);
    text-decoration: none !important;
}

.classified-report-line {
    margin-top: 10px;
    display: flex;
    justify-content: flex-start;
}

.classified-card .classified-report-line {
    padding-top: 8px;
    border-top: 1px solid #edf2f7;
}

.comment-footer-row .report-inline-button {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #be123c !important;
    font-size: 13px;
}

.comment-footer-row .report-inline-button:hover {
    background: transparent;
    transform: none;
    text-decoration: underline !important;
}

@media (max-width: 700px) {
    .classified-report-line {
        margin-top: 8px;
    }

    .report-inline-button {
        font-size: 12px;
        padding: 6px 10px;
    }
}
