.moderation-logs-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.moderation-logs-page .admin-page__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.moderation-logs-page .admin-page__head h1 {
    margin: 0 0 6px;
    color: #111827;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.moderation-logs-page .admin-page__head p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
}

.moderation-logs-page .admin-card {
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    padding: 22px;
}

.moderation-logs-page .admin-empty-state {
    padding: 28px 20px;
    border: 1px dashed #d1d5db;
    border-radius: 18px;
    background: #f9fafb;
    text-align: center;
}

.moderation-logs-page .admin-empty-state p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
}

.moderation-logs-page .admin-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
}

.moderation-logs-page .admin-table {
    width: 100%;
    min-width: 1100px;
    border-collapse: collapse;
    background: #ffffff;
}

.moderation-logs-page .admin-table thead th {
    padding: 14px;
    background: #f8fafc;
    color: #111827;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 800;
    text-align: left;
    white-space: nowrap;
    border-bottom: 1px solid #e5e7eb;
}

.moderation-logs-page .admin-table tbody td {
    padding: 14px;
    border-bottom: 1px solid #eef2f7;
    vertical-align: top;
    color: #111827;
    font-size: 14px;
    line-height: 1.6;
}

.moderation-logs-page .admin-table tbody tr:nth-child(even) {
    background: #fcfdff;
}

.moderation-logs-page .admin-table tbody tr:hover {
    background: #f8fbff;
}

.moderation-logs-page .admin-table tbody tr:last-child td {
    border-bottom: 0;
}

.moderation-logs-page .admin-table code {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    white-space: nowrap;
}

.moderation-logs-page .admin-table th:nth-child(1),
.moderation-logs-page .admin-table td:nth-child(1) {
    min-width: 64px;
}

.moderation-logs-page .admin-table th:nth-child(2),
.moderation-logs-page .admin-table td:nth-child(2) {
    min-width: 150px;
}

.moderation-logs-page .admin-table th:nth-child(3),
.moderation-logs-page .admin-table td:nth-child(3) {
    min-width: 150px;
}

.moderation-logs-page .admin-table th:nth-child(4),
.moderation-logs-page .admin-table td:nth-child(4) {
    min-width: 150px;
}

.moderation-logs-page .admin-table th:nth-child(5),
.moderation-logs-page .admin-table td:nth-child(5) {
    min-width: 140px;
}

.moderation-logs-page .admin-table th:nth-child(6),
.moderation-logs-page .admin-table td:nth-child(6) {
    min-width: 240px;
}

.moderation-logs-page .admin-table th:nth-child(7),
.moderation-logs-page .admin-table td:nth-child(7) {
    min-width: 160px;
    white-space: nowrap;
}

.moderation-logs-page .admin-table th:nth-child(8),
.moderation-logs-page .admin-table td:nth-child(8) {
    min-width: 140px;
}

.moderation-logs-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.moderation-logs-delete-form {
    margin: 0;
}

.moderation-logs-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.moderation-logs-action-button:hover {
    border-color: #94a3b8;
    background: #f8fafc;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
}

.moderation-logs-action-button--delete {
    border-color: #fecaca;
    background: #fef2f2;
    color: #dc2626;
}

.moderation-logs-action-button--delete:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #b91c1c;
}

/* Not kolonu uzun metin kırma */
.moderation-logs-page .admin-table tbody td:nth-child(6) {
    word-break: break-word;
}

/* RTL */
html[dir="rtl"] .moderation-logs-page .admin-page__head,
body.is-rtl .moderation-logs-page .admin-page__head {
    direction: rtl;
}

html[dir="rtl"] .moderation-logs-page .admin-table thead th,
html[dir="rtl"] .moderation-logs-page .admin-table tbody td,
body.is-rtl .moderation-logs-page .admin-table thead th,
body.is-rtl .moderation-logs-page .admin-table tbody td {
    text-align: right;
}

html[dir="rtl"] .moderation-logs-actions,
body.is-rtl .moderation-logs-actions {
    justify-content: flex-end;
}

/* Responsive */
@media (max-width: 768px) {
    .moderation-logs-page {
        gap: 18px;
    }

    .moderation-logs-page .admin-card {
        padding: 16px;
        border-radius: 16px;
    }

    .moderation-logs-page .admin-page__head {
        flex-direction: column;
        align-items: stretch;
    }

    .moderation-logs-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .moderation-logs-action-button,
    .moderation-logs-delete-form {
        width: 100%;
    }

    .moderation-logs-delete-form .moderation-logs-action-button {
        width: 100%;
    }

    .moderation-logs-page .admin-table {
        min-width: 980px;
    }
}

@media (max-width: 560px) {
    .moderation-logs-page .admin-page__head h1 {
        font-size: 24px;
    }
}