/**
 * Wavelength Community Forum Styles
 * Designed to match wavelengthlore.com perfectly
 */

/* Import main site font */
@font-face {
  font-family: 'AnimeAce';
  src: url('../fonts/animeace2_reg.ttf') format('truetype');
  src: url('../fonts/animeace2_reg.otf') format('opentype');
}

/* Base Forum Styles - Match main site exactly */
.forum-container {
    width: 80%;
    margin: 0 auto;
    color: #333;
    font-family: 'AnimeAce', Arial, sans-serif;
    padding: 20px 0;
}

/* Forum Title Section - Simple, matches main site h1 */
.forum-title-section {
    text-align: center;
    margin: 30px 0 40px 0;
}

.forum-page-title {
    font-size: 4rem;
    margin: 20px 0 10px 0;
    color: #333;
    font-family: 'AnimeAce', Arial, sans-serif;
    text-align: center;
}

.forum-icon {
    display: inline-block;
    margin-right: 10px;
}

.forum-tagline {
    font-size: 1.2rem;
    color: #666;
    margin: 10px 0;
    font-family: 'AnimeAce', Arial, sans-serif;
}

/* Legacy Forum Header - Keep for backward compatibility */
.forum-header {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    border: 5px solid black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
}

.forum-title {
    font-size: 4rem;
    margin: 20px 0;
    color: #333;
    font-family: 'AnimeAce', Arial, sans-serif;
}

.forum-subtitle {
    font-size: 15px;
    color: #555;
    margin: 5px 0;
}

/* Authentication Section - Match main site section style */
.auth-section {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    border: 5px solid black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
}

.user-welcome {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 5px solid black;
    object-fit: cover;
    background-color: #f0f0f0;
    display: block;
    transition: opacity 0.3s ease;
}

.user-avatar:loading {
    opacity: 0.5;
}

.user-avatar:error {
    opacity: 0.7;
    filter: grayscale(50%);
}

/* Authentication UI Styles */
.auth-btn {
    padding: 8px 16px;
    border: 2px solid black;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: 'AnimeAce', Arial, sans-serif;
    background: #007BFF;
    color: white;
    font-size: 1rem;
}

.auth-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px;
}

.user-info .user-avatar {
    width: 32px;
    height: 32px;
    border: 2px solid #333;
}

.user-name {
    font-weight: bold;
    color: #333;
    font-family: 'AnimeAce', Arial, sans-serif;
    font-size: 1rem;
    min-width: 100px;
    text-align: center;
}

.welcome-text {
    font-size: 1rem;
    color: #333;
    font-weight: bold;
}

.auth-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.guest-message {
    color: #555;
    margin-bottom: 10px;
    font-size: 15px;
    text-align: center;
}

/* Forum Navigation - Match main site center-link style */
.forum-nav {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 10px 20px;
    margin-bottom: 20px;
    border: 5px solid black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
}

.forum-nav-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.forum-nav-link {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-family: 'AnimeAce', Arial, sans-serif;
    font-size: 1rem;
}

.forum-nav-link:hover {
    text-decoration: underline;
    background: rgba(255, 255, 255, 0.1);
}

.forum-nav-link.active {
    background: rgba(0, 123, 255, 0.2);
}

/* Categories Grid - Match carousel style */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
    align-items: stretch;
}

.category-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 5px solid black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
    text-decoration: none;
    color: #333;
    display: block;
    overflow: hidden;
    word-wrap: break-word;
    box-sizing: border-box;
}

.category-card:hover {
    transform: scale(1.05);
    text-decoration: none;
    color: #333;
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    display: block;
}

.category-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.category-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 10px 0;
    color: #333;
    font-family: 'AnimeAce', Arial, sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
}

.category-description {
    color: #555;
    font-size: 15px;
    margin-bottom: 15px;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.category-stats {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.category-stat {
    text-align: center;
}

.category-stat-number {
    display: block;
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
}

.category-stat-label {
    font-size: 0.875rem;
    color: #555;
    margin-top: 5px;
}

/* Forum Stats - Match main site section style */
.forum-stats {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    border: 5px solid black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
}

.forum-stats-title {
    font-size: 2.25rem;
    margin: 20px 0;
    color: #333;
    font-family: 'AnimeAce', Arial, sans-serif;
    font-weight: bold;
}

.forum-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.forum-stat-item {
    text-align: center;
}

.forum-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    font-family: 'AnimeAce', Arial, sans-serif;
}

.forum-stat-label {
    font-size: 15px;
    color: #555;
    margin-top: 5px;
}

/* Recent Activity - Match main site */
.recent-activity {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border: 5px solid black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
}

.recent-activity-title {
    font-size: 2.25rem;
    margin: 20px 0;
    color: #333;
    text-align: center;
    font-family: 'AnimeAce', Arial, sans-serif;
    font-weight: bold;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.activity-item {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s ease;
    border: 1px solid #eee;
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.8);
}

.activity-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ddd;
    object-fit: cover;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-text {
    color: #333;
    margin: 0 0 5px 0;
    font-weight: bold;
}

.activity-time {
    color: #555;
    font-size: 14px;
    margin: 0;
}

/* Category Page Styles */
.category-header-section {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    border: 5px solid black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
}

.category-icon-large {
    font-size: 3rem;
    margin-right: 10px;
}

.category-icon-large img {
    width: 48px;
    height: 48px;
}

.category-title {
    display: flex;
    align-items: center;
    margin: 0 0 10px 0;
    font-size: 2.25rem;
    color: #333;
    font-family: 'AnimeAce', Arial, sans-serif;
    font-weight: bold;
}

.category-description {
    margin: 0;
    font-size: 1rem;
    color: #555;
    max-width: 600px;
}

.category-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.category-tools {
    display: flex;
    gap: 10px;
    align-items: center;
}

.sort-dropdown select {
    padding: 5px;
    border-radius: 5px;
    border: 2px solid #ddd;
    background: white;
    color: #333;
    font-family: 'AnimeAce', Arial, sans-serif;
}

/* Posts Section */
.posts-section {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border: 5px solid black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
}

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

.posts-header h3 {
    margin: 0;
    color: #333;
    font-family: 'AnimeAce', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
}

.posts-count {
    font-size: 15px;
    color: #555;
}

.post-item {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #eee;
}

.post-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    border-color: #007BFF;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.post-item.pinned {
    border-left: 4px solid #007BFF;
    background: rgba(0, 123, 255, 0.05);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 10px;
}

