/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #ff4500;
}

.logo i {
    font-size: 28px;
}

.search-bar {
    flex: 1;
    max-width: 500px;
    margin: 0 20px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 12px 50px 12px 16px;
    border: 2px solid #333;
    border-radius: 25px;
    background: #1a1a1a;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    outline: none;
    border-color: #ff4500;
    box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.1);
}

.search-bar button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #ff4500;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-bar button:hover {
    background: #e03d00;
    transform: translateY(-50%) scale(1.05);
}

.nav-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-btn {
    background: transparent;
    border: 1px solid #333;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.nav-btn:hover {
    background: #333;
    border-color: #555;
    transform: translateY(-1px);
}

.nav-btn.active {
    background: #ff4500;
    border-color: #ff4500;
}

.login-btn {
    background: #ff4500;
    border-color: #ff4500;
    font-weight: 600;
}

.login-btn:hover {
    background: #e03d00;
    border-color: #e03d00;
}

.notification-count {
    background: #ff4500;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: bold;
    position: absolute;
    top: -5px;
    right: -5px;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
}

/* Sort Bar */
.sort-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #333;
}

.sort-btn {
    background: transparent;
    border: 1px solid #333;
    color: #ccc;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sort-btn:hover {
    background: #333;
    color: #fff;
}

.sort-btn.active {
    background: #ff4500;
    border-color: #ff4500;
    color: white;
}

/* Posts */
.posts-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.post-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.post-card:hover {
    border-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.post-header {
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #333;
}

.post-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.post-meta {
    flex: 1;
}

.post-community {
    color: #ff4500;
    font-weight: 600;
    font-size: 14px;
}

.post-author {
    color: #ccc;
    font-size: 12px;
}

.post-time {
    color: #888;
    font-size: 12px;
}

.post-content {
    padding: 15px;
}

.post-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
    line-height: 1.4;
}

.post-text {
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.6;
}

.post-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.post-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-top: 1px solid #333;
}

.vote-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #2d2d2d;
    border-radius: 20px;
    padding: 5px;
}

