
:root {
    --text-dark: #1c1c1e;
    --text-secondary-dark: #8a8a8e;
    --tag-admin: #3b82f6;
    --tag-moderator: #10b981;
    --tag-user: #6b7280;
    --card-banned-bg: #e5e5ea;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f0f2f5;
    color: #1c1c1e;
}
main {
    flex: 1;
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

#footer-placeholder { display: none; }

.controls-wrapper {
    margin-bottom: 2rem;
    background: #ffffff;
    padding: 1rem;
    border-radius: 20px;
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
#search-input {
    width: 100%;
    flex-grow: 1;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    background: #f0f2f5;
    color: #1c1c1e;
    font-size: 1rem;
    outline: none;
}
#search-input::placeholder {
    color: #8a8a8e;
}

/* --- NEW FILTER BUTTONS --- */
.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    width: 100%;
}
.filter-btn {
    padding: 0.7rem 1rem;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    background: #f8f9fa;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease-out;
}
.filter-btn:hover {
    background: #e9ecef;
}
.filter-btn.active {
    background: #007aff;
    color: white;
    border-color: #007aff;
}

.filter-btn[data-filter="deleted"].active {
    background-color: #ff3b30;
    border-color: #ff3b30;
    color: white;
}

.filter-btn[data-filter="chat_ban"].active {
    background-color: #ff9500;
    border-color: #ff9500;
    color: white;
}