.post-title-section {
    flex: 1;
}

.pin-indicator {
    color: #007BFF;
    margin-right: 5px;
}

.post-title {
    margin: 0 0 5px 0;
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    font-family: 'AnimeAce', Arial, sans-serif;
}

.post-content-preview {
    margin-bottom: 10px;
}

.post-content-preview p {
    margin: 0;
    color: #555;
    line-height: 1.5;
    font-size: 15px;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 5px;
}

.author-avatar-small {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #ddd;
}

.author-name {
    font-weight: bold;
    color: #333;
}

.post-stats {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: #555;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    border: 5px solid black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 10px;
    opacity: 0.5;
}

.empty-state h3 {
    color: #333;
    margin-bottom: 10px;
    font-family: 'AnimeAce', Arial, sans-serif;
}

.empty-state p {
    color: #555;
    margin-bottom: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
}

/* Button Styles - Match main site navigation */
.btn {
    padding: 5px 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: 'AnimeAce', Arial, sans-serif;
    background: white;
    color: #333;
}

.btn:hover {
    background: #333;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.btn-primary {
    background: #007BFF;
    color: white;
    border-color: #007BFF;
}

.btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
    color: white;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    border-color: #ddd;
}

.btn-secondary:hover {
    background: #333;
    color: white;
    border-color: #333;
}

/* Filter Panel */
.filter-panel {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.filter-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

.filter-group input,
.filter-group select {
    padding: 5px;
    border-radius: 4px;
    border: 2px solid #ddd;
    background: white;
    color: #333;
    font-family: 'AnimeAce', Arial, sans-serif;
}

.filter-actions {
    display: flex;
    gap: 5px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 20px;
}

.pagination-btn {
    padding: 8px 12px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 4px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'AnimeAce', Arial, sans-serif;
}

.pagination-btn:hover {
    background: #333;
    color: white;
    border-color: #333;
}

.pagination-current {
    padding: 8px 12px;
    background: #007BFF;
    color: white;
    border-radius: 4px;
    font-weight: bold;
    border: 2px solid #007BFF;
}

.pagination-ellipsis {
    padding: 8px;
    color: #555;
}

/* Category Stats Bar */
.category-stats-bar {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    padding: 10px 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
    border: 1px solid #eee;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    font-family: 'AnimeAce', Arial, sans-serif;
}

.stat-text {
    display: block;
    font-size: 1rem;
    color: #333;
    font-weight: bold;
}

.stat-label {
    font-size: 14px;
    color: #555;
    margin-top: 5px;
}

/* Responsive Design - Match main site breakpoints */
@media (max-width: 768px) {
    .forum-container {
        width: 95%;
        padding: 10px;
    }
    
    .forum-title {
        font-size: 1.5rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .category-header-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .category-actions {
        align-items: stretch;
    }
    
    .category-tools {
        flex-direction: column;
    }
    
    .filter-options {
        grid-template-columns: 1fr;
    }
    
    .post-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .forum-nav-links {
        flex-direction: column;
        gap: 5px;
    }
    
    .auth-actions {
        flex-direction: column;
    }
    
    .category-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .forum-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .section {
        padding: 10px;
        border: 1px solid #eee;
        border-radius: 5px;
        background: rgba(255, 255, 255, 0.8);
    }
}

/* Loading States */
.loading-placeholder {
    text-align: center;
    padding: 30px;
    color: #555;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(51, 51, 51, 0.1);
    border-left-color: #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Error States */
.error-message {
    background: rgba(220, 53, 69, 0.1);
    border: 2px solid #dc3545;
    border-radius: 5px;
    padding: 10px;
    color: #721c24;
    text-align: center;
    margin: 10px 0;
}

/* Success States */
.success-message {
    background: rgba(40, 167, 69, 0.1);
    border: 2px solid #28a745;
    border-radius: 5px;
    padding: 10px;
    color: #155724;
    text-align: center;
    margin: 10px 0;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 20px;
    padding: 5px 0;
}

.breadcrumb-item {
    display: inline;
    color: #555;
}

.breadcrumb-item::after {
    content: " › ";
    margin: 0 5px;
    color: #333;
}

.breadcrumb-item:last-child::after {
    content: "";
}

.breadcrumb-link {
    color: #007BFF;
    text-decoration: none;
}

.breadcrumb-link:hover {
    text-decoration: underline;
}

/* Post Creation Form Styles */
.create-post-container {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border: 5px solid black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
}

.create-post-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
    font-family: 'AnimeAce', Arial, sans-serif;
}

/* File Upload Styles */
.file-upload-area {
    margin-top: 10px;
}

.file-drop-zone {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(249, 249, 249, 0.8);
}

.file-drop-zone:hover {
    border-color: #007BFF;
    background: rgba(239, 248, 255, 0.9);
}

.file-drop-zone.drag-over {
    border-color: #28a745;
    background: rgba(232, 255, 232, 0.9);
}

.file-drop-content {
    pointer-events: none;
}

.file-upload-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.file-drop-zone p {
    margin: 10px 0 5px 0;
    font-weight: bold;
    color: #555;
}

.file-drop-zone small {
    color: #777;
    font-size: 12px;
}

.file-preview-container {
    margin-top: 15px;
    padding: 15px;
    background: rgba(245, 245, 245, 0.9);
    border-radius: 8px;
    border: 1px solid #ddd;
}

.file-preview-container h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #333;
    font-family: 'AnimeAce', Arial, sans-serif;
}

.file-preview-list {
    margin-bottom: 10px;
}

.file-preview-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    margin-bottom: 5px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    border: 1px solid #eee;
}