.vote-btn {
    background: transparent;
    border: none;
    color: #ccc;
    padding: 6px 10px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.vote-btn:hover {
    background: #333;
}

.vote-btn.upvoted {
    color: #ff4500;
    background: rgba(255, 69, 0, 0.1);
}

.vote-btn.downvoted {
    color: #7193ff;
    background: rgba(113, 147, 255, 0.1);
}

.vote-count {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.action-btn {
    background: transparent;
    border: none;
    color: #ccc;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.action-btn:hover {
    background: #333;
    color: #fff;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px;
}

.sidebar-card h3 {
    margin-bottom: 15px;
    color: #fff;
    font-size: 16px;
}

.community-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.community-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.community-item img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.community-name {
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}

.community-members {
    color: #888;
    font-size: 12px;
}

.join-btn {
    background: transparent;
    border: 1px solid #ff4500;
    color: #ff4500;
    padding: 4px 12px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    margin-left: auto;
}

.join-btn:hover {
    background: #ff4500;
    color: white;
}

.join-btn.joined {
    background: #ff4500;
    color: white;
}

.trending-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.topic-tag {
    background: #333;
    color: #fff;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.topic-tag:hover {
    background: #ff4500;
}

/* Communities Page */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 700;
}

.create-community-btn {
    background: #ff4500;
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.create-community-btn:hover {
    background: #e03d00;
    transform: translateY(-2px);
}

.communities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.community-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.community-card:hover {
    border-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.community-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.community-header img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.community-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.community-info p {
    color: #888;
    font-size: 14px;
}

.community-description {
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.5;
}

.community-stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #888;
}

.community-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Create Post Page */
.create-post-container {
    max-width: 800px;
    margin: 0 auto;
}

.create-post-container h1 {
    margin-bottom: 30px;
    font-size: 32px;
}

.create-post-form {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #fff;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 8px;
    background: #2d2d2d;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff4500;
    box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.post-type-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    background: transparent;
    border: 1px solid #333;
    color: #ccc;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    background: #333;
    color: #fff;
}

.tab-btn.active {
    background: #ff4500;
    border-color: #ff4500;
    color: white;
}

.post-content {
    position: relative;
}

.content-type {
    display: none;
}

.content-type.active {
    display: block;
}

.upload-area {
    border: 2px dashed #333;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    color: #888;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #ff4500;
    color: #ff4500;
}

.upload-area i {
    font-size: 48px;
    margin-bottom: 10px;
    display: block;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

.btn-primary {
    background: #ff4500;
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary:hover {
    background: #e03d00;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid #333;
    color: #ccc;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #333;
    color: #fff;
}

/* Notifications Page */
.notifications-container {
    max-width: 800px;
    margin: 0 auto;
}

.notifications-container h1 {
    margin-bottom: 30px;
    font-size: 32px;
}

.notification-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid #333;
    color: #ccc;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #333;
    color: #fff;
}

.filter-btn.active {
    background: #ff4500;
    border-color: #ff4500;
    color: white;
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.notification-item {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 15px;
    transition: all 0.3s ease;
}

.notification-item:hover {
    border-color: #555;
    transform: translateY(-1px);
}

.notification-item.unread {
    border-left: 4px solid #ff4500;
    background: rgba(255, 69, 0, 0.05);
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff4500;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-text {
    margin-bottom: 8px;
    line-height: 1.5;
}

.notification-preview {
    color: #888;
    font-style: italic;
    margin-bottom: 8px;
    padding: 10px;
    background: #2d2d2d;
    border-radius: 8px;
    border-left: 3px solid #555;
}

.notification-time {
    color: #888;
    font-size: 12px;
}

/* Profile Page */
.profile-container {
    max-width: 1000px;
    margin: 0 auto;
}

.profile-header {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    gap: 30px;
    align-items: center;
}

.profile-avatar {
    position: relative;
}

.profile-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #333;
}

.edit-avatar {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #ff4500;
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.edit-avatar:hover {
    background: #e03d00;
    transform: scale(1.1);
}

.profile-info {
    flex: 1;
}

.profile-info h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

.profile-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #ff4500;
}

.stat-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
}

.profile-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge.gold {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 1px solid #ffd700;
}

.badge.silver {
    background: rgba(192, 192, 192, 0.2);
    color: #c0c0c0;
    border: 1px solid #c0c0c0;
}

.badge.bronze {
    background: rgba(205, 127, 50, 0.2);
    color: #cd7f32;
    border: 1px solid #cd7f32;
}

.edit-profile-btn {
    background: transparent;
    border: 1px solid #ff4500;
    color: #ff4500;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.edit-profile-btn:hover {
    background: #ff4500;
    color: white;
}

.profile-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
}

.profile-tabs .tab-btn {
    background: transparent;
    border: none;
    color: #ccc;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.profile-tabs .tab-btn:hover {
    color: #fff;
}

.profile-tabs .tab-btn.active {
    color: #ff4500;
    border-bottom-color: #ff4500;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.user-awards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.award-item {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.award-item i {
    font-size: 32px;
}

.award-item i.gold {
    color: #ffd700;
}

.award-item i.silver {
    color: #c0c0c0;
}

.award-item h4 {
    margin-bottom: 5px;
    color: #fff;
}

.award-item p {
    color: #ccc;
    margin-bottom: 5px;
}

.award-date {
    color: #888;
    font-size: 12px;
}

/* Auth Pages */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 20px;
}

.auth-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header i {
    font-size: 48px;
    color: #ff4500;
    margin-bottom: 10px;
}

.auth-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.auth-header p {
    color: #888;
}

.auth-form {
    margin-bottom: 30px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #ccc;
    font-size: 14px;
}

.checkbox input {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid #333;
    border-radius: 3px;
    position: relative;
}

.checkbox input:checked + .checkmark {
    background: #ff4500;
    border-color: #ff4500;
}

.checkbox input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
}

.forgot-password {
    color: #ff4500;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.full-width {
    width: 100%;
}

.auth-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
    color: #888;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #333;
}

