body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f3f4f6;
    color: #111827;
}

.container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 32px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.header h1 {
    margin: 0;
    color: #111827;
}

.header p {
    margin: 6px 0 0;
    color: #6b7280;
}

.btn {
    background: #b91c1c;
    color: white;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.card {
    background: white;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.card span {
    color: #6b7280;
    font-size: 14px;
}

.card strong {
    display: block;
    margin-top: 8px;
    font-size: 34px;
    color: #b91c1c;
}

.filters {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.filters a {
    background: white;
    color: #374151;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    font-weight: bold;
}

.filters a.active {
    background: #111827;
    color: white;
}

.filters a.export {
    margin-left: auto;
    background: #166534;
    color: white;
}

table {
    width: 100%;
    background: white;
    border-collapse: collapse;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

th {
    background: #111827;
    color: white;
    padding: 14px;
    text-align: left;
    font-size: 14px;
}

td {
    padding: 14px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
}

tr:hover {
    background: #f9fafb;
}

.badge {
    display: inline-block;
    background: #fee2e2;
    color: #991b1b;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: bold;
}

.link {
    color: #b91c1c;
    font-weight: bold;
    text-decoration: none;
}

@media (max-width: 800px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

.cards {
        grid-template-columns: 1fr;
    }

    table {
        font-size: 13px;
    }
}

.alert {
    background: #dcfce7;
    color: #166534;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: bold;
}

.danger {
    background: #fee2e2;
    color: #991b1b;
    padding: 5px 8px;
    border-radius: 999px;
    font-weight: bold;
    margin-right: 6px;
}

.warning {
    background: #fef3c7;
    color: #92400e;
    padding: 5px 8px;
    border-radius: 999px;
    font-weight: bold;
    margin-right: 6px;
}

.success {
    background: #dcfce7;
    color: #166534;
    padding: 5px 8px;
    border-radius: 999px;
    font-weight: bold;
    margin-right: 6px;
}

.follow {
    background: #e5e7eb;
    color: #374151;
    padding: 6px 10px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
}

.active-follow {
    background: #fef3c7;
    color: #92400e;
}

.user-box {
    background: #f3f4f6;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.user-box a {
    text-decoration: none;
    color: #dc2626;
    font-weight: 700;
}