.file-preview-info {
    display: flex;
    align-items: center;
    flex: 1;
}

.file-preview-icon {
    font-size: 16px;
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

.file-preview-details {
    flex: 1;
}

.file-preview-name {
    font-weight: bold;
    font-size: 13px;
    color: #333;
    margin-bottom: 2px;
}

.file-preview-meta {
    font-size: 11px;
    color: #777;
}

.file-remove-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 4px 8px;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.2s;
}

.file-remove-btn:hover {
    background: #c82333;
}

.file-upload-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    background: white;
    color: #333;
    font-family: 'AnimeAce', Arial, sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 200px;
    line-height: 1.5;
}

.form-help {
    display: block;
    margin-top: 5px;
    color: #555;
    font-size: 14px;
    font-style: italic;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Post Preview Styles */
.post-preview-container {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border: 5px solid black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007BFF;
}

.preview-header h3 {
    margin: 0;
    color: #333;
    font-family: 'AnimeAce', Arial, sans-serif;
}

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

.post-preview .post-item {
    margin: 0;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid #007BFF;
}

.post-meta-preview {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 5px;
    flex-wrap: wrap;
}

.post-category {
    background: rgba(0, 123, 255, 0.1);
    color: #007BFF;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
}

.post-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.post-tag {
    background: rgba(74, 71, 163, 0.3);
    color: #4a47a3;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

.post-tag:hover {
    background: rgba(74, 71, 163, 0.5);
    color: #2d2a5a;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(74, 71, 163, 0.2);
}

.post-tag.preview-tag {
    cursor: default;
    pointer-events: none;
}

.post-tag.preview-tag:hover {
    transform: none;
    box-shadow: none;
}

.post-tag.active-tag {
    background: #4a47a3;
    color: white;
    font-weight: bold;
}

.post-tag.active-tag:hover {
    background: #2d2a5a;
    color: white;
}

/* Loading and Success States */
.loading-container,
.success-container {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 40px 20px;
    margin-bottom: 20px;
    border: 5px solid black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.success-container h3 {
    color: #28a745;
    margin-bottom: 10px;
    font-family: 'AnimeAce', Arial, sans-serif;
}

.success-container p {
    color: #555;
    margin-bottom: 20px;
}

.success-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design for Forms */
@media (max-width: 768px) {
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    .preview-header {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .preview-actions {
        justify-content: center;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .post-meta-preview {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Individual Post Page Styles */
.post-full {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    box-shadow: 0 0 30px rgba(52, 152, 219, 0.2);
}

.post-full-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(52, 152, 219, 0.3);
}

.post-full-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.post-category, .post-type {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.post-pinned {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(241, 196, 15, 0.3);
}

.post-locked {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.post-full-title {
    font-family: 'AnimeAce', monospace;
    color: #3498db;
    font-size: 2rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
    line-height: 1.3;
}

.post-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.post-tag {
    background: rgba(155, 89, 182, 0.2);
    color: #9b59b6;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid rgba(155, 89, 182, 0.3);
}

.post-full-content {
    color: #ecf0f1;
    line-height: 1.8;
    margin-bottom: 25px;
}

.post-full-content p {
    margin-bottom: 15px;
}

.post-full-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 2px solid rgba(52, 152, 219, 0.3);
}

.post-author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(52, 152, 219, 0.5);
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.3);
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    color: #3498db;
    font-weight: bold;
    font-family: 'AnimeAce', monospace;
}

.post-date, .post-updated {
    color: #bdc3c7;
    font-size: 0.9rem;
}

.post-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.post-action-btn {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.post-action-btn:hover {
    background: rgba(52, 152, 219, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.post-action-btn.liked {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border-color: rgba(231, 76, 60, 0.3);
}

.post-stats {
    display: flex;
    gap: 15px;
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* Reply Section Styles */
.reply-section {
    margin-top: 30px;
}

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

.reply-header h3 {
    color: #3498db;
    font-family: 'AnimeAce', monospace;
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

/* Reply Form Styles */
.reply-form-container {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.2);
}

.reply-form .form-group {
    margin-bottom: 20px;
}

.reply-form label {
    display: block;
    color: #3498db;
    margin-bottom: 8px;
    font-weight: bold;
    font-family: 'AnimeAce', monospace;
}

.reply-form textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    border-radius: 10px;
    background: rgba(44, 62, 80, 0.8);
    color: #ecf0f1;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.reply-form textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
}

.reply-form .form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* Reply Items */
.replies-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reply-item {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid rgba(52, 152, 219, 0.2);
    transition: all 0.3s ease;
}

.reply-item:hover {
    border-color: rgba(52, 152, 219, 0.4);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

.reply-item .reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(52, 152, 219, 0.2);
}

.reply-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(52, 152, 219, 0.3);
}

.reply-author .author-name {
    color: #3498db;
    font-weight: bold;
    font-family: 'AnimeAce', monospace;
}

.reply-date {
    color: #bdc3c7;
    font-size: 0.9rem;
}

.reply-content {
    color: #ecf0f1;
    line-height: 1.6;
    margin-bottom: 15px;
}

.reply-content p {
    margin-bottom: 10px;
}

.reply-actions {
    display: flex;
    justify-content: flex-start;
}

.reply-action-btn {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
    padding: 6px 12px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.reply-action-btn:hover {
    background: rgba(52, 152, 219, 0.3);
    transform: translateY(-1px);
}

.reply-action-btn.liked {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border-color: rgba(231, 76, 60, 0.3);
}

/* No Replies State */
.no-replies {
    text-align: center;
    padding: 40px 20px;
    color: #7f8c8d;
}

.no-replies-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.7;
}

.no-replies p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Not Found State */
.not-found-container {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 15px;
    border: 2px solid rgba(231, 76, 60, 0.3);
    box-shadow: 0 0 30px rgba(231, 76, 60, 0.2);
}

.not-found-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.not-found-container h3 {
    color: #e74c3c;
    margin-bottom: 15px;
    font-family: 'AnimeAce', monospace;
    text-shadow: 0 0 10px rgba(231, 76, 60, 0.5);
}

.not-found-container p {
    color: #ecf0f1;
    margin-bottom: 30px;
    line-height: 1.6;
}

.not-found-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 20px;
    color: #bdc3c7;
    font-size: 0.9rem;
}

.breadcrumb-item {
    display: inline;
}

.breadcrumb-item:not(:last-child)::after {
    content: ' › ';
    margin: 0 8px;
    opacity: 0.6;
}

.breadcrumb-link {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #5dade2;
}

/* Loading states */
.loading-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(52, 152, 219, 0.2);
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design for Post Page */
@media (max-width: 768px) {
    .post-full {
        padding: 20px;
    }
    
    .post-full-title {
        font-size: 1.5rem;
    }
    
    .post-full-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .post-actions {
        align-self: stretch;
        justify-content: space-between;
    }
    
    .reply-form .form-actions {
        justify-content: stretch;
    }
    
    .reply-form .form-actions .btn {
        flex: 1;
    }
    
    .not-found-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .not-found-actions .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Real-time Update Indicators */
.new-content-badge {
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px;
    animation: pulse 2s infinite;
    font-weight: bold;
}

.typing-indicator {
    padding: 10px;
    font-style: italic;
    color: #7f8c8d;
    font-size: 0.9rem;
    min-height: 20px;
    border-left: 3px solid rgba(52, 152, 219, 0.3);
    margin: 10px 0;
    background: rgba(52, 152, 219, 0.05);
    border-radius: 0 8px 8px 0;
}

.like-animation {
    animation: likeBounceheart 0.6s ease-in-out;
}

@keyframes likeBounceheart {
    0% { transform: scale(1); }
    20% { transform: scale(1.3); }
    40% { transform: scale(1.1); }
    60% { transform: scale(1.25); }
    80% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.online-indicator {
    width: 10px;
    height: 10px;
    background: #27ae60;
    border-radius: 50%;
    display: inline-block;
    margin-left: 5px;
    box-shadow: 0 0 5px rgba(39, 174, 96, 0.5);
    animation: pulse 2s infinite;
}

.activity-indicator {
    font-size: 0.8rem;
    color: #27ae60;
    margin-left: 5px;
}

/* Real-time notifications */
.forum-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    z-index: 10000;
    max-width: 350px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.forum-notification.show {
    transform: translateX(0);
}

.forum-notification .notification-close {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
}

/* Live statistics styling */
.stat-item.live {
    position: relative;
    overflow: hidden;
}

.stat-item.live::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Interactive elements */
.post-action-btn, .reply-action-btn {
    transition: all 0.2s ease;
    position: relative;
}

.post-action-btn:active, .reply-action-btn:active {
    transform: scale(0.95);
}

.post-action-btn.liked, .reply-action-btn.liked {
    animation: likeBounceheart 0.6s ease-in-out;
}

/* Online Users Display */
.online-users-display {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.2);
}

.online-users-display h4 {
    color: #3498db;
    margin-bottom: 15px;
    font-family: 'AnimeAce', monospace;
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

.online-avatars {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.online-user-avatar {
    position: relative;
    width: 40px;
    height: 40px;
}

.online-user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(52, 152, 219, 0.5);
    transition: transform 0.2s ease;
}

.online-user-avatar:hover img {
    transform: scale(1.1);
}

.online-user-avatar .online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #27ae60;
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(39, 174, 96, 0.5);
}

.more-users {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    border: 2px solid rgba(52, 152, 219, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* User Profile Styles */
.user-profile {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    box-shadow: 0 0 30px rgba(52, 152, 219, 0.2);
}

.profile-header {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid rgba(52, 152, 219, 0.3);
}

.profile-avatar {
    position: relative;
    flex-shrink: 0;
}

.avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(52, 152, 219, 0.5);
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.3);
}

.online-status-large {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: #27ae60;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(39, 174, 96, 0.5);
    animation: pulse 2s infinite;
}

.profile-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-name {
    color: #3498db;
    font-family: 'AnimeAce', monospace;
    font-size: 2.5rem;
    margin: 0;
    text-shadow: 0 0 15px rgba(52, 152, 219, 0.5);
}

.profile-role {
    font-size: 1.2rem;
    color: #f39c12;
    font-weight: bold;
}

.profile-status, .profile-joined {
    color: #bdc3c7;
    font-size: 1rem;
}

.profile-actions {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 2px solid rgba(52, 152, 219, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(52, 152, 219, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #3498db;
    font-family: 'AnimeAce', monospace;
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

.stat-label {
    color: #bdc3c7;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Radio Player Game Stats */
.radio-player-stats {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.radio-player-stats h3 {
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
    font-family: 'AnimeAce', monospace;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.game-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.game-stat-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.game-stat-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.game-stat-item.rare-collectible {
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.3), rgba(255, 140, 0, 0.3));
    border-color: rgba(255, 69, 0, 0.5);
}

.game-stat-item.rare-collectible:hover {
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.4), rgba(255, 140, 0, 0.4));
    box-shadow: 0 5px 20px rgba(255, 69, 0, 0.4);
}

.game-stat-item.magic-level-stat {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 255, 0, 0.3));
    border-color: rgba(255, 215, 0, 0.5);
}

.game-stat-item.total-score {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 165, 0, 0.3));
    border-color: rgba(255, 215, 0, 0.5);
    grid-column: span 2;
}

.game-stat-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Neon green horseshoe in profile stats */
.game-stat-item:nth-child(3) .game-stat-icon {
    filter: drop-shadow(0 0 6px #00ff00)
            drop-shadow(0 0 12px #39ff14)
            brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(10000%) hue-rotate(90deg) !important;
    animation: neonGreenPulse 2s ease-in-out infinite;
}

@keyframes neonGreenPulse {
    0%, 100% {
        filter: drop-shadow(0 0 6px #00ff00)
                drop-shadow(0 0 12px #39ff14)
                brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(10000%) hue-rotate(90deg);
    }
    50% {
        filter: drop-shadow(0 0 8px #00ff00)
                drop-shadow(0 0 15px #39ff14)
                brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(10000%) hue-rotate(90deg);
    }
}

.game-stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    font-family: 'AnimeAce', monospace;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.game-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.radio-stats-note {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 15px;
}

.radio-stats-note a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.radio-stats-note a:hover {
    border-bottom-color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Radio Game Settings */
.radio-game-settings {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.radio-game-settings h4 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.setting-row {
    margin-bottom: 10px;
}

.setting-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #fff;
    font-weight: 600;
}

.setting-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.setting-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin: 5px 0 0 30px;
}

/* Favorite Songs Section */
.favorite-songs-section {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(240, 147, 251, 0.3);
}

.favorite-songs-section h3 {
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
    font-family: 'AnimeAce', monospace;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.favorite-songs-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
}

.favorite-song-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

.favorite-song-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.favorite-song-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    text-decoration: none;
    color: #fff;
}

.favorite-song-number {
    font-size: 1.5rem;
    color: #ff1744;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    min-width: 30px;
    text-align: center;
}

.favorite-song-info {
    flex: 1;
}

.favorite-song-title {
    font-weight: bold;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 4px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.favorite-song-meta {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.no-favorites {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    font-size: 0.95rem;
}

.no-favorites a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.no-favorites a:hover {
    border-bottom-color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.profile-bio {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border: 2px solid rgba(52, 152, 219, 0.2);
}

.profile-bio h3 {
    color: #3498db;
    margin-bottom: 15px;
    font-family: 'AnimeAce', monospace;
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

.bio-content {
    color: #ecf0f1;
    line-height: 1.6;
    margin-bottom: 15px;
}

.profile-tabs {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    border-radius: 12px;
    border: 2px solid rgba(52, 152, 219, 0.2);
    overflow: hidden;
}

.tab-navigation {
    display: flex;
    background: rgba(52, 152, 219, 0.1);
    border-bottom: 2px solid rgba(52, 152, 219, 0.2);
}

.tab-btn {
    flex: 1;
    padding: 15px 20px;
    background: none;
    border: none;
    color: #bdc3c7;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    border-right: 1px solid rgba(52, 152, 219, 0.2);
}

.tab-btn:last-child {
    border-right: none;
}

.tab-btn:hover {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.tab-btn.active {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    font-weight: bold;
}

.tab-content {
    padding: 25px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.profile-post-item, .profile-reply-item {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    border: 2px solid rgba(52, 152, 219, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-post-item:hover, .profile-reply-item:hover {
    border-color: rgba(52, 152, 219, 0.4);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

.post-header {
    margin-bottom: 10px;
}

.post-title {
    color: #3498db;
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    font-family: 'AnimeAce', monospace;
}

.post-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.post-category {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
}

.post-preview {
    color: #ecf0f1;
    line-height: 1.5;
    margin-bottom: 15px;
}

.post-stats {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.reply-content {
    color: #ecf0f1;
    line-height: 1.5;
    margin-bottom: 15px;
}

.reply-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.activity-chart {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 10px;
    padding: 20px;
    border: 2px solid rgba(52, 152, 219, 0.2);
}

.activity-chart h4 {
    color: #3498db;
    margin-bottom: 20px;
    font-family: 'AnimeAce', monospace;
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

.activity-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 8px;
}

.activity-label {
    color: #bdc3c7;
}

.activity-value {
    color: #3498db;
    font-weight: bold;
}

.no-content {
    text-align: center;
    padding: 40px 20px;
    color: #7f8c8d;
}

.no-content-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.7;
}

/* Profile Activity Section */
.profile-activity {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border: 2px solid rgba(52, 152, 219, 0.2);
}

.profile-activity h3 {
    color: #3498db;
    margin-bottom: 20px;
    font-family: 'AnimeAce', monospace;
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

.activity-content {
    color: #ecf0f1;
    line-height: 1.6;
}

.activity-icon {
    font-size: 1.2rem;
    margin-right: 10px;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-title a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

.activity-title a:hover {
    color: #5dade2;
    text-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

.activity-meta {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-top: 5px;
}

.activity-stats {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: #95a5a6;
}

.no-activity, .loading-activity {
    text-align: center;
    padding: 20px;
    color: #7f8c8d;
    font-style: italic;
}

/* Empty Bio Styles */
.profile-bio.empty {
    border: 2px dashed rgba(52, 152, 219, 0.3);
    text-align: center;
}

.empty-bio {
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 15px;
}

/* Responsive Design for Profile */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tab-navigation {
        flex-direction: column;
    }
    
    .tab-btn {
        border-right: none;
        border-bottom: 1px solid rgba(52, 152, 219, 0.2);
    }
    
    .tab-btn:last-child {
        border-bottom: none;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .post-stats {
        justify-content: center;
    }
    
    .activity-item {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}

/* Author Links */
.author-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.author-link:hover {
    color: #3498db;
    text-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

.author-link .author-name:hover {
    color: #3498db;
}

/* User Profile Management Modals */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-container {
    background: var(--card-bg);
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-container {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px 12px 0 0;
}

.modal-header h3 {
    margin: 0;
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-content {
    padding: 2rem;
}

/* Profile Edit Form */
.profile-edit-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-content .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.modal-content .form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.modal-content .form-group input,
.modal-content .form-group textarea,
.modal-content .form-group select {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-color);
    color: var(--text-color);
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-content .form-group input:focus,
.modal-content .form-group textarea:focus,
.modal-content .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.modal-content .form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.modal-content .form-help {
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Checkbox Groups */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.checkbox-label:hover {
    background: var(--hover-bg);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.checkbox-label span {
    font-size: 0.95rem;
    color: var(--text-color);
}

/* Settings Sections */
.settings-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.settings-section {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    background: var(--hover-bg);
}

.settings-section h4 {
    margin: 0 0 1rem 0;
    color: var(--text-color);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Account Info */
.account-info {
    margin-bottom: 1.5rem;
}

.account-info p {
    margin: 0.5rem 0;
    color: var(--text-color);
}

.account-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Form Actions */
.modal-content .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--hover-bg);
    border-color: var(--primary-color);
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

/* Modal Responsive Design */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .modal-content .form-actions {
        flex-direction: column;
    }
    
    .account-actions {
        flex-direction: column;
    }
}

/* Admin Interface Styles */
.admin-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    box-shadow: 0 0 30px rgba(52, 152, 219, 0.2);
    font-family: 'AnimeAce', Arial, sans-serif;
}

.admin-header h1 {
    color: #3498db;
    font-family: 'AnimeAce', Arial, sans-serif;
    font-size: 2.5rem;
    margin: 0 0 20px 0;
    text-shadow: 0 0 15px rgba(52, 152, 219, 0.5);
}

.admin-nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.admin-tab-btn {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    border: 2px solid rgba(52, 152, 219, 0.3);
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
}

.admin-tab-btn:hover {
    background: rgba(52, 152, 219, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.admin-tab-btn.active {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border-color: #3498db;
}

.admin-content {
    min-height: 500px;
}

.admin-tab {
    display: none;
}

.admin-tab.active {
    display: block;
}

.admin-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 15px;
    padding: 30px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.2);
    font-family: 'AnimeAce', Arial, sans-serif;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(52, 152, 219, 0.3);
}

.section-header h3 {
    color: #3498db;
    font-family: 'AnimeAce', Arial, sans-serif;
    font-size: 1.8rem;
    margin: 0;
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

.search-controls {
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-input, .filter-select {
    padding: 10px 15px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    border-radius: 20px;
    background: rgba(44, 62, 80, 0.8);
    color: #ecf0f1;
    font-family: 'AnimeAce', Arial, sans-serif;
    transition: border-color 0.3s ease;
}

.search-input:focus, .filter-select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(34, 49, 63, 0.8);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.admin-table th {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-family: 'AnimeAce', Arial, sans-serif;
    border-bottom: 2px solid rgba(52, 152, 219, 0.3);
}

.admin-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(52, 152, 219, 0.2);
    color: #ecf0f1;
}

.admin-table tr:hover {
    background: rgba(52, 152, 219, 0.1);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(52, 152, 219, 0.3);
}

.user-name {
    font-weight: 600;
    color: #3498db;
    font-family: 'AnimeAce', Arial, sans-serif;
}

.user-email {
    font-size: 0.85rem;
    color: #bdc3c7;
    font-family: 'AnimeAce', Arial, sans-serif;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'AnimeAce', Arial, sans-serif;
}

.role-super_admin {
    background: rgba(241, 196, 15, 0.3);
    color: #f39c12;
    border: 1px solid rgba(241, 196, 15, 0.4);
    box-shadow: 0 0 10px rgba(241, 196, 15, 0.2);
}

.role-admin {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.3);
}

.role-moderator {
    background: rgba(155, 89, 182, 0.2);
    color: #9b59b6;
    border: 1px solid rgba(155, 89, 182, 0.3);
}

.role-user {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.role-member {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.role-banned {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-small {
    padding: 6px 12px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'AnimeAce', Arial, sans-serif;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-small:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
}

.category-badge {
    background: rgba(155, 89, 182, 0.2);
    color: #9b59b6;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    border: 1px solid rgba(155, 89, 182, 0.3);
}

.post-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.post-link:hover {
    color: #5dade2;
}

.loading-row td {
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
}

.no-data {
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
    font-style: italic;
}

/* Reports Styles */
.stats-summary {
    display: flex;
    gap: 20px;
}

.stat-card {
    background: rgba(52, 152, 219, 0.2);
    border: 2px solid rgba(52, 152, 219, 0.3);
    border-radius: 10px;
    padding: 15px 20px;
    text-align: center;
    min-width: 100px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #3498db;
    font-family: 'AnimeAce', Arial, sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: #bdc3c7;
    font-family: 'AnimeAce', Arial, sans-serif;
    margin-top: 5px;
}

.reports-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.report-card {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid rgba(52, 152, 219, 0.2);
    transition: all 0.3s ease;
}

.report-card:hover {
    border-color: rgba(52, 152, 219, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

.report-card.pending {
    border-left: 4px solid #f39c12;
}

.report-card.resolved {
    border-left: 4px solid #27ae60;
    opacity: 0.7;
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(52, 152, 219, 0.2);
}

.report-type {
    display: flex;
    align-items: center;
    gap: 8px;
}

.report-icon {
    font-size: 1.2rem;
}

.report-label {
    color: #3498db;
    font-weight: 600;
    text-transform: capitalize;
}

.report-status {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.report-status.pending {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
}

.report-status.resolved {
    background: rgba(39, 174, 96, 0.2);
    color: #27ae60;
}

.report-content {
    margin-bottom: 15px;
    color: #ecf0f1;
    line-height: 1.5;
}

.report-content p {
    margin: 8px 0;
}

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

.no-data-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
}

.no-data-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.7;
}

/* Settings Styles */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.setting-card {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    border-radius: 12px;
    padding: 25px;
    border: 2px solid rgba(52, 152, 219, 0.2);
    font-family: 'AnimeAce', Arial, sans-serif;
}

.setting-card h4 {
    color: #3498db;
    margin-bottom: 20px;
    font-family: 'AnimeAce', Arial, sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}

.setting-item {
    margin-bottom: 15px;
}

.setting-item label {
    color: #bdc3c7;
    font-weight: 600;
    font-family: 'AnimeAce', Arial, sans-serif;
    display: block;
    margin-bottom: 8px;
}

.setting-item input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    border-radius: 8px;
    background: rgba(44, 62, 80, 0.8);
    color: #ecf0f1;
    font-family: 'AnimeAce', Arial, sans-serif;
}

.setting-item input[type="number"]:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
}

/* Responsive Admin Design */
@media (max-width: 768px) {
    .admin-header {
        padding: 20px;
    }
    
    .admin-header h1 {
        font-size: 2rem;
    }
    
    .admin-nav {
        justify-content: center;
    }
    
    .admin-tab-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .section-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .search-controls {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .admin-table {
        font-size: 0.85rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 10px;
    }
    
    .user-info {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .action-buttons {
        justify-content: center;
    }
    
    .stats-summary {
        justify-content: center;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }
}

/* Recent Posts Page Styles */
.recent-posts-controls {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-section label {
    color: #bdc3c7;
    font-weight: 600;
    white-space: nowrap;
}

.filter-select {
    padding: 8px 12px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    border-radius: 8px;
    background: rgba(44, 62, 80, 0.8);
    color: #ecf0f1;
    font-family: inherit;
    min-width: 140px;
}

.filter-select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
}

.view-options {
    margin-left: auto;
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-item {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid rgba(52, 152, 219, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.post-item:hover {
    border-color: rgba(52, 152, 219, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

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

.post-category {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(52, 152, 219, 0.2);
    padding: 6px 12px;
    border-radius: 15px;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.category-icon {
    font-size: 1.1rem;
}

.category-name {
    color: #3498db;
    font-weight: 600;
    font-size: 0.9rem;
}

.post-time {
    color: #bdc3c7;
    font-size: 0.9rem;
}

.post-content h3.post-title {
    color: #3498db;
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    font-family: 'AnimeAce', monospace;
    line-height: 1.4;
}

.post-preview {
    color: #ecf0f1;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(52, 152, 219, 0.2);
}

.post-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(52, 152, 219, 0.3);
}

.author-name {
    color: #3498db;
    font-weight: 600;
    font-size: 0.9rem;
}

.post-stats {
    display: flex;
    gap: 15px;
    align-items: center;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #bdc3c7;
    font-size: 0.85rem;
}

.stat-icon {
    font-size: 0.9rem;
}

.stat-count {
    font-weight: 600;
}

.load-more-container {
    text-align: center;
    margin-top: 30px;
}

.no-posts {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 12px;
    border: 2px solid rgba(52, 152, 219, 0.3);
}

.no-posts-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.7;
}

.no-posts h3 {
    color: #3498db;
    margin-bottom: 15px;
    font-family: 'AnimeAce', monospace;
}

.no-posts p {
    color: #bdc3c7;
    margin-bottom: 10px;
    line-height: 1.6;
}

.error-container {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 12px;
    border: 2px solid rgba(231, 76, 60, 0.3);
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.error-container h3 {
    color: #e74c3c;
    margin-bottom: 15px;
    font-family: 'AnimeAce', monospace;
}

.error-container p {
    color: #bdc3c7;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Responsive Design for Recent Posts */
@media (max-width: 768px) {
    .recent-posts-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .filter-section {
        justify-content: space-between;
    }
    
    .view-options {
        margin-left: 0;
        text-align: center;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .post-stats {
        align-self: stretch;
        justify-content: space-around;
    }
    
    .post-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* Forum Quick Actions Styles */
.forum-quick-actions {
    background: rgba(72, 61, 139, 0.05);
    border: 2px solid #483D8B;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(72, 61, 139, 0.1);
}

.forum-quick-actions h3 {
    color: #483D8B;
    font-family: 'AnimeAce', Arial, sans-serif;
    margin: 0 0 15px 0;
    font-size: 1.2em;
    text-align: center;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #483D8B, #6A5ACD);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-family: 'AnimeAce', Arial, sans-serif;
    font-size: 0.9em;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(72, 61, 139, 0.3);
}

.quick-action-btn:hover {
    background: linear-gradient(135deg, #6A5ACD, #8A7FE8);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(72, 61, 139, 0.4);
    color: white;
    text-decoration: none;
}

.quick-action-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(72, 61, 139, 0.3);
}

.action-icon {
    font-size: 1.2em;
}

/* Forum Community Links Styles */
.forum-community-links {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.forum-community-links h3 {
    color: #333;
    font-family: 'AnimeAce', Arial, sans-serif;
    margin: 0 0 15px 0;
    font-size: 1.2em;
    text-align: center;
}

.community-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.community-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #495057;
    border: 1px solid #ced4da;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-family: 'AnimeAce', Arial, sans-serif;
    font-size: 0.9em;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.community-link:hover {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    text-decoration: none;
}

.community-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.link-icon {
    font-size: 1.2em;
}

.action-text {
    font-weight: bold;
}

/* Responsive adjustments for quick actions */
@media (max-width: 768px) {
    .quick-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-action-btn {
        padding: 12px 16px;
        font-size: 0.85em;
    }

    .community-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .community-link {
        padding: 12px 16px;
        font-size: 0.85em;
    }
}

/* Post Attachments Styles */
.post-attachments {
    margin: 20px 0;
    padding: 20px;
    background: rgba(72, 61, 139, 0.02);
    border: 1px solid rgba(72, 61, 139, 0.1);
    border-radius: 8px;
}

.attachments-title {
    color: #483D8B;
    font-family: 'AnimeAce', Arial, sans-serif;
    margin: 0 0 15px 0;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.attachments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

/* Image Attachments */
.attachment-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.attachment-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.image-attachment {
    position: relative;
    cursor: pointer;
}

.attachment-preview {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 15px 10px 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.attachment-image:hover .image-overlay {
    transform: translateY(0);
}

.image-filename {
    display: block;
    font-size: 0.85em;
    font-weight: bold;
    margin-bottom: 2px;
    word-break: break-word;
}

.image-filesize {
    display: block;
    font-size: 0.75em;
    opacity: 0.8;
}

/* File Attachments */
.file-attachment {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: white;
    border: 1px solid rgba(72, 61, 139, 0.2);
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
}

.file-attachment:hover {
    background: rgba(72, 61, 139, 0.05);
    border-color: #483D8B;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(72, 61, 139, 0.15);
    text-decoration: none;
    color: #333;
}

.file-icon {
    font-size: 1.5em;
    flex-shrink: 0;
}

.file-details {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-weight: bold;
    font-size: 0.9em;
    word-break: break-word;
    color: #483D8B;
}

.file-size {
    font-size: 0.8em;
    color: #666;
    margin-top: 2px;
}

.download-icon {
    font-size: 1.2em;
    color: #483D8B;
    flex-shrink: 0;
}

/* Image Modal Styles */
.image-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.image-modal {
    background: white;
    border-radius: 12px;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.image-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.image-modal-title {
    font-weight: bold;
    color: #333;
    font-size: 1.1em;
}

.image-modal-close {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.image-modal-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.image-modal-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    min-height: 200px;
}

.image-modal-img {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 8px;
}

.image-modal-footer {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    text-align: center;
}

/* Responsive adjustments for attachments */
@media (max-width: 768px) {
    .attachments-grid {
        grid-template-columns: 1fr;
    }
    
    .attachment-preview {
        height: 200px;
    }
    
    .image-modal {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .image-modal-img {
        max-height: 50vh;
    }
}

/* Profile Sign-in Required Styles */
.profile-signin-required {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 40px 20px;
}

.signin-card {
    background: white;
    border: 2px solid #483D8B;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(72, 61, 139, 0.1);
    max-width: 400px;
    width: 100%;
}

.signin-card h2 {
    color: #483D8B;
    font-family: 'AnimeAce', Arial, sans-serif;
    margin: 0 0 15px 0;
    font-size: 1.5em;
}

.signin-card p {
    color: #666;
    margin: 0 0 25px 0;
    font-size: 1.1em;
}

.signin-card .btn {
    font-size: 1.1em;
    padding: 12px 24px;
}

/* Delete Modal Styles */
.delete-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(3px);
}

.delete-modal {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border: 2px solid #e74c3c;
}

.delete-modal-header {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.delete-modal-header h3 {
    margin: 0;
    font-family: 'AnimeAce', Arial, sans-serif;
    font-size: 1.2em;
}

.modal-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.delete-modal-content {
    padding: 25px;
}

.delete-modal-content p {
    margin: 0 0 15px 0;
    line-height: 1.6;
    color: #333;
}

.delete-modal-content .warning-text {
    color: #e74c3c;
    font-weight: bold;
    background: rgba(231, 76, 60, 0.1);
    padding: 10px;
    border-radius: 6px;
    border-left: 4px solid #e74c3c;
}

.delete-modal-actions {
    padding: 20px 25px;
    background: #f8f9fa;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    border-top: 1px solid #dee2e6;
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}

.btn-danger:hover:not(:disabled) {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

.btn-danger:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

/* Delete Button Styles */
.delete-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
    color: white !important;
    border: 1px solid #e74c3c !important;
}

.delete-btn:hover {
    background: linear-gradient(135deg, #c0392b, #a93226) !important;
    border-color: #c0392b !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.post-action-btn.delete-btn,
.reply-action-btn.delete-btn {
    margin-left: 10px;
    font-size: 0.9em;
}

/* Mobile responsiveness for delete modal */
@media (max-width: 768px) {
    .delete-modal {
        width: 95%;
        margin: 20px;
    }
    
    .delete-modal-header {
        padding: 15px;
    }
    
    .delete-modal-content {
        padding: 20px;
    }
    
    .delete-modal-actions {
        padding: 15px 20px;
        flex-direction: column;
    }
    
    .delete-modal-actions .btn {
        width: 100%;
        margin: 5px 0;
    }
}