.auth-divider span {
    background: #1a1a1a;
    padding: 0 15px;
    position: relative;
}

.oauth-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.oauth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.oauth-btn:hover {
    background: #333;
}

.oauth-btn.google:hover {
    background: #db4437;
    border-color: #db4437;
}

.oauth-btn.github:hover {
    background: #333;
    border-color: #333;
}

.auth-footer {
    text-align: center;
    color: #888;
}

.auth-footer a {
    color: #ff4500;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
}

.close-modal {
    background: none;
    border: none;
    color: #888;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: #333;
    color: #fff;
}

.modal-body {
    padding: 20px;
}

.comments-section {
    margin-top: 30px;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.comment-input {
    margin-bottom: 20px;
}

.comment-input textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 8px;
    background: #2d2d2d;
    color: #fff;
    resize: vertical;
    margin-bottom: 10px;
}

.comment-input button {
    float: right;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment-item {
    background: #2d2d2d;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 600;
    color: #ff4500;
}

.comment-time {
    color: #888;
    font-size: 12px;
}

.comment-text {
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 10px;
}

.comment-actions {
    display: flex;
    gap: 10px;
}

.comment-actions .vote-btn,
.comment-actions .action-btn {
    font-size: 12px;
    padding: 4px 8px;
}

/* Moderation Panel Styles */
.moderation-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.mod-tabs {
    display: flex;
    border-bottom: 1px solid #333;
    margin-bottom: 20px;
}

.mod-tab {
    padding: 12px 20px;
    background: none;
    border: none;
    color: #888;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.mod-tab:hover {
    color: #ff4500;
}

.mod-tab.active {
    color: #ff4500;
    font-weight: bold;
}

.mod-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ff4500;
}

.mod-tab-content {
    display: none;
    padding: 20px 0;
}

.mod-tab-content.active {
    display: block;
}

/* Reports List */
.report-item {
    background: #222;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 6px;
    border-left: 4px solid #ff4500;
}

.report-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.report-actions button {
    margin-left: 10px;
    padding: 4px 12px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-approve {
    background-color: #4CAF50;
    color: white;
}

.btn-reject {
    background-color: #f44336;
    color: white;
}

/* Users List */
.user-card {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #222;
    margin-bottom: 10px;
    border-radius: 6px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.user-info {
    flex: 1;
}

.user-username {
    font-weight: bold;
    margin-bottom: 4px;
}

.user-role {
    font-size: 12px;
    color: #888;
}

.user-actions {
    display: flex;
    gap: 8px;
}

/* Content List */
.content-item {
    background: #222;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 6px;
}

.content-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.content-actions {
    display: flex;
    gap: 8px;
}

/* Logs */
.log-entry {
    padding: 12px 15px;
    border-bottom: 1px solid #333;
    font-size: 14px;
}

.log-entry:last-child {
    border-bottom: none;
}

.log-time {
    color: #888;
    font-size: 12px;
    margin-right: 10px;
}

.log-action {
    font-weight: bold;
}

.log-details {
    color: #aaa;
    margin-top: 4px;
    font-size: 13px;
}

/* Moderation Badges */
.mod-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 8px;
}

.badge-warning {
    background-color: #ffc107;
    color: #000;
}

.badge-danger {
    background-color: #dc3545;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mod-tabs {
        flex-direction: column;
    }
    
    .mod-tab {
        text-align: left;
        border-bottom: 1px solid #333;
    }
    
    .report-header, .user-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .report-actions, .user-actions {
        margin-top: 10px;
        width: 100%;
    }
    
    .report-actions button, .user-actions button {
        width: 100%;
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 10px;
    }

    .auth-card {
        padding: 20px;
    }

    .page-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .profile-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .sort-bar {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Dark mode enhancements */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page.active {
    animation: fadeIn 0.3s ease-out;
}

.post-card,
.community-card,
.notification-item {
    animation: fadeIn 0.3s ease-out;
}

/* Loading states */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: #888;
}

.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #333;
    border-top: 2px solid #ff4500;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}