/* ============================================
   PROJECTS PAGE (skeleton styles)
   ============================================ */
.projects-hero {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.06), rgba(6, 182, 212, 0.04));
    border: 1px solid rgba(255, 107, 53, 0.12);
    padding: 60px 20px;
    margin-bottom: 40px;
    border-radius: 12px;
}
.projects-search input[type="search"] {
    width: 60%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255,255,255,0.03);
    color: var(--text-primary);
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}

/* Admin selection toolbar / checkboxes */
.projects-toolbar {
    margin-bottom: 16px;
    display:flex;
    gap:10px;
    align-items:center;
}
/* Analytics admin charts */
#vibe-projects-daily-chart, #vibe-projects-top-chart { width:100%; height:260px; }
#vibe-projects-top-chart { height:260px; }
@media (max-width: 900px) { #vibe-projects-top-chart { height:200px; } }

/* Tiny sparkline in tables */
.project-sparkline { width:120px !important; height:30px !important; display:block; }
.project-sparkline { background: transparent; }
.project-select { position:absolute; left:12px; top:12px; z-index:12; }
.project-checkbox { width:18px; height:18px; }
.project-card { position:relative; }
.projects-search-results { margin-top: 12px; }
.search-results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.search-result-item { background: var(--card-bg); padding: 12px; border-radius: 10px; }
.search-result-item h4 { margin: 0 0 8px 0; }
.search-result-item p { color: var(--text-secondary); font-size: 0.95rem; }
.project-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}
.project-card:hover { transform: translateY(-5px); }
.project-card-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
}
.project-image-preview { min-height: 120px; border: 1px dashed rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; }
.admin-add-project { margin-top: 12px; }
.badge { display:inline-flex; align-items:center; gap:8px; padding:6px 10px; border-radius:999px; font-weight:600; font-size:0.85rem; }
.badge-fire { background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover)); color: white; }
.badge-clock { background: linear-gradient(135deg, var(--accent-gold), var(--accent-secondary)); color: #1a1a2e; }
.badge-fire svg, .badge-clock svg { width:18px; height:18px; display:inline-block; vertical-align:middle; }
.badge-pop { animation: badge-pop 350ms ease; }
/* Affiliate badge */
.badge-affiliate { background: rgba(255,255,255,0.04); color: var(--text-primary); border: 1px solid rgba(255,255,255,0.06); }
.badge:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
@keyframes badge-pop { 0% { transform: scale(.95); opacity: 0.6; } 60% { transform: scale(1.06); opacity: 1; } 100% { transform: scale(1); } }

/* Projects pagination */
.projects-pagination { margin-top: 30px; text-align:center; }
.projects-pagination .page-numbers { display:inline-block; padding:8px 12px; margin:0 6px; background: rgba(255,255,255,0.03); border-radius:8px; color: var(--text-primary); }

@media (max-width: 768px) {
    .projects-search input[type="search"] { width: 100%; }
    .project-card-image { height: 140px; }
}

@media (prefers-reduced-motion: reduce) {
    .badge-pop { animation: none; }
}

/* Small muted helper text */
.small { font-size: 0.85rem; }
.muted { color: var(--text-muted); }
.project-countdown { margin-left: 8px; display:inline-block; }
/* Small info tooltip helper */
.vibe-help { display:inline-block; width:18px; height:18px; line-height:18px; text-align:center; border-radius:50%; background: rgba(255,255,255,0.04); color: var(--text-secondary); margin-left:6px; font-size:12px; cursor:default; }
/*
Theme Name: Vibe Coding
Description: A comprehensive WordPress theme for developers featuring AI Community Dashboard, User Management System, Content Submission Platform, Projects Showcase, Advanced Analytics with Chart.js visualizations, and a professional Standalone Vibe Tool Manager with CSV import/export, drag-and-drop file uploads, bulk operations, and real-time click tracking. Designed with a modern cyber sleek aesthetic featuring animated gradient orbs, glassmorphism effects, and responsive dark theme throughout.
Author: TrendingSeekers42
Version: 6.9.1
License: GPL v2 or later
Text Domain: vibe-coding
Tags: community, ai-tools, content-submission, user-management, dashboard, responsive, modern, analytics, dark-theme
Requires at least: 5.0
Tested up to: 6.3
Requires PHP: 7.4

Changelog v6.0.0 (December 12, 2025):
- Fixed bulk add CSV parsing to handle tab-separated data from Google Sheets
- Added visual example in bulk add section showing proper tab-separated format
- Implemented automatic header row detection and skipping for CSV imports
- Added "Upload CSV File" button with native file explorer support for PC/Mac
- Implemented drag-and-drop functionality for CSV files with visual feedback overlay
- Fixed Import/Export CSV parsing to support both tab and comma delimiters
- Reduced required CSV fields to title, description, and download_url only
- Added Chart.js library and implemented professional line graph for analytics dashboard
- Created Google Search Console-style analytics visualization with smooth animations
- Implemented working date range filters (7, 30, 90 days, all time) with orange highlighting
- Added click type filtering (all interactions, affiliate only, download only)
- Fixed analytics filter button highlighting to show active selection
- Updated "View Public Page" link to open in new tab with target="_blank"
- Removed get_footer() from Vibe Tools Manager page for cleaner admin workflow
- Enhanced CSV parsing with case-insensitive YES/TRUE/1 detection for toggles
- Improved error messaging for CSV validation failures
- Added empty state analytics graph showing proper date ranges with zero data

Changelog v5.3.0 (December 13, 2025):
- Redesigned Vibe Tool Manager with form-based tool creation (no WordPress editor)
- Disabled WordPress editor and REST API access for vibe_tool CPT
- Implemented bulk tool creation from CSV array data
- Added CSV import functionality with auto-detect toggle conversion (yes/true/1)
- Implemented CSV export with aggregated analytics (total clicks, affiliate clicks, download clicks, click rate)
- Added 8 new AJAX endpoints for tool management operations
- Redesigned manager interface with 4 tabs: Vibe Coding Tools, Tool Listings, Analytics, Import/Export
- Replicated animated orb background with orange (#ff6b35), purple, and cyan gradients
- Removed Platform Links Manager tab entirely
- Removed "View" buttons from manager tool containers
- Implemented delete confirmation modal with tool name display
- Fixed button spacing issues (gap: 12px between action buttons, gap: 16px between sections)
- Enhanced responsive design for mobile tool manager
- Added aggregated analytics export with top referrer tracking and click rate calculations

Changelog v5.2.0 (December 11, 2025):
- Removed legacy admin navigation system (flavor_studios_render_admin_navigation)
- Cleaned up admin-navigation.php to prevent overlay interference
- Updated Top Vibe Coding Tools page with animated background orbs
- Added SEO-optimized hero section with detailed descriptions
- Implemented gradient styling matching Vibe Coding Resources page
- Added hero stats and animated code preview window
- Enhanced dark theme consistency across tool pages
*/

:root {
    /* Cyber Sleek Color Palette */
    --accent-primary: #ff6b35;
    --accent-hover: #ff8c42;
    --accent-secondary: #06b6d4;
    --accent-gold: #ffc857;
    
    /* Background Colors */
    --bg-void: #0a0a0f;
    --bg-primary: #0a0a0f;
    --bg-secondary: #1a1a2e;
    --bg-elevated: #1a1a2e;
    --bg-surface: #16213e;
    --bg-card: #1a1a2e;
    --bg-card-gradient: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #888888;
    
    /* Border Colors */
    --border-color: rgba(255, 107, 53, 0.2);
    --border-hover: rgba(255, 107, 53, 0.4);
    --border-subtle: rgba(255, 255, 255, 0.1);
    
    /* Glow Effects */
    --glow-primary: rgba(255, 107, 53, 0.4);
    --glow-secondary: rgba(6, 182, 212, 0.3);
    --glow-gold: rgba(255, 200, 87, 0.3);
    
    /* Legacy support - mapped to new values */
    --accent-blue: #ff6b35;
    --accent-purple: #06b6d4;
    --accent-green: #10b981;
    --hover-bg: #2a2a3e;
    
    /* Layout */
    --content-max: 1200px;
    --container-max: 1500px;
    
    /* Typography */
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Status Colors */
    --success: #10b981;
    --error: #f44336;
    --warning: #ffc107;
    --info: #06b6d4;
    
    /* Glassmorphism */
    --glass-bg: rgba(26, 26, 46, 0.8);
    --glass-border: rgba(255, 107, 53, 0.15);
    --glass-blur: blur(12px);
    
    /* Vibe Coding Resources - Fallback Aliases */
    --vibe-primary: var(--accent-primary, #ff6b35);
    --vibe-primary-hover: var(--accent-hover, #ff8c42);
    --vibe-bg-dark: var(--bg-void, #0a0a0f);
    --vibe-bg-card: var(--bg-card-gradient, linear-gradient(145deg, #1a1a2e 0%, #16213e 100%));
    --vibe-border: var(--border-color, rgba(255, 107, 53, 0.2));
    --vibe-border-hover: var(--border-hover, rgba(255, 107, 53, 0.4));
    --vibe-text: var(--text-secondary, #e0e0e0);
    --vibe-text-muted: var(--text-muted, #888);
    --vibe-success: var(--success, #4caf50);
    --vibe-error: var(--error, #f44336);
    --vibe-warning: var(--warning, #ffc107);
}

/* ============================================
   CYBER SLEEK ANIMATED BACKGROUND SYSTEM
   ============================================ */
.cyber-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-void);
}

.cyber-bg::before,
.cyber-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatOrb 20s ease-in-out infinite;
}

.cyber-bg::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-primary), transparent 70%);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.cyber-bg::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-secondary), transparent 70%);
    bottom: -150px;
    left: -150px;
    animation-delay: -10s;
}

.cyber-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: floatOrb 25s ease-in-out infinite;
}

.cyber-orb--gold {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-gold), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -5s;
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(15px, 15px) scale(1.05);
    }
}

/* Reduced Motion Fallback */
@media (prefers-reduced-motion: reduce) {
    .cyber-bg::before,
    .cyber-bg::after,
    .cyber-orb,
    .header-gradient,
    .header-pattern,
    .header-icon {
        animation: none !important;
    }
    
    .btn::before {
        display: none;
    }
    
    .post-card,
    .grid-item,
    .btn {
        transition: none !important;
    }
}

/* Noise texture overlay for depth */
.cyber-noise {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-void);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
    padding: 0;
}

/* Cyber Sleek Typography - Apply Space Grotesk to all headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Standardized Page Header Styling - AI Community Dashboard Style */
.page-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 4rem 0 3rem;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    border-radius: 15px;
}

.header-gradient {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

.header-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 107, 53, 0.05) 50%, transparent 70%);
    animation: shimmer 10s linear infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.8; transform: translateX(-50%) scale(1.1); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.header-content {
    position: relative;
    z-index: 2;
}

.header-icon {
    margin: 0 auto 2rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    color: var(--accent-primary);
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 0 30px var(--glow-primary);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.page-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.page-description {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Responsive adjustments for page titles */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-description {
        font-size: 1.1rem;
    }
    
    .header-icon {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.6rem;
    }
    
    .page-description {
        font-size: 1rem;
    }
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
}

/* Header Styles - Cyber Sleek Glassmorphism */
.site-header {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Mobile Navigation Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: rgba(255, 107, 53, 0.1);
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile Menu Animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.site-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    line-height: 1.2;
    margin: 0;
}

.site-title a {
    color: inherit;
    text-decoration: none;
}

.main-navigation {
    position: relative;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    display: block;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.main-navigation a:hover {
    color: var(--accent-primary);
}

/* Dropdown Menu Styles */
.main-navigation ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px var(--glow-primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    min-width: 220px;
    padding: 0.5rem 0;
    flex-direction: column;
    gap: 0;
}

.main-navigation li:hover > ul,
.main-navigation li.dropdown-open > ul,
.main-navigation li.hovering > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation ul ul li {
    width: 100%;
    position: relative;
}

.main-navigation ul ul a {
    padding: 0.75rem 1.25rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    white-space: nowrap;
    position: relative;
}

.main-navigation ul ul li:last-child a {
    border-bottom: none;
}

.main-navigation ul ul a:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 140, 66, 0.1));
    color: var(--accent-primary);
    padding-left: 1.5rem;
    transform: translateX(5px);
}

.main-navigation ul ul a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-navigation ul ul a:hover::before {
    opacity: 1;
}

/* Multi-level dropdowns */
.main-navigation ul ul ul {
    top: 0;
    left: 100%;
    margin-left: 10px;
}

.main-navigation ul ul li.menu-item-has-children::after {
    content: '▶';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.main-navigation ul ul li.menu-item-has-children:hover::after {
    color: var(--accent-primary);
}

/* Parent menu item indicator */
.main-navigation li.menu-item-has-children > a::after {
    content: '▼';
    margin-left: 0.5rem;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.main-navigation li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
    opacity: 1;
}

/* Smooth animation for menu items */
.main-navigation li.menu-item-has-children > a {
    transition: all 0.3s ease;
}

.main-navigation li.menu-item-has-children:hover > a {
    color: var(--accent-primary);
    transform: translateY(-1px);
}

/* Support for wp_page_menu fallback */
.main-navigation .page_item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.main-navigation .page_item a:hover,
.main-navigation .current_page_item > a {
    color: var(--accent-primary);
}

/* Main Content Layout */
.main-content {
    padding: 4rem 0 2.5rem 0;
    min-height: 70vh;
}

.content-wrapper {
    max-width: var(--content-max);
    margin: 0 auto;
    width: 100%;
}

/* Content Styling */
.entry-content,
.page-content {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

/* Full Width Content Options */
.full-width-page .container,
.full-width-page .content-wrapper,
.full-width-page .entry-content,
.full-width-page .page-content {
    max-width: none;
    width: 100%;
}

.full-width-page .entry-content,
.full-width-page .page-content {
    padding: 0 20px;
}

/* Container Width Override Classes */
.container-full {
    max-width: none !important;
    width: 100% !important;
}

.container-wide {
    max-width: 1800px !important;
}

.container-extra-wide {
    max-width: 2000px !important;
}

.content-full {
    max-width: none !important;
    width: 100% !important;
}

.content-wide {
    max-width: 1600px !important;
}

.content-extra-wide {
    max-width: 1800px !important;
}

/* Flexible Padding Classes */
.no-padding {
    padding: 0 !important;
}

.padding-small {
    padding: 0 10px !important;
}

.padding-medium {
    padding: 0 20px !important;
}

.padding-large {
    padding: 0 40px !important;
}

.padding-extra-large {
    padding: 0 60px !important;
}

/* Full Width Sections */
.section-full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 40px 20px;
}

/* Breakout Content */
.breakout-content {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0;
}

.breakout-content > * {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 40px;
}

.breakout-content.full > * {
    max-width: none;
    padding: 0 20px;
}

/* Container Variants */
.container-fluid {
    max-width: none;
    padding: 0 15px;
    width: 100%;
}

/* FIX: Ensure forms display properly */
.entry-content form,
.page-content form {
    width: 100%;
    max-width: 100%;
    overflow: visible; /* Important fix */
}

/* FIX: Prevent image overflow issues */
.entry-content img,
.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
    overflow: hidden; /* Prevent overflow */
}

/* Ensure images without specific alignment behave normally */
.entry-content img:not(.alignleft):not(.alignright):not(.aligncenter),
.page-content img:not(.alignleft):not(.alignright):not(.aligncenter) {
    display: block;
}

/* FIX: Ensure WPForms elements display properly */
.wpforms-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

.wpforms-field {
    clear: both !important;
    overflow: visible !important;
}

/* FIX: Prevent form field layout issues */
.wpforms-field-container,
.wpforms-field-row {
    display: block !important;
    width: 100% !important;
    clear: both !important;
}

/* Single Post and Page Headers */
.entry-header,
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: var(--content-max);
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px;
}

.entry-title,
.page-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    line-height: 1.1;
}

.entry-meta {
    color: var(--text-secondary);
    font-size: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Featured Image */
.featured-image {
    text-align: center;
    margin: 2.5rem auto;
    max-width: var(--content-max);
    padding: 0 40px;
}

.featured-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    max-height: 500px;
    object-fit: cover;
}

/* Typography */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    color: var(--text-primary);
    margin: 2.5rem 0 1.2rem 0;
    line-height: 1.2;
    width: 100%;
}

.entry-content h1,
.page-content h1 { font-size: 2.2rem; }
.entry-content h2,
.page-content h2 { font-size: 1.9rem; }
.entry-content h3,
.page-content h3 { font-size: 1.6rem; }
.entry-content h4,
.page-content h4 { font-size: 1.4rem; }
.entry-content h5,
.page-content h5 { font-size: 1.2rem; }
.entry-content h6,
.page-content h6 { font-size: 1.1rem; }

.entry-content p,
.page-content p {
    margin: 1.5rem 0;
    color: var(--text-primary);
    line-height: 1.7;
    width: 100%;
    font-size: 1.1rem;
}

/* Lists */
.entry-content ul,
.entry-content ol,
.page-content ul,
.page-content ol {
    margin: 1.5rem 0;
    padding-left: 2.5rem;
    color: var(--text-primary);
    width: 100%;
    font-size: 1.1rem;
}

.entry-content li,
.page-content li {
    margin: 0.8rem 0;
    color: var(--text-primary);
}

/* Blockquotes */
.entry-content blockquote,
.page-content blockquote {
    border-left: 4px solid var(--accent-primary);
    margin: 2.5rem 0;
    padding: 1.5rem 2.5rem;
    background: var(--bg-secondary);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--text-secondary);
    width: 100%;
    font-size: 1.2rem;
}

/* Images and Media */
.entry-content figure,
.page-content figure {
    margin: 2.5rem 0;
    text-align: center;
    width: 100%;
    overflow: hidden; /* Prevent overflow */
}

.entry-content figcaption,
.page-content figcaption {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 0.8rem;
    font-style: italic;
}

/* WordPress Image Alignment Classes */
.aligncenter {
    display: block;
    margin: 1.5rem auto;
    text-align: center;
    clear: both;
}

.alignleft {
    float: left;
    margin: 0.5rem 1.5rem 1.5rem 0;
    clear: left;
}

.alignright {
    float: right;
    margin: 0.5rem 0 1.5rem 1.5rem;
    clear: right;
}

.alignnone {
    margin: 1.5rem 0;
    clear: both;
}

/* WordPress Block Image Alignment */
.wp-block-image.aligncenter {
    text-align: center;
    margin: 2rem auto;
}

.wp-block-image.alignleft {
    float: left;
    margin: 0.5rem 2rem 1.5rem 0;
}

.wp-block-image.alignright {
    float: right;
    margin: 0.5rem 0 1.5rem 2rem;
}

/* Center aligned images within figures */
figure.aligncenter {
    margin: 2rem auto;
    text-align: center;
}

figure.alignleft {
    float: left;
    margin: 0.5rem 2rem 1.5rem 0;
}

figure.alignright {
    float: right;
    margin: 0.5rem 0 1.5rem 2rem;
}

/* Text alignment classes */
.has-text-align-center {
    text-align: center;
}

.has-text-align-left {
    text-align: left;
}

.has-text-align-right {
    text-align: right;
}

/* WordPress Block Editor Support */
.wp-block-image {
    margin: 1.5rem 0;
}

.wp-block-image img {
    display: block;
    max-width: 100%;
    height: auto;
}

.wp-block-image.is-style-rounded img {
    border-radius: 50%;
}

.wp-block-image.size-large,
.wp-block-image.size-full {
    max-width: 100%;
}

/* WordPress Gallery Blocks */
.wp-block-gallery {
    margin: 2rem 0;
}

.wp-block-gallery.aligncenter {
    text-align: center;
    margin: 2rem auto;
}

/* Classic Editor Image Captions */
.wp-caption {
    max-width: 100%;
    margin: 1.5rem 0;
}

.wp-caption.aligncenter {
    margin: 1.5rem auto;
    text-align: center;
}

.wp-caption.alignleft {
    float: left;
    margin: 0.5rem 1.5rem 1.5rem 0;
}

.wp-caption.alignright {
    float: right;
    margin: 0.5rem 0 1.5rem 1.5rem;
}

.wp-caption-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-align: center;
    font-style: italic;
}

/* Tables */
.entry-content table,
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2.5rem 0;
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    font-size: 1rem;
}

.entry-content th,
.entry-content td,
.page-content th,
.page-content td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.entry-content th,
.page-content th {
    background: var(--bg-card);
    font-weight: 600;
    color: var(--text-primary);
}

/* Code Blocks */
.entry-content pre,
.page-content pre {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2.5rem 0;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    color: var(--text-secondary);
    width: 100%;
    font-size: 0.9rem;
}

.entry-content code,
.page-content code {
    background: var(--bg-secondary);
    padding: 0.2rem 0.6rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    color: var(--accent-primary);
    font-size: 0.9rem;
}

/* WordPress Blocks Support */
.wp-block-group,
.wp-block-cover {
    margin: 2.5rem 0;
    width: 100%;
}

.wp-block-columns {
    display: flex;
    gap: 2.5rem;
    margin: 2.5rem 0;
    width: 100%;
    flex-wrap: wrap; /* FIX: Allow columns to wrap if needed */
}

.wp-block-column {
    flex: 1;
    min-width: 0; /* FIX: Allow columns to shrink */
}

.wp-block-button {
    margin: 1.5rem 0;
}

.wp-block-button .wp-block-button__link {
    background: var(--accent-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.wp-block-button .wp-block-button__link:hover {
    background: var(--accent-secondary);
}

/* Post Grid for Homepage and Blog Pages */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
    max-width: var(--content-max);
    margin-left: auto;
    margin-right: auto;
}

.post-card {
    background: var(--bg-card-gradient);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 30px var(--glow-primary);
    border-color: var(--border-hover);
}

.post-thumbnail {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.post-content {
    padding: 2rem;
}

.post-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.post-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.post-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.post-title a:hover {
    color: var(--accent-primary);
}

.post-excerpt {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.read-more {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.read-more:hover {
    color: var(--accent-secondary);
}

/* Entry Footer */
.entry-footer {
    max-width: var(--content-max);
    margin: 2.5rem auto 0;
    padding: 0 40px;
    color: var(--text-secondary);
}

.cat-links,
.tags-links {
    display: block;
    margin: 0.8rem 0;
    color: var(--text-secondary);
}

.cat-links a,
.tags-links a {
    color: var(--accent-primary);
    text-decoration: none;
    margin-right: 0.4rem;
}

/* Pagination */
.navigation.pagination {
    text-align: center;
    margin: 3rem 0;
}

.page-numbers {
    display: inline-block;
    padding: 0.7rem 1.3rem;
    margin: 0 0.4rem;
    background: var(--bg-card);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--accent-primary);
    color: white;
}

/* Footer - Cyber Sleek */
.site-footer {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

/* Follow Me Section */
.follow-section {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.follow-section h3 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    max-width: 450px;
    margin: 0 auto;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.social-link svg {
    width: 24px;
    height: 24px;
    color: white;
    z-index: 2;
    position: relative;
}

.social-link.twitter {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

.social-link.github {
    background: linear-gradient(135deg, #333, #24292e);
}

.social-link.email {
    background: linear-gradient(135deg, var(--accent-green), #0d8f72);
}

.social-link.youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

.social-link:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 20px var(--glow-primary);
}

/* Footer Widgets */
.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 2.5rem;
    max-width: var(--content-max);
    margin-left: auto;
    margin-right: auto;
}

.widget {
    color: var(--text-secondary);
}

.widget h3,
.widget-title {
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget li {
    margin-bottom: 0.7rem;
    padding: 0;
}

.widget a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.widget a:hover {
    color: var(--accent-primary);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0.4rem 0;
}

.footer-bottom a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

/* ADMIN PANEL SPECIFIC STYLES */
/* Grid Layout for Homepage */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 20px;
    margin-top: 30px;
    max-width: var(--content-max);
    margin-left: auto;
    margin-right: auto;
}

.grid-item {
    background: var(--bg-card-gradient);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border-color);
}

.grid-item.clickable {
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.grid-item.clickable:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 20px var(--glow-primary);
    border-color: var(--border-hover);
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 20px var(--glow-primary);
    border-color: var(--border-hover);
}

.grid-item-image {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    position: relative;
}

.grid-item-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.grid-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.grid-item-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.3;
    color: var(--light-text);
}

.grid-item-excerpt {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    flex-grow: 1;
    margin-bottom: 15px;
}

.grid-item-source {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

/* Source specific styling */
.source-reddit {
    background-color: #ff4500;
    color: white;
}

.source-twitter {
    background-color: #1da1f2;
    color: white;
}

.source-news {
    background-color: #2ecc71;
    color: white;
}

.source-bg-reddit {
    background: linear-gradient(45deg, #ff4500, #ff7e53);
}

.source-bg-twitter {
    background: linear-gradient(45deg, #1da1f2, #5cc8ff);
}

.source-bg-news {
    background: linear-gradient(45deg, #2ecc71, #6deca1);
}

/* Flipped hover effects - normal state shows dark, hover shows platform colors */
.grid-item.source-reddit {
    background-color: var(--card-bg); /* Dark by default */
}

.grid-item.source-reddit:hover {
    background-color: #ff4500; /* Bright Reddit orange on hover */
}

.grid-item.source-twitter {
    background-color: var(--card-bg); /* Dark by default */
}

.grid-item.source-twitter:hover {
    background-color: #1da1f2; /* Bright Twitter blue on hover */
}

.grid-item.source-news {
    background-color: var(--card-bg); /* Dark by default */
}

.grid-item.source-news:hover {
    background-color: #2ecc71; /* Bright news green on hover */
}

/* Filter Controls */
.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    max-width: var(--content-max);
    margin-left: auto;
    margin-right: auto;
}

/* Enhanced Filter Buttons */
.filter-button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    font-weight: 500;
    outline: none;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.filter-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.2), transparent);
    transition: left 0.5s;
}

.filter-button:hover::before {
    left: 100%;
}

.filter-button:hover {
    background: rgba(255, 107, 53, 0.2);
    transform: translateY(-3px);
    border-color: var(--accent-primary);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.filter-button.active {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* Admin Panel Styles */
.admin-panel {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    max-width: var(--content-max);
    margin-left: auto;
    margin-right: auto;
}

.admin-panel h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--light-text);
}

.form-control {
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(0, 0, 0, 0.2);
    color: var(--light-text);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(56, 182, 255, 0.2);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-col {
    flex: 1;
}

.notification {
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
    display: none;
}

.notification.success {
    background-color: rgba(35, 209, 96, 0.2);
    border: 1px solid var(--success);
    color: var(--success);
}

.notification.error {
    background-color: rgba(255, 56, 96, 0.2);
    border: 1px solid var(--error);
    color: var(--error);
}

.notification.info {
    background-color: rgba(255, 107, 53, 0.2);
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
}

/* SEO Description Styling */
.seo-description {
    text-align: center;
    margin-bottom: 2rem;
}

.seo-description p {
    text-align: justify;
    text-justify: inter-word;
    font-weight: 400;
    opacity: 0.9;
    border-left: 3px solid var(--accent-primary);
    padding: 1.5rem;
    margin: 0 auto 1.5rem;
    background: rgba(26, 26, 26, 0.3);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

.seo-description p:last-child {
    margin-bottom: 0;
}

/* Preview Panel */
.preview-panel {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-title {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Saved Links Section */
.saved-links {
    margin-top: 40px;
    max-width: var(--content-max);
    margin-left: auto;
    margin-right: auto;
}

.saved-links h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.links-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.links-table th,
.links-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.links-table th {
    color: var(--primary-color);
    font-weight: 500;
}

.links-table tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.url-cell {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Grid Management Styles */
.grid-management {
    margin-top: 40px;
    max-width: var(--content-max);
    margin-left: auto;
    margin-right: auto;
}

.grid-item-management {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.grid-position-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.grid-position-card:hover {
    background-color: var(--card-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.grid-position-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
}

.current-content {
    margin-bottom: 15px;
    font-size: 14px;
}

.current-content-title {
    font-weight: 500;
    margin-bottom: 5px;
}

.content-actions {
    display: flex;
    gap: 10px;
}

.source-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 10px;
}

/* Cyber Sleek Button System */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
    color: white;
    box-shadow: 0 4px 15px var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--glow-primary), 0 0 30px var(--glow-primary);
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-gold));
    color: white;
    text-decoration: none;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: 0 0 0 rgba(255, 107, 53, 0.3);
}

.btn-outline:hover {
    background-color: var(--accent-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px var(--glow-primary);
    text-decoration: none;
}

.btn-danger {
    background: linear-gradient(135deg, var(--error), #e03856);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 127, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #e03856, #dc2626);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 127, 0.4);
    color: white;
    text-decoration: none;
}

.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    color: white;
    text-decoration: none;
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    color: white;
    text-decoration: none;
}

.btn-info {
    background: linear-gradient(135deg, var(--accent-secondary), #0891b2);
    color: white;
    box-shadow: 0 4px 15px var(--glow-secondary);
}

.btn-info:hover {
    background: linear-gradient(135deg, #0891b2, #0e7490);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--glow-secondary), 0 0 20px var(--glow-secondary);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--border-color);
    color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn:disabled,
.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn:disabled:hover,
.btn-disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Form Input Buttons */
input[type="submit"],
input[type="button"],
input[type="reset"],
button:not([class]) {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
button:not([class]):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, var(--accent-hover, #ff8c42), var(--accent-secondary));
    color: white;
    text-decoration: none;
}

/* WordPress Default Button Classes */
.wp-block-button__link {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, var(--accent-hover, #ff8c42), var(--accent-secondary));
    color: white !important;
    text-decoration: none;
}

/* Contact Form 7 & WPForms Button Override */
.wpcf7-submit,
.wpforms-submit {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.wpcf7-submit:hover,
.wpforms-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, var(--accent-hover, #ff8c42), var(--accent-secondary)) !important;
    color: white !important;
    text-decoration: none;
}

/* Additional Button Utility Classes */
.btn-rounded {
    border-radius: 50px;
}

.btn-square {
    border-radius: 0;
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-group .btn {
    margin: 0;
}

/* Tab and Toggle Button Styles */
.tab-btn,
.toggle-btn,
.view-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: 1px solid rgba(255, 107, 53, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
}

.tab-btn::before,
.toggle-btn::before,
.view-filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.2), transparent);
    transition: left 0.5s;
}

.tab-btn:hover::before,
.toggle-btn:hover::before,
.view-filter-btn:hover::before {
    left: 100%;
}

.tab-btn:hover,
.toggle-btn:hover,
.view-filter-btn:hover {
    background: rgba(255, 107, 53, 0.2);
    color: white;
    border-color: var(--accent-primary);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.tab-btn.active,
.toggle-btn.active,
.view-filter-btn.active {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* Admin Panel Button Overrides */
.admin-nav-buttons .btn {
    margin: 0.25rem;
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.fab:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.6);
}

/* FIX: WPForms specific overrides */
.wpforms-container .wpforms-field input[type=text],
.wpforms-container .wpforms-field input[type=email],
.wpforms-container .wpforms-field input[type=tel],
.wpforms-container .wpforms-field textarea,
.wpforms-container .wpforms-field select {
    max-width: 100% !important;
    width: 100% !important;
}

.wpforms-container .wpforms-submit-container {
    clear: both !important;
}

.wpforms-container button[type=submit] {
    background-color: var(--accent-primary) !important;
    color: white !important;
    padding: 1rem 2rem !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: background 0.3s ease !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    border: none !important;
}

.wpforms-container button[type=submit]:hover {
    background-color: var(--accent-secondary) !important;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 25px;
    }
    
    .entry-content,
    .page-content,
    .entry-header,
    .page-header,
    .featured-image,
    .entry-footer {
        padding: 0 30px;
    }
    
    .posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
    
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header-content {
        padding: 0 20px;
        position: relative;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: block;
        order: 3;
    }
    
    /* Mobile Navigation */
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-top: 1px solid var(--border-color);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
    }
    
    .main-navigation.active {
        max-height: 400px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 20px;
    }
    
    .main-navigation li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-navigation li:last-child {
        border-bottom: none;
    }
    
    .main-navigation a {
        padding: 1rem 0;
        font-size: 1.1rem;
        display: block;
        width: 100%;
        text-align: left;
        white-space: normal;
    }
    
    /* Mobile Dropdown Styles */
    .main-navigation ul ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(26, 26, 26, 0.95);
        border: none;
        border-radius: 0;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .main-navigation li.menu-item-has-children.mobile-open > ul {
        max-height: 300px;
    }
    
    .main-navigation ul ul a {
        padding: 0.75rem 2rem;
        font-size: 1rem;
        color: var(--text-secondary);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        background: transparent;
        transform: none;
    }
    
    .main-navigation ul ul a:hover {
        background: rgba(255, 107, 53, 0.1);
        padding-left: 2.25rem;
    }
    
    .main-navigation li.menu-item-has-children > a {
        position: relative;
        padding-right: 3rem;
    }
    
    .main-navigation li.menu-item-has-children > a::after {
        content: '▼';
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
        font-size: 0.9rem;
    }
    
    .main-navigation li.menu-item-has-children.mobile-open > a::after {
        transform: translateY(-50%) rotate(180deg);
    }
    
    .main-navigation ul ul li.menu-item-has-children::after {
        display: none;
    }

    /* Rest of existing mobile styles */
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .grid-container {
        grid-template-columns: 1fr;
    }
    
    .entry-title,
    .page-title {
        font-size: 1.9rem;
    }
    
    .entry-content,
    .page-content,
    .entry-header,
    .page-header,
    .featured-image,
    .entry-footer {
        padding: 0 20px;
    }
    
    .wp-block-columns {
        flex-direction: column;
    }
    
    .alignleft,
    .alignright,
    .aligncenter {
        float: none;
        margin: 1rem auto;
        display: block;
        max-width: 100%;
        text-align: center;
    }
    
    .social-links {
        gap: 1.2rem;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
    }
    
    .social-link svg {
        width: 20px;
        height: 20px;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .grid-item-management {
        grid-template-columns: repeat(2, 1fr);
    }

    /* FIX: Ensure forms are properly styled on mobile */
    .wpforms-container .wpforms-field {
        width: 100% !important;
        clear: both !important;
    }
    
    /* Table Responsiveness */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table-responsive table {
        min-width: 600px;
    }
    
    /* Admin Tables */
    .users-table-container {
        overflow-x: auto;
    }
    
    .users-table {
        min-width: 700px;
    }
    
    /* Form Elements */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="search"],
    select,
    textarea {
        font-size: 16px; /* Prevent zoom on iOS */
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Button Improvements */
    .btn {
        padding: 14px 20px;
        font-size: 1rem;
        min-height: 48px; /* Touch-friendly */
    }
    
    .btn-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-group .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 0 15px;
    }
    
    .site-title {
        font-size: 1.3rem;
    }
    
    .main-navigation ul {
        padding: 1rem 15px;
    }
    
    .main-navigation a {
        font-size: 1rem;
    }
    
    .entry-content,
    .page-content {
        padding: 0 15px;
    }
    
    .entry-title,
    .page-title {
        font-size: 1.5rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
    
    .grid-item-management {
        grid-template-columns: 1fr;
    }
    
    /* Typography adjustments */
    .entry-content h1,
    .page-content h1 { font-size: 1.8rem; }
    .entry-content h2,
    .page-content h2 { font-size: 1.6rem; }
    .entry-content h3,
    .page-content h3 { font-size: 1.4rem; }
    .entry-content h4,
    .page-content h4 { font-size: 1.2rem; }
    
    /* Form improvements */
    .btn {
        padding: 12px 16px;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    .btn-lg {
        padding: 16px 24px;
        font-size: 1rem;
    }
    
    /* Better touch targets */
    .mobile-menu-toggle {
        padding: 0.75rem;
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Card adjustments */
    .action-card,
    .platform-display-card,
    .platform-link-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Filter buttons */
    .platform-filter-button {
        padding: 10px 16px;
        font-size: 0.9rem;
        min-height: 44px;
    }
}

/* Debug Panel Styles (for development) */
.debug-panel {
    position: fixed;
    top: 30px;
    right: 20px;
    z-index: 9999;
    max-width: 350px;
    background: #333;
    border: 1px solid #666;
    border-radius: 8px;
    padding: 15px;
    display: none;
}

/* Enhanced Debug Toggle Button */
.debug-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9998;
    padding: 12px 20px;
    background: linear-gradient(135deg, #374151, #1f2937);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    opacity: 0.4;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.debug-toggle-btn:hover {
    opacity: 1;
    transform: translateY(-2px);
    background: linear-gradient(135deg, #4b5563, #374151);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Screen Reader Text */
.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0 !important;
    border: 0 !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden;
}

/* WordPress Core Styles */
.wp-post-image {
    width: 100%;
    height: auto;
}

.sticky {
    border-left: 4px solid var(--accent-primary);
    padding-left: 1rem;
}

/* Clear floats */
.entry-content:after,
.page-content:after {
    content: "";
    display: table;
    clear: both;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* FIX: Specific fixes for various elements */
input,
select,
textarea {
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

/* Platform Links Styles */
.csv-import-section,
.manual-add-section {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.csv-import-section h3,
.manual-add-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.form-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Platform Tabs */
.platform-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.platform-tab {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    outline: none;
}

.platform-tab:hover {
    background-color: var(--card-hover);
    transform: translateY(-2px);
}

.platform-tab.active {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(56, 182, 255, 0.3);
}

/* Platform Filter Controls (for display page) */
.platform-filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 25px 0;
    max-width: var(--content-max);
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

/* Enhanced Platform Filter Buttons */
.platform-filter-button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: rgba(255, 255, 255, 0.8);
    padding: 14px 28px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    font-weight: 500;
    outline: none;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.platform-filter-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.2), transparent);
    transition: left 0.5s;
}

.platform-filter-button:hover::before {
    left: 100%;
}

.platform-filter-button:hover {
    background: rgba(255, 107, 53, 0.2);
    transform: translateY(-3px);
    border-color: var(--accent-primary);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.platform-filter-button.active {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

/* Platform Links Grid */
.platform-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

.platform-link-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.platform-link-card:hover {
    background-color: var(--card-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.platform-link-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.platform-icon {
    font-size: 1.2rem;
    margin-right: 8px;
}

.platform-name {
    font-weight: 600;
    margin-right: 8px;
}

.account-name {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.date-published,
.date-added {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.platform-link-content {
    margin: 15px 0;
}

.link-title {
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.4;
}

.link-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-title a:hover {
    color: var(--primary-color);
}

.platform-link-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Platform Display Grid (for display page) */
.platform-display-container {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 20px;
}

.platform-display-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.platform-display-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.platform-display-card:hover {
    background-color: var(--card-hover);
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.platform-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.platform-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.account-separator {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.publish-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

.platform-card-content {
    margin: 20px 0;
}

.display-link-title {
    font-size: 1.3rem;
    margin: 0;
    line-height: 1.4;
    font-weight: 600;
}

.display-link-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.display-link-title a:hover {
    color: var(--primary-color);
}

.platform-card-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.view-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.view-link-btn:hover {
    color: var(--secondary-color);
    transform: translateX(3px);
}

.view-link-btn svg {
    transition: transform 0.3s ease;
}

.view-link-btn:hover svg {
    transform: rotate(45deg);
}

/* No Content Messages */
.no-links-message,
.no-content-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    grid-column: 1 / -1;
}

.no-links-message h3,
.no-content-message h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
    padding: 20px;
}

#page-info {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Load More Container */
.load-more-container {
    margin: 40px 0;
    text-align: center;
}

#loading-indicator {
    color: var(--text-secondary);
    font-style: italic;
}

/* Platform Links Section on Homepage */
.platform-links-section {
    max-width: var(--content-max);
    margin: 40px auto;
    padding: 0 20px;
}

.platform-links-section h2 {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.homepage-platform-card {
    transition: all 0.3s ease;
}

.homepage-platform-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

/* Enhanced Admin Panel Navigation */
.admin-panel-nav {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-panel-nav h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.admin-nav-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.admin-nav-buttons .btn {
    padding: 10px 20px;
    font-size: 0.95rem;
}

/* Responsive Design for Platform Links */
@media (max-width: 768px) {
    .platform-tabs {
        justify-content: center;
    }
    
    .platform-tab {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .platform-filter-controls {
        justify-content: center;
    }
    
    .platform-filter-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .platform-display-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .platform-display-card {
        padding: 20px;
    }
    
    .platform-link-header,
    .platform-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .platform-info {
        flex-wrap: wrap;
    }
    
    .display-link-title {
        font-size: 1.2rem;
    }
    
    .pagination-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .admin-nav-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .platform-tabs {
        gap: 8px;
    }
    
    .platform-tab {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .platform-filter-button {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .platform-display-card,
    .platform-link-card {
        padding: 15px;
    }
    
    .display-link-title {
        font-size: 1.1rem;
    }
    
    .link-title {
        font-size: 1.1rem;
    }
    
    .admin-nav-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .admin-nav-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .social-links,
    .admin-panel,
    .debug-panel,
    .platform-tabs,
    .platform-filter-controls,
    .pagination-container,
    .load-more-container,
    .mobile-menu-toggle {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .platform-display-card,
    .platform-link-card {
        border: 1px solid #ccc;
        break-inside: avoid;
        margin-bottom: 20px;
    }
}

/* ============================================================================
   COMPREHENSIVE MOBILE OPTIMIZATIONS
   ============================================================================ */

/* Base mobile improvements */
@media (max-width: 1024px) {
    .container {
        padding: 0 25px;
    }
    
    .entry-content,
    .page-content {
        padding: 0 25px;
    }
    
    /* Improve button sizing for tablets */
    .btn {
        min-height: 44px;
        padding: 12px 24px;
    }
}

/* Enhanced mobile navigation for all screen sizes */
@media (max-width: 768px) {
    /* Ensure header is always visible */
    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(64, 64, 64, 0.8);
    }
    
    /* Add top padding to body to compensate for fixed header */
    body {
        padding-top: 80px;
    }
    
    /* Improve site header spacing */
    .site-header {
        padding: 0.8rem 0;
    }
    
    /* Enhanced mobile navigation visibility */
    .main-navigation {
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(15px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }
    
    .main-navigation ul {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .main-navigation a {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 1.2rem 0;
        font-size: 1.1rem;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .main-navigation a:hover {
        background-color: rgba(255, 107, 53, 0.1);
        color: var(--accent-primary);
        padding-left: 1rem;
    }
    
    /* Mobile content adjustments */
    .main-content {
        padding: 2rem 0;
    }
    
    /* Typography improvements for mobile */
    .page-title {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .page-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    /* Form element improvements */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="search"],
    input[type="url"],
    input[type="tel"],
    input[type="number"],
    input[type="date"],
    select,
    textarea {
        font-size: 16px !important; /* Prevent zoom on iOS */
        min-height: 48px;
        padding: 12px 16px;
        border-radius: 8px;
        width: 100%;
        box-sizing: border-box;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
    
    /* Select dropdown improvements */
    select {
        background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23ffffff" d="M2 0L0 2h4z"/><path fill="%23ffffff" d="M0 3l2 2 2-2z"/></svg>');
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 12px;
        padding-right: 40px;
    }
    
    /* Textarea improvements */
    textarea {
        min-height: 120px;
        resize: vertical;
    }
    
    /* Card responsiveness */
    .action-card,
    .platform-display-card,
    .platform-link-card {
        margin: 0 -15px 1.5rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding: 1.5rem 20px;
    }
    
    /* Grid improvements */
    .posts-grid,
    .platform-display-grid,
    .quick-actions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 0 -15px;
    }
    
    .grid-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Image responsiveness */
    .featured-image,
    .entry-content img,
    .page-content img {
        margin: 1.5rem -20px;
        border-radius: 0;
        width: calc(100% + 40px);
    }
    
    /* Blockquote mobile styling */
    .entry-content blockquote,
    .page-content blockquote {
        margin: 2rem -20px;
        border-radius: 0;
        padding: 1.5rem 20px;
        border-left-width: 6px;
    }
    
    /* Footer improvements */
    .site-footer {
        padding: 2rem 0;
    }
    
    .footer-widgets {
        padding: 0 20px;
    }
    
    /* Pagination mobile improvements */
    .pagination-container {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .page-numbers {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    body {
        padding-top: 70px;
    }
    
    .site-header {
        padding: 0.6rem 0;
    }
    
    .main-content {
        padding: 1.5rem 0;
    }
    
    .page-title {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    
    .page-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Very small screen adjustments */
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 0 15px;
    }
    
    .entry-content,
    .page-content {
        padding: 0 15px;
    }
    
    /* Mobile button improvements */
    .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
        min-height: 48px;
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }
    
    .btn:last-child {
        margin-bottom: 0;
    }
    
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-group .btn {
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }
    
    /* Platform filter buttons */
    .platform-filter-controls {
        gap: 0.5rem;
        margin: 1.5rem -15px;
        padding: 0 15px;
    }
    
    .platform-filter-button {
        padding: 10px 16px;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    /* Card spacing improvements */
    .action-card,
    .platform-display-card,
    .platform-link-card {
        margin: 0 -15px 1rem;
        padding: 1.25rem 15px;
    }
    
    /* Typography adjustments for very small screens */
    .entry-content h1,
    .page-content h1 { font-size: 1.6rem; }
    .entry-content h2,
    .page-content h2 { font-size: 1.4rem; }
    .entry-content h3,
    .page-content h3 { font-size: 1.2rem; }
    .entry-content h4,
    .page-content h4 { font-size: 1.1rem; }
    
    .entry-content p,
    .page-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Image and media adjustments */
    .featured-image,
    .entry-content img,
    .page-content img {
        margin: 1rem -15px;
        width: calc(100% + 30px);
    }
    
    .entry-content blockquote,
    .page-content blockquote {
        margin: 1.5rem -15px;
        padding: 1.25rem 15px;
        font-size: 1.1rem;
    }
}

/* Landscape phone optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    body {
        padding-top: 60px;
    }
    
    .site-header {
        padding: 0.4rem 0;
    }
    
    .site-title {
        font-size: 1.3rem;
    }
    
    .mobile-menu-toggle {
        padding: 0.5rem;
    }
    
    .main-navigation ul {
        max-height: calc(100vh - 60px);
    }
    
    .main-navigation a {
        padding: 0.8rem 0;
        font-size: 1rem;
    }
}

/* Focus and interaction improvements for mobile */
@media (max-width: 768px) {
    /* Larger touch targets */
    a, button, input, select, textarea {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Improve focus visibility on mobile */
    a:focus,
    button:focus,
    input:focus,
    select:focus,
    textarea:focus {
        outline: 3px solid var(--accent-primary);
        outline-offset: 2px;
    }
    
    /* Hover states for touch devices */
    @media (hover: none) {
        .btn:hover,
        .platform-filter-button:hover,
        .action-card:hover {
            transform: none;
        }
        
        .btn:active,
        .platform-filter-button:active {
            transform: scale(0.98);
        }
    }
}

/* Clear All Platform Links Section */
.clear-all-section {
    margin-top: 40px;
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    border-left: 4px solid #f39c12;
}

.clear-all-section h3 {
    color: #856404;
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.clear-all-section p {
    color: #856404;
    margin-bottom: 20px;
    line-height: 1.5;
}

.clear-all-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

#clear-all-confirmation {
    margin-top: 20px;
    padding: 15px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    border-left: 4px solid #dc3545;
}

#clear-all-confirmation p {
    color: #721c24;
    margin-bottom: 15px;
    font-weight: 500;
}

#clear-all-confirmation .btn {
    margin-right: 10px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-danger:disabled {
    background-color: #dc3545;
    border-color: #dc3545;
}

@media (max-width: 768px) {
    .clear-all-controls {
        flex-direction: column;
        align-items: flex-start;
    }
    
    #clear-all-confirmation .btn {
        margin-bottom: 10px;
        width: 100%;
    }
    
    .seo-description {
        max-width: 100% !important;
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }
    
    .seo-description p {
        font-size: 1rem !important;
        padding: 1rem !important;
        margin-bottom: 1rem !important;
        text-align: left;
    }
}

/* Responsive Button Adjustments */
@media (max-width: 768px) {
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .btn-sm {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .btn-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-group .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .fab {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2rem;
    }
    
    .filter-button,
    .platform-filter-button,
    .view-filter-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .debug-toggle-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .auth-buttons,
    .user-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .auth-buttons .btn,
    .user-actions .btn {
        width: 100%;
    }
}
/* ============================================
   AI COMMUNITY STYLES
   Merged from css/ai-community.css
   ============================================ */

/* AI Community Page Styles */

/* Welcome/Success Messages */
.welcome-message-container {
    margin: 20px auto;
    max-width: 800px;
    padding: 0 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.welcome-alert {
    padding: 20px 25px;
    margin-bottom: 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid;
    animation: slideInFromTop 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.welcome-alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: shimmer 2s linear infinite;
    pointer-events: none;
}

.welcome-alert h4 {
    margin: 0 0 12px 0;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.welcome-alert p {
    margin: 0;
    opacity: 0.95;
    line-height: 1.5;
    font-size: 1rem;
}

.welcome-alert.success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05));
    border-color: rgba(34, 197, 94, 0.4);
    color: #10b981;
    box-shadow: 0 8px 32px rgba(34, 197, 94, 0.1);
}

.welcome-alert.info {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 107, 53, 0.05));
    border-color: rgba(255, 107, 53, 0.4);
    color: var(--accent-primary, #ff6b35);
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.1);
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* @keyframes shimmer - REMOVED: duplicate of definition at line 260 */

/* ============================================================================
   USER MANAGEMENT STYLES
   ============================================================================ */

/* Admin Quick Actions */
.admin-quick-actions {
    margin: 2rem 0 4rem;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.action-card {
    background: var(--bg-card-gradient, linear-gradient(145deg, #1a1a2e 0%, #16213e 100%));
    border: 1px solid var(--border-color, rgba(255, 107, 53, 0.2));
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.action-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary, #ff6b35);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2), 0 0 20px var(--glow-primary, rgba(255, 107, 53, 0.4));
}

.action-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.action-card h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.action-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* User Management Section */
.user-management-section {
    margin: 2rem 0;
}

.user-filters {
    background: var(--bg-card-gradient, linear-gradient(145deg, #1a1a2e 0%, #16213e 100%));
    border: 1px solid var(--border-color, rgba(255, 107, 53, 0.2));
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.filter-row {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 1rem;
}

.search-box {
    display: flex;
    flex: 1;
    gap: 1rem;
}

.search-box input {
    flex: 1;
}

.filter-selects {
    display: flex;
    gap: 1rem;
}

.filter-selects select {
    min-width: 150px;
}

.bulk-actions-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.selected-count {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-left: auto;
}

/* Users Table */
.users-table-container {
    background: var(--bg-card-gradient, linear-gradient(145deg, #1a1a2e 0%, #16213e 100%));
    border: 1px solid var(--border-color, rgba(255, 107, 53, 0.2));
    border-radius: 12px;
    overflow: hidden;
}

.table-responsive {
    overflow-x: auto;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    color: white;
}

.users-table th {
    background: rgba(255, 107, 53, 0.15);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--border-color, rgba(255, 107, 53, 0.3));
}

.users-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: middle;
}

.users-table tbody tr:hover {
    background: rgba(255, 107, 53, 0.1);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar img {
    border-radius: 50%;
    border: 2px solid var(--border-color, rgba(255, 107, 53, 0.3));
}

.user-details strong {
    display: block;
    color: white;
    font-weight: 600;
}

.user-details small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.user-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-active {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-suspended {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.user-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.loading-users, .no-users, .error {
    text-align: center;
    padding: 3rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.error {
    color: #ef4444;
}

/* Table Pagination */
.table-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: var(--bg-card-gradient, linear-gradient(145deg, #1a1a2e 0%, #16213e 100%));
    border: 1px solid var(--border-color, rgba(255, 107, 53, 0.3));
    border-radius: 16px;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px var(--glow-primary, rgba(255, 107, 53, 0.2));
}

.modal-content h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.modal-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

.close-modal:hover {
    color: white;
}

.modal-actions {
    display: flex;
    gap: 1.25rem;
    justify-content: flex-end;
    margin-top: 2rem;
    flex-wrap: wrap;
    padding: 2rem 2rem 1.5rem 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(248, 250, 252, 0.8);
    border-radius: 0 0 16px 16px;
    margin-left: -2rem;
    margin-right: -2rem;
    margin-bottom: -1.5rem;
}

.modal-actions .btn {
    min-width: 140px;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.modal-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Specific button styling for user actions */
.modal-actions .btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    color: white;
}

.modal-actions .btn-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none;
    color: white;
}

.modal-actions .btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: none;
    color: white;
}

.modal-actions .btn-outline {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(71, 85, 105, 0.3);
    color: #475569;
    backdrop-filter: blur(10px);
}

.modal-actions .btn-outline:hover {
    background: rgba(71, 85, 105, 0.1);
    border-color: rgba(71, 85, 105, 0.5);
}

/* Admin Messages */
.admin-message {
    padding: 1rem 1.5rem;
    margin: 1rem auto;
    border-radius: 8px;
    max-width: 800px;
    font-weight: 500;
    display: none;
}

.admin-message.alert-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.admin-message.alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.admin-message.alert-warning {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.admin-message.alert-info {
    background: rgba(255, 107, 53, 0.15);
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: var(--accent-primary, #ff6b35);
}

/* Button Variations */
.btn-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.btn-success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
}

.btn-info {
    background: linear-gradient(135deg, var(--accent-secondary, #06b6d4), #0891b2);
    color: white;
    border: none;
}

.btn-info:hover {
    background: linear-gradient(135deg, #0891b2, #0e7490);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Welcome Message Container Mobile Fixes */
    .welcome-message-container {
        margin: 10px auto;
        max-width: 100%;
        padding: 0 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .welcome-alert {
        padding: 15px 20px;
        margin-bottom: 20px;
        border-radius: 8px;
        margin: 0 -15px 20px;
        border-left: none;
        border-right: none;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .welcome-alert h4 {
        font-size: 1rem;
        margin-bottom: 8px;
        flex-wrap: wrap;
    }
    
    .welcome-alert p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* User Dashboard Mobile Fixes */
    .user-dashboard {
        padding: 1.5rem 1rem;
        margin: 0 -15px 2rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 96%;
        max-width: 96%;
    }

    .welcome-message {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        text-align: center;
    }
    
    .welcome-message h3 {
        font-size: 1rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        width: 100%;
        text-align: center;
    }
    
    /* User Stats Mobile Layout */
    .user-stats {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin: 1rem 0;
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    
    .stat-item {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 300px;
    }
    
    /* User Actions Mobile Layout */
    .user-actions {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    
    .user-actions .btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 20px;
        font-size: 0.95rem;
        justify-content: center;
    }
    
    /* Dashboard Stats Mobile Grid */
    .dashboard-stats {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin: 1.5rem -15px;
        padding: 0 15px;
    }
    
    .stat-card {
        padding: 1rem;
        margin-bottom: 0;
    }
    
    .stat-number {
        font-size: 2rem;
        margin-bottom: 0.3rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Dashboard Content Mobile */
    .dashboard-content {
        margin: 1.5rem -15px 0;
        padding: 0 15px;
    }
    
    .submissions-list-card {
        border-radius: 0;
        border-left: none;
        border-right: none;
        margin: 0 -15px;
    }
    
    .card-header {
        padding: 1rem 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .filter-tabs {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .filter-tab {
        flex: 1;
        min-width: 80px;
        text-align: center;
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .submissions-list {
        padding: 1rem 15px;
        max-height: 400px;
    }
    
    .quick-actions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 0 -15px;
        padding: 0 15px;
    }
    
    .action-card {
        padding: 1.5rem;
        margin: 0.5rem 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .action-icon {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    .action-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.4rem;
    }
    
    .action-card p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .filter-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-box {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .filter-selects {
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .filter-selects select {
        min-width: auto;
        width: 100%;
    }
    
    .bulk-actions-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .selected-count {
        margin-left: 0;
        text-align: center;
    }
    
    /* Table responsiveness improvements */
    .users-table-container {
        margin: 0 -15px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .users-table {
        font-size: 0.85rem;
        min-width: 700px;
    }
    
    .users-table th,
    .users-table td {
        padding: 0.6rem 0.4rem;
        white-space: nowrap;
    }
    
    .users-table th:first-child,
    .users-table td:first-child {
        position: sticky;
        left: 0;
        background: var(--bg-secondary);
        z-index: 1;
    }
    
    .user-actions {
        flex-direction: column;
        gap: 0.25rem;
        min-width: 120px;
    }
    
    .user-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .table-pagination {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1rem;
    }
    
    /* Welcome message improvements */
    .welcome-message-container {
        margin: 10px auto;
        padding: 0 15px;
    }
    
    .welcome-alert {
        padding: 15px 20px;
        margin-bottom: 20px;
    }
    
    .welcome-alert h4 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .welcome-alert p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* User filters improvements */
    .user-filters {
        padding: 1.5rem;
        margin: 0 -15px 1rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    /* Form elements */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 12px 16px;
        min-height: 48px;
    }
    
    .btn {
        min-height: 48px;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .btn-sm {
        min-height: 40px;
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* Override theme background for AI Community pages */
body.page-template-page-ai-community,
body.page-template-page-platform-links {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3a 50%, #0f0f23 100%) !important;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Override any site wrapper backgrounds */
body.page-template-page-ai-community .site,
body.page-template-page-platform-links .site,
body.page-template-page-ai-community #page,
body.page-template-page-platform-links #page {
    background: transparent !important;
}

.ai-community-page {
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3a 50%, #0f0f23 100%);
    position: relative;
    overflow-x: hidden;
}

.ai-community-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%233b82f6" fill-opacity="0.03"><circle cx="30" cy="30" r="1"/></g></svg>') repeat;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 4rem 0 3rem;
    position: relative;
    border-bottom: 1px solid var(--border-color, rgba(255, 107, 53, 0.2));
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.header-gradient {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

.header-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 107, 53, 0.05) 50%, transparent 70%);
    animation: shimmer 10s linear infinite;
}

/* @keyframes pulse - REMOVED: duplicate of definition at line 255 */
/* @keyframes shimmer - REMOVED: duplicate of definition at line 260 */

.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Force proper layout for title and description */
.ai-community-page .header-content {
    display: block !important;
}

.ai-community-page .header-content .page-title {
    display: block !important;
    width: 100% !important;
    clear: both !important;
    margin: 0 auto 1rem !important;
}

.ai-community-page .header-content .page-description {
    display: block !important;
    width: 100% !important;
    clear: both !important;
    margin: 0 auto 2rem !important;
}

.header-icon {
    margin: 0 auto 2rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-primary, #ff6b35), var(--accent-hover, #ff8c42));
    border-radius: 20px;
    color: white;
    box-shadow: 0 20px 40px var(--glow-primary, rgba(255, 107, 53, 0.3));
    animation: float 6s ease-in-out infinite;
}

/* @keyframes float - REMOVED: duplicate of definition at line 286 */

/* AI Community Page Specific Styles */
.ai-community-page .page-title {
    font-family: var(--font-heading, 'Space Grotesk', sans-serif);
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary, #ff6b35), var(--accent-hover, #ff8c42), var(--accent-gold, #ffc857));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.ai-community-page .page-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.5;
    text-align: center;
    display: block;
    font-weight: 400;
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.header-stats .stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color, rgba(255, 107, 53, 0.3));
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-width: 140px;
}

.header-stats .stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-primary, #ff6b35);
    box-shadow: 0 10px 30px var(--glow-primary, rgba(255, 107, 53, 0.2));
}

.header-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary, #ff6b35);
    margin-bottom: 0.5rem;
}

.header-stats .stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Authentication Section */
.auth-section {
    margin-bottom: 4rem;
}

.login-prompt {
    background: var(--bg-card-gradient, linear-gradient(145deg, #1a1a2e 0%, #16213e 100%));
    border: 1px solid var(--border-color, rgba(255, 107, 53, 0.3));
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.login-prompt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    animation: shimmer 3s linear infinite;
    pointer-events: none;
}

.login-prompt h3 {
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.login-prompt p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.auth-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* Modal Styles */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-modal-content {
    background: var(--bg-card);
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--text-primary);
}

.auth-form-container h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--accent-primary, #ff6b35);
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-primary, #ff6b35);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.form-group select {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    width: 100%;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23ffffff" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 40px;
}

.form-group select:focus {
    outline: none;
    border-color: var(--accent-primary, #ff6b35);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 8px 12px;
}

.form-group small {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* ============================================
   CHECKBOX & BACKLINK REQUIREMENT SECTION
   ============================================ */
.checkbox-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.checkbox-group {
    display: block;
    margin-bottom: 15px;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--text-primary);
    cursor: pointer;
    line-height: 1.7;
}

.checkbox-group input[type="checkbox"] {
    width: 22px;
    height: 22px;
    min-width: 22px;
    flex-shrink: 0;
    margin-top: 3px;
    margin-right: 0;
    accent-color: var(--accent-primary, #ff6b35);
    cursor: pointer;
}

.checkbox-text {
    flex: 1;
}

.checkbox-text p {
    margin: 0;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.checkbox-text strong {
    color: var(--accent-primary, #ff6b35);
}

.backlink-requirement {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.backlink-note {
    background: rgba(255, 200, 87, 0.1);
    border: 1px solid rgba(255, 200, 87, 0.3);
    padding: 18px 20px;
    border-radius: 12px;
    margin-top: 15px;
    line-height: 1.7;
}

.backlink-note p {
    margin: 0;
    color: var(--accent-gold, #ffc857);
    font-size: 0.9rem;
}

.backlink-note p + p {
    margin-top: 10px;
}

.backlink-note strong {
    color: var(--accent-gold, #ffc857);
}

/* Enhanced Button Styles */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary, #ff6b35), var(--accent-hover, #ff8c42));
    color: white;
    box-shadow: 0 8px 25px var(--glow-primary, rgba(255, 107, 53, 0.4));
    border: 1px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--glow-primary, rgba(255, 107, 53, 0.6)), 0 0 30px var(--glow-primary, rgba(255, 107, 53, 0.4));
    background: linear-gradient(135deg, var(--accent-hover, #ff8c42), var(--accent-gold, #ffc857));
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-primary, #ff6b35);
    border: 2px solid var(--accent-primary, #ff6b35);
    box-shadow: 0 0 0 rgba(255, 107, 53, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--accent-primary, #ff6b35);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--glow-primary, rgba(255, 107, 53, 0.4));
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
}

.form-footer {
    text-align: center;
    margin-top: 1rem;
}

.form-footer a {
    color: var(--accent-primary, #ff6b35);
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Forgot Password Form Styles */
#forgot-password-container {
    display: none;
}

.form-description {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

#back-to-login {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-primary, #ff6b35);
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

#back-to-login:hover {
    color: var(--accent-hover, #ff8c42);
    transform: translateX(-3px);
}

#back-to-login::before {
    content: 'â†';
    font-size: 1.1rem;
}

.forgot-password-link {
    display: block;
    text-align: right;
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
}

.forgot-password-link a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password-link a:hover {
    color: var(--accent-primary, #ff6b35);
}

/* Enhanced User Dashboard */
.user-dashboard {
    background: var(--bg-card-gradient, linear-gradient(145deg, #1a1a2e 0%, #16213e 100%));
    border: 1px solid var(--border-color, rgba(255, 107, 53, 0.3));
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    max-width: 98%;
    width: 98%;
    box-sizing: border-box;
}

.user-dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    opacity: 0.5;
    pointer-events: none;
}

.welcome-message {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.welcome-message h3 {
    margin: 0;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    width: 100%;
    text-align: center;
}

.user-stats {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
}

.stat-item {
    padding: 1rem 1.5rem;
    background: rgba(255, 107, 53, 0.2);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.3);
    white-space: nowrap;
    min-width: fit-content;
    text-align: center;
}

.user-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    width: 100%;
    justify-content: center;
}

/* Content Grid */
.ai-content-grid {
    display: grid;
    gap: 3rem;
}

/* Tabbed Content Interface */
.ai-content-container {
    margin-top: 2rem;
}

.content-tabs {
    margin-bottom: 2rem;
}

.tab-navigation {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.5rem;
    gap: 0.5rem;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    flex: 1;
    justify-content: center;
    position: relative;
}

.tab-btn:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.tab-btn.active {
    background: var(--bg-primary);
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-icon {
    font-size: 1.2rem;
}

.tab-label {
    font-weight: 600;
}

.tab-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 1.5rem;
    text-align: center;
    color: white;
}

.news-badge {
    background: #ffde59;
    color: #333;
}

.tools-badge {
    background: #0cc0df;
    color: white;
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
}

/* Section Controls */
.section-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.search-container {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    max-width: 400px;
    width: 100%;
}

.search-container input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 1rem;
}

.search-container input:focus {
    outline: none;
}

.search-btn {
    padding: 0.75rem 1rem;
    border: none;
    background: var(--accent-primary);
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: #2980b9;
}

.filter-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.sort-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
}

.status-filters {
    display: flex;
    gap: 0.5rem;
}

.status-filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.status-filter-btn:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.status-filter-btn.active {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Content Loading */
.content-loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Content Cards */
.content-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.content-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-primary);
}

.content-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.content-type-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
}

.content-type-badge.article {
    background: #ffde59;
    color: #333;
}

.content-type-badge.ai_tool {
    background: #0cc0df;
    color: white;
}

.content-status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.content-status-badge.pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.content-status-badge.approved {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.content-status-badge.rejected {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.content-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.content-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.content-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    gap: 1rem;
}

.content-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.content-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-view-content {
    padding: 0.5rem 1rem;
    background: var(--accent-primary);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: background 0.3s ease;
}

.btn-view-content:hover {
    background: #2980b9;
    color: white;
    text-decoration: none;
}

/* Load More Container */
.load-more-container {
    text-align: center;
    margin-top: 2rem;
}

/* Empty State */
.empty-content {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.empty-content h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* Mobile Responsiveness for Tabs */
@media (max-width: 768px) {
    .tab-navigation {
        padding: 0.25rem;
        max-width: 100%;
    }
    
    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .tab-icon {
        font-size: 1rem;
    }
    
    .tab-label {
        font-size: 0.8rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-controls {
        align-items: stretch;
    }
    
    .filter-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .status-filters {
        justify-content: center;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .content-card {
        padding: 1rem;
    }
    
    .content-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .content-actions {
        width: 100%;
        justify-content: center;
    }
}

/* Filters and Categories */
.section-filters,
.tools-categories {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn,
.category-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    border-radius: 20px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.category-btn:hover,
.filter-btn.active,
.category-btn.active {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

/* Tools Search */
.tools-search {
    display: flex;
    gap: 0.5rem;
    max-width: 300px;
}

.tools-search input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.tools-search input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.search-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    background: var(--accent-primary);
    color: white;
    border-radius: 8px;
    cursor: pointer;
}

/* News and Tools Grid */
.news-grid,
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.news-item,
.tool-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.news-item:hover,
.tool-item:hover {
    transform: translateY(-2px);
    border-color: var(--accent-primary);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.1);
}

.news-item h3,
.tool-item h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.news-item p,
.tool-item p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.news-meta,
.tool-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Community Features */
.community-features {
    margin-top: 3rem;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-secondary);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--accent-secondary);
}

/* Newsletter Section */
.newsletter-section {
    margin-top: 3rem;
}

.newsletter-card {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    color: white;
}

.newsletter-card h3 {
    margin-bottom: 1rem;
    color: white;
}

.newsletter-form {
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form .form-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    background: white;
    color: #333;
}

.newsletter-form .btn {
    white-space: nowrap;
}

.newsletter-form small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* Loading States */
.news-loading,
.tools-loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    grid-column: 1 / -1;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* @keyframes spin - REMOVED: duplicate of definition at line 5481 */

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .welcome-message {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .auth-buttons {
        flex-direction: column;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .tools-search {
        max-width: 100%;
    }
    
    .news-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }
}

/* Submission System Styles */
.submission-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.submission-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.submission-form-card h3 {
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
    font-size: 1.75rem;
    text-align: center;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.submission-status {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
}

.submission-status #submissions-today {
    font-weight: 600;
    color: var(--accent-primary);
}

.submission-form .form-group {
    margin-bottom: 1.5rem;
}

.submission-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #ffffff;
}

.submission-form input,
.submission-form select,
.submission-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.submission-form input:focus,
.submission-form select:focus,
.submission-form textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.submission-form small {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.submission-form textarea {
    resize: vertical;
    min-height: 100px;
}

.submission-form #submit-btn {
    margin-top: 1rem;
}

.submission-form #submit-btn:disabled {
    background: var(--text-secondary);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Fix for submission_type select font color */
.submission-form select#submission_type {
    color: white !important;
}

.submission-form select#submission_type option {
    color: white;
    background: var(--bg-primary);
}

/* Submission History */
.submission-history {
    max-height: 400px;
    overflow-y: auto;
}

.loading-submissions {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
}

.submission-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.submission-item:last-child {
    margin-bottom: 0;
}

.submission-item h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-size: 1rem;
}

.submission-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.submission-type {
    background: var(--accent-primary);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.submission-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.submission-status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 500;
}

.submission-status-badge.pending {
    background: #f39c12;
    color: white;
}

.submission-status-badge.approved {
    background: #27ae60;
    color: white;
}

.submission-status-badge.rejected {
    background: #e74c3c;
    color: white;
}

.no-submissions {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
}

/* Success/Error Alerts */
.submission-alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: none;
}

.submission-alert.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.submission-alert.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.submission-alert.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Character counters */
.char-counter {
    color: var(--text-secondary);
}

.char-counter.warning {
    color: #f39c12;
}

.char-counter.danger {
    color: #e74c3c;
}

/* Mobile responsiveness for submission form */
@media (max-width: 768px) {
    .submission-container {
        padding: 0 1rem;
    }
    
    .submission-form-card {
        padding: 1.5rem;
        max-width: none;
        margin: 0 auto;
    }
}

/* User Dashboard Styles */
.user-dashboard-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-content {
    margin-top: 2rem;
}

.submissions-list-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.card-header {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.card-header h3 {
    margin: 0;
    color: var(--text-primary);
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
}

.filter-tab {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-primary);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.filter-tab:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.filter-tab.active {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.submissions-list {
    padding: 1.5rem;
    max-height: 600px;
    overflow-y: auto;
}

.submission-item-detailed {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.submission-item-detailed:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.1);
}

.submission-item-detailed:last-child {
    margin-bottom: 0;
}

.submission-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.submission-title {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
}

.submission-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.submission-meta-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    font-size: 0.875rem;
    color: var(--text-primary);
}

.submission-url {
    color: var(--accent-primary);
    text-decoration: none;
    word-break: break-all;
}

.submission-url:hover {
    text-decoration: underline;
}

.submission-description {
    background: var(--bg-primary);
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-primary);
}

.btn-delete {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-delete:hover {
    background: #c0392b;
}

.btn-delete:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

.btn-view-url {
    background: var(--accent-primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.btn-view-url:hover {
    background: #2980b9;
    color: white;
    text-decoration: none;
}

.empty-submissions {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-secondary);
}

.empty-submissions h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.delete-confirmation {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
    display: none;
}

.delete-confirmation.show {
    display: block;
}

.delete-confirmation p {
    margin: 0 0 1rem 0;
    color: #856404;
}

.delete-confirmation .btn-group {
    display: flex;
    gap: 0.5rem;
}

.btn-confirm {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

.btn-cancel {
    background: #95a5a6;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .ai-community-page .page-title {
        font-size: 2.5rem;
    }
    
    .ai-community-page .page-description {
        font-size: 1.1rem;
    }
    
    .header-stats {
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .header-stats .stat-item {
        padding: 1rem;
        min-width: 120px;
    }
    
    .header-stats .stat-number {
        font-size: 1.5rem;
    }
    
    .login-prompt {
        padding: 2rem;
        margin: 0 15px;
    }
    
    .auth-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .welcome-message {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
    
    .user-stats {
        justify-content: center;
    }
    
    .user-actions {
        justify-content: center;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .submission-container {
        padding: 0 1rem;
    }
    
    .submission-form-card {
        max-width: none;
    }
    
    .auth-modal-content {
        margin: 20px;
        padding: 1.5rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .tab-navigation {
        flex-direction: column;
        max-width: none;
    }
    
    .view-filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .table-filters {
        gap: 0.75rem;
    }
    
    .table-filters select,
    #user-submissions-filter,
    #user-submissions-type,
    .sort-select {
        padding: 10px 14px;
        font-size: 0.9rem;
        min-width: 140px;
    }
    
    .filter-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    /* Small Mobile Welcome Area Fixes */
    .welcome-message-container {
        padding: 0 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .welcome-alert {
        padding: 12px 15px;
        margin: 0 -10px 15px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .welcome-alert h4 {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .welcome-alert p {
        font-size: 0.8rem;
    }
    
    /* Small Mobile User Dashboard */
    .user-dashboard {
        padding: 1rem 10px;
        margin: 0 -10px 1.5rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 94%;
        max-width: 94%;
    }

    .welcome-message h3 {
        font-size: 0.9rem;
        text-align: center;
    }
    
    .user-stats {
        gap: 0.5rem;
        align-items: center;
        justify-content: center;
    }
    
    .stat-item {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
        max-width: 280px;
        justify-content: center;
    }
    
    .user-actions .btn {
        padding: 12px 16px;
        font-size: 0.9rem;
        max-width: 280px;
    }
    
    /* Small Mobile Dashboard Stats */
    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin: 1rem -10px;
        padding: 0 10px;
    }
    
    .stat-card {
        padding: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Small Mobile Cards */
    .submissions-list-card {
        margin: 0 -10px;
    }
    
    .card-header {
        padding: 0.8rem 10px;
    }
    
    .filter-tabs {
        gap: 0.3rem;
    }
    
    .filter-tab {
        padding: 0.5rem 0.6rem;
        font-size: 0.75rem;
        min-width: 70px;
    }
    
    .submissions-list {
        padding: 0.8rem 10px;
        max-height: 300px;
    }
    
    .ai-community-page .page-title {
        font-size: 2rem;
    }
    
    .header-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .header-stats .stat-item {
        width: 100%;
        max-width: 200px;
    }
    
    .login-prompt {
        padding: 1.5rem;
    }
    
    .auth-buttons {
        gap: 0.75rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .view-filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .table-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .table-filters select,
    #user-submissions-filter,
    #user-submissions-type {
        width: 100%;
        min-width: auto;
    }
}

/* View Filter Button Styles (for Community Display Page) */
.view-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: 1px solid rgba(255, 107, 53, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.view-filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.2), transparent);
    transition: left 0.5s;
}

.view-filter-btn:hover::before {
    left: 100%;
}

.view-filter-btn:hover {
    background: rgba(255, 107, 53, 0.2);
    color: white;
    border-color: var(--accent-primary);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.view-filter-btn.active {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* Table Filters Styling */
.table-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.table-filters select,
#user-submissions-filter,
#user-submissions-type {
    padding: 12px 16px;
    border: 1px solid rgba(255, 107, 53, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    min-width: 160px;
    position: relative;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23ffffff" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 40px;
}

.table-filters select:hover,
#user-submissions-filter:hover,
#user-submissions-type:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--accent-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.table-filters select:focus,
#user-submissions-filter:focus,
#user-submissions-type:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 107, 53, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.table-filters select option,
#user-submissions-filter option,
#user-submissions-type option {
    background: #1a1a3a;
    color: white;
    padding: 8px 12px;
    border: none;
}

.table-filters select option:hover,
#user-submissions-filter option:hover,
#user-submissions-type option:hover {
    background: var(--accent-primary);
}

/* Submissions Table Container */
.submissions-table-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    margin-top: 2rem;
}

.submissions-table-container h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Sort Select Styling (for Community Display Page) */
.sort-select {
    padding: 12px 16px;
    border: 1px solid rgba(255, 107, 53, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    min-width: 160px;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23ffffff" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 40px;
}

.sort-select:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--accent-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.sort-select:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 107, 53, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.sort-select option {
    background: #1a1a3a;
    color: white;
    padding: 8px 12px;
}

/* Filter Controls Container */
.filter-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

/* Loading Animation */
@keyframes pulse-bg {
    0%, 100% { background-color: rgba(255, 107, 53, 0.1); }
    50% { background-color: rgba(255, 107, 53, 0.2); }
}

.loading-submissions {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.7);
    animation: pulse-bg 2s infinite;
    border-radius: 12px;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4f90ff;
}

/* Call to Action Section */
.cta-section {
    margin: 4rem 0;
    padding: 3rem 0;
}

.cta-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
    position: relative;
}

.cta-container h3 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary, #ff6b35), var(--accent-secondary, #06b6d4), #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.cta-container p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.cta-section .auth-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    position: relative;
    z-index: 2;
}

.cta-section .feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cta-section .feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-primary, #ff6b35);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.feature-icon {
    font-size: 2rem;
    line-height: 1;
}

.cta-section .feature-item span:last-child {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* CTA Section specific feature item styling */
.cta-section .feature-item {
    border: 1px solid rgba(255, 107, 53, 0.3);
    backdrop-filter: blur(10px);
}

.cta-section .feature-item:hover {
    border-color: var(--accent-primary, #ff6b35);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

/* Keep the old CTA card styles for any existing references */
.cta-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    opacity: 0.8;
    pointer-events: none;
}

.cta-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.cta-card p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    position: relative;
    z-index: 2;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-primary);
}

.feature-icon {
    font-size: 2rem;
    line-height: 1;
}

.feature-item span:last-child {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.cta-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ai-community-page {
        padding: 1rem 0;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-tabs {
        width: 100%;
        justify-content: space-between;
    }
    
    .filter-tab {
        flex: 1;
        text-align: center;
        padding: 0.5rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .submission-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .submission-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .submission-meta-info {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* Responsive Design - 480px Mobile */
@media (max-width: 480px) {
    .table-filters select,
    #user-submissions-filter,
    #user-submissions-type,
    .sort-select {
        padding: 8px 12px;
        font-size: 0.85rem;
        min-width: 120px;
    }
    
    .filter-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
}

/* Enhanced Homepage & Platform Links Styling */
/* Override filter controls for glass-morphism effect */
.filter-controls {
    background: rgba(45, 45, 45, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.filter-button {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    color: #e0e0e0 !important;
    font-weight: 500 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
}

.filter-button:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
    color: #ffffff !important;
}

.filter-button.active {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.3), rgba(0, 86, 179, 0.3)) !important;
    border-color: rgba(0, 123, 255, 0.5) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 123, 255, 0.3) !important;
}

/* Enhanced Admin Panel & Form Styling */
.admin-panel {
    background: rgba(45, 45, 45, 0.6) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

.admin-panel-nav {
    background: rgba(45, 45, 45, 0.6) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    margin-bottom: 2rem !important;
}

.form-control,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="date"],
input[type="file"],
textarea,
select {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    color: #e0e0e0 !important;
    font-size: 0.95rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}

.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="date"]:focus,
input[type="file"]:focus,
textarea:focus,
select:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(0, 123, 255, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1), 0 8px 24px rgba(0, 0, 0, 0.2) !important;
    outline: none !important;
    transform: translateY(-1px) !important;
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* Enhanced CTA Section Styling */
.cta-section {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Enhanced debug panel styling */
.debug-panel {
    background: rgba(45, 45, 45, 0.9) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
}

/* Enhanced notification styling */
.notification {
    border-radius: 12px !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
}

.notification.success {
    background: rgba(40, 167, 69, 0.2) !important;
    border-color: rgba(40, 167, 69, 0.3) !important;
}

.notification.error {
    background: rgba(220, 53, 69, 0.2) !important;
    border-color: rgba(220, 53, 69, 0.3) !important;
}

.notification.info {
    background: rgba(0, 123, 255, 0.2) !important;
    border-color: rgba(0, 123, 255, 0.3) !important;
}

/* Responsive Design for Enhanced Homepage & Platform Links */
@media (max-width: 768px) {
    .filter-controls {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .filter-button {
        padding: 10px 18px !important;
        font-size: 0.9rem !important;
    }
    
    .admin-panel,
    .admin-panel-nav {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .form-control,
    input[type="text"],
    input[type="email"],
    input[type="url"],
    input[type="date"],
    input[type="file"],
    textarea,
    select {
        padding: 10px 14px !important;
        font-size: 0.9rem !important;
    }
    
    .cta-section {
        padding: 30px 15px !important;
        margin: 40px 0 30px !important;
    }
}

@media (max-width: 480px) {
    .filter-controls {
        padding: 0.75rem;
        margin: 1rem 0;
    }
    
    .filter-button {
        padding: 8px 14px !important;
        font-size: 0.85rem !important;
    }
    
    .admin-panel,
    .admin-panel-nav {
        padding: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .form-control,
    input[type="text"],
    input[type="email"],
    input[type="url"],
    input[type="date"],
    input[type="file"],
    textarea,
    select {
        padding: 8px 12px !important;
        font-size: 0.85rem !important;
    }
    
    .cta-section {
        padding: 20px 10px !important;
        margin: 30px 0 20px !important;
    }
    
    .debug-panel {
        max-width: 280px !important;
        top: 20px !important;
        right: 10px !important;
    }
}

/* Homepage Specific Enhancements */
.page-template-page-homepage .page-header {
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.8) 0%, rgba(60, 60, 60, 0.8) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem 2rem;
    margin: 2rem auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.page-template-page-homepage .page-title {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-template-page-homepage .seo-description {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.page-template-page-homepage .seo-description p {
    color: #e8e8e8 !important;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Platform Links Page Specific Enhancements */
.page-template-page-platform-links .csv-import-section,
.page-template-page-platform-links .manual-add-section {
    background: rgba(45, 45, 45, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.page-template-page-platform-links h3 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.page-template-page-platform-links .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.page-template-page-platform-links .form-text {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .page-template-page-homepage .page-header {
        padding: 2rem 1.5rem;
        margin: 1.5rem auto;
    }
    
    .page-template-page-homepage .page-title {
        font-size: 2rem;
    }
    
    .page-template-page-homepage .seo-description {
        padding: 1.5rem;
    }
    
    .page-template-page-platform-links .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .page-template-page-platform-links .csv-import-section,
    .page-template-page-platform-links .manual-add-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
}

@media (max-width: 480px) {
    .page-template-page-homepage .page-header {
        padding: 1.5rem 1rem;
        margin: 1rem auto;
    }
    
    .page-template-page-homepage .page-title {
        font-size: 1.7rem;
    }
    
    .page-template-page-homepage .seo-description {
        padding: 1rem;
    }
    
    .page-template-page-homepage .seo-description p {
        font-size: 1rem !important;
    }
    
    .page-template-page-platform-links .csv-import-section,
    .page-template-page-platform-links .manual-add-section {
        padding: 1rem;
        margin: 1rem 0;
    }
}

/* Additional styles for platform links specific elements */
.admin-navigation {
    background: rgba(30, 30, 45, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 32px rgba(15, 15, 35, 0.6);
}

.admin-navigation h3 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.nav-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(15, 15, 35, 0.3);
}

.nav-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(96, 165, 250, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 15, 35, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.nav-card.active {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(167, 139, 250, 0.2));
    border-color: rgba(96, 165, 250, 0.4);
    color: #ffffff;
}

.nav-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(167, 139, 250, 0.2));
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    flex-shrink: 0;
}

.nav-content h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.nav-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.danger-section {
    border-color: rgba(220, 53, 69, 0.3) !important;
}

.danger-section .section-icon {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(185, 28, 28, 0.2));
    border-color: rgba(220, 53, 69, 0.3);
    color: #ef4444;
}

.danger-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.count-display {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    font-size: 0.9rem;
}

.confirmation-panel {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.confirmation-content h4 {
    color: #ef4444;
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
}

.confirmation-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 1.5rem 0;
}

.confirmation-actions {
    display: flex;
    gap: 1rem;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateY(-1px);
    text-decoration: none;
}

.filter-btn.active {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(167, 139, 250, 0.2));
    border-color: rgba(96, 165, 250, 0.4);
    color: #60a5fa;
}

.filter-btn svg {
    flex-shrink: 0;
}

.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(96, 165, 250, 0.1);
}

.page-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    padding: 0 1rem;
}

.pagination-controls .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.pagination-controls .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.pagination-controls .btn:disabled:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-card {
        padding: 1.25rem;
    }
    
    .nav-icon {
        width: 40px;
        height: 40px;
    }
    
    .filter-controls {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .filter-btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
        font-size: 0.85rem;
        padding: 0.6rem 0.75rem;
    }
    
    .pagination-controls {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .pagination-controls .btn {
        width: 100%;
        justify-content: center;
        max-width: 200px;
    }
    
    .danger-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .confirmation-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .admin-navigation {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .nav-card {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .nav-content h4 {
        font-size: 1rem;
    }
    
    .filter-controls {
        flex-direction: column;
    }
    
    .filter-btn {
        width: 100%;
        justify-content: flex-start;
        min-width: unset;
    }
    
    .page-info {
        padding: 0;
        text-align: center;
    }
}

/* User Details Modal Styles */
.user-details-modal {
    max-width: 1200px;
    width: 98%;
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-details-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(6, 182, 212, 0.1));
}

.user-details-modal .modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent-primary, #ff6b35), #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.user-profile-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
}

.user-avatar-large img {
    border-radius: 50%;
    border: 3px solid rgba(255, 107, 53, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.user-profile-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
}

.user-profile-info .user-meta {
    margin: 0 0 1rem 0;
    color: #64748b;
    font-size: 0.95rem;
}

.user-profile-info .user-status {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-details-tabs {
    padding: 2rem;
    margin-bottom: 1rem;
}

.user-details-tabs h4 {
    margin: 0 0 1.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    border-bottom: 2px solid rgba(255, 107, 53, 0.2);
    padding-bottom: 0.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    background: rgba(255, 255, 255, 0.7);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-item label {
    display: block;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item span {
    color: #1e293b;
    font-weight: 500;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-box {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(6, 182, 212, 0.1));
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
}

.stat-box .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary, #ff6b35);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-box .stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submission-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.submission-item:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.submission-title {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.submission-title strong {
    color: #1e293b;
    font-size: 1rem;
    flex: 1;
    min-width: 200px;
}

.submission-type {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submission-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.submission-status {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: capitalize;
}

.submission-status.status-pending {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.submission-status.status-approved {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.submission-status.status-rejected {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.submission-date {
    color: #64748b;
    font-size: 0.9rem;
}

.submission-link {
    color: var(--accent-primary, #ff6b35);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.submission-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.suspension-info {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.05));
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    margin-bottom: 2rem;
}

.suspension-reason {
    color: #dc2626;
    font-weight: 500;
    font-style: italic;
}

.no-submissions {
    text-align: center;
    color: #64748b;
    font-style: italic;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 10px;
    margin: 1rem 0;
}

/* Mobile responsiveness for user details modal */
@media (max-width: 768px) {
    .user-details-modal {
        margin: 1rem;
        max-height: 85vh;
        width: calc(100% - 2rem);
        max-width: none;
    }
    
    .user-details-modal .modal-header {
        padding: 1rem;
    }
    
    .user-profile-section {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-actions {
        justify-content: center;
        gap: 1rem;
        padding: 1.5rem 1rem 1rem 1rem;
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }
    
    .modal-actions .btn {
        min-width: 110px;
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        font-weight: 600;
    }
    
    .submission-title {
        flex-direction: column;
        align-items: start;
    }
    
    .submission-meta {
        flex-direction: column;
        align-items: start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .user-details-modal {
        width: calc(100% - 1rem);
        margin: 0.5rem;
        max-width: none;
    }
    
    .user-details-modal .modal-header {
        padding: 0.75rem;
    }
    
    .user-details-modal .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .user-details-tabs {
        padding: 1rem;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.25rem 0.75rem 0.75rem 0.75rem;
        margin-left: -1rem;
        margin-right: -1rem;
    }
    
    .modal-actions .btn {
        width: 100%;
        min-width: unset;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        font-weight: 600;
    }
}

/* User Analytics Modal Styles */
.user-analytics-modal,
.bulk-actions-modal {
    max-width: 1000px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card-large {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(6, 182, 212, 0.1));
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
}

.stat-card-large .stat-icon {
    font-size: 2.5rem;
    opacity: 0.8;
}

.stat-card-large .stat-info h4 {
    margin: 0 0 0.5rem 0;
    color: #475569;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card-large .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary, #ff6b35);
    line-height: 1;
}

.analytics-section {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.analytics-section h4 {
    margin: 0 0 1.5rem 0;
    color: #1e293b;
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 107, 53, 0.2);
    padding-bottom: 0.5rem;
}

.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateX(3px);
}

.activity-info strong {
    color: #1e293b;
    font-weight: 600;
}

.activity-meta {
    display: block;
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.activity-status {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Bulk Actions Modal Styles */
.bulk-actions-content {
    padding: 2rem;
}

.action-section {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.action-section h4 {
    margin: 0 0 0.5rem 0;
    color: #1e293b;
    font-size: 1.3rem;
    font-weight: 600;
}

.action-section > p {
    margin: 0 0 2rem 0;
    color: #64748b;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(209, 213, 219, 0.8);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary, #ff6b35);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    background: white;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.selected-users-section {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.selected-users-section h4 {
    margin: 0 0 1rem 0;
    color: #1e293b;
    font-size: 1.2rem;
    font-weight: 600;
}

.error-message {
    text-align: center;
    padding: 2rem;
    color: #64748b;
}

.error-message h4 {
    color: #ef4444;
    margin-bottom: 1rem;
}

/* Mobile responsiveness for new modals */
@media (max-width: 768px) {
    .user-analytics-modal,
    .bulk-actions-modal {
        width: calc(100% - 2rem);
        margin: 1rem;
    }
    
    .analytics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card-large {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .activity-item {
        flex-direction: column;
        align-items: start;
        gap: 0.5rem;
    }
    
    .bulk-actions-content {
        padding: 1rem;
    }
    
    .action-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .user-analytics-modal,
    .bulk-actions-modal {
        width: calc(100% - 1rem);
        margin: 0.5rem;
    }
    
    .analytics-section,
    .action-section,
    .selected-users-section {
        padding: 1rem;
    }
    
    .stat-card-large {
        padding: 1rem;
    }
}

/* ============================================
   VIBE CODING RESOURCES STYLES
   Merged from css/vibe-coding.css
   ============================================ */

/* ============================================
   COMMON WRAPPER STYLES
   ============================================ */
.tech-admin-wrapper,
.tech-research-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--vibe-bg-dark) 0%, #1a1a2e 50%, var(--vibe-bg-dark) 100%);
    padding: 0;
    display: grid;
    grid-template-columns: 260px 1fr;
}

/* Header height variable (adjust if your header changes) */
:root {
    --site-header-height: 100px;
}

/* Sidebar Navigation */
.tech-admin-sidebar {
    width: 260px;
    background: rgba(0, 0, 0, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: var(--site-header-height, 100px);
    overflow-y: auto;
    z-index: 10;
}

/* Adjust for WordPress admin bar when logged in */
body.admin-bar .tech-admin-sidebar {
    top: calc(var(--site-header-height, 100px) + 32px);
}

.sidebar-header {
    padding: 2rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h2 {
    color: var(--vibe-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-header p {
    color: var(--vibe-text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.sidebar-nav {
    padding: 1rem 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    color: var(--vibe-text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--vibe-primary);
}

.sidebar-link.active {
    background: rgba(255, 107, 53, 0.1);
    border-left-color: var(--vibe-primary);
    color: var(--vibe-primary);
    font-weight: 600;
}

.sidebar-link i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.sidebar-footer a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0;
    color: var(--vibe-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.sidebar-footer a:hover {
    color: var(--vibe-primary);
}

.sidebar-footer a i {
    width: 16px;
    text-align: center;
}

.tech-admin-container,
.tech-research-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    margin-left: 260px;
    width: calc(100% - 260px);
}


/* ============================================
   ADMIN PAGE STYLES
   ============================================ */

/* Admin Header */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-header h1 {
    color: var(--vibe-primary);
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.admin-nav {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.admin-nav a {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--vibe-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-nav a:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: var(--vibe-primary);
    color: var(--vibe-primary);
}

/* Admin Cards */
.admin-card {
    background: var(--vibe-bg-card);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--vibe-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.admin-card h2 {
    color: var(--vibe-primary);
    margin: 0 0 1.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--vibe-primary);
    line-height: 1;
}

.stat-value.stat-small {
    font-size: 1.75rem;
}

.stat-label {
    color: var(--vibe-text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.stats-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-info p {
    margin: 0;
    color: var(--vibe-text-muted);
    font-size: 0.9rem;
}

.stats-info strong {
    color: var(--vibe-text);
}

.stats-info i {
    color: var(--vibe-primary);
    margin-right: 0.25rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--vibe-text);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="time"],
.form-group input[type="number"],
.form-group input[type="url"],
.form-group select {
    width: 100%;
    max-width: 400px;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--vibe-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.form-group small {
    display: block;
    color: var(--vibe-text-muted);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.form-group small a {
    color: var(--vibe-primary);
}

.form-hint {
    color: var(--vibe-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.status-badge.success {
    background: rgba(76, 175, 80, 0.15);
    color: var(--vibe-success);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.status-badge.error {
    background: rgba(244, 67, 54, 0.15);
    color: var(--vibe-error);
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Per-API Key Cards Grid */
.api-keys-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.api-key-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.api-key-card:hover {
    border-color: var(--vibe-primary);
    background: rgba(255, 107, 53, 0.05);
}

.api-key-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--vibe-text);
}

.api-key-header i {
    color: var(--vibe-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* API Name Input - Editable title field */
.api-name-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: var(--vibe-text);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.api-name-input:focus {
    outline: none;
    border-color: var(--vibe-primary);
    background: rgba(255, 255, 255, 0.08);
}

.api-name-input::placeholder {
    color: var(--vibe-text-muted);
    font-weight: 400;
}

.key-status {
    margin-left: auto;
}

.key-status.configured {
    color: var(--vibe-success);
}

.key-status.not-configured {
    color: var(--vibe-error);
}

.api-key-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--vibe-text);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.api-key-input:focus {
    outline: none;
    border-color: var(--vibe-primary);
    background: rgba(255, 255, 255, 0.08);
}

.api-key-input::placeholder {
    color: var(--vibe-text-muted);
}

.api-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--vibe-primary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.api-link:hover {
    color: var(--vibe-primary-hover);
}

/* Sortable API List */
.sortable-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sortable-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    cursor: grab;
    transition: all 0.3s ease;
    user-select: none;
}

.sortable-list li:hover {
    border-color: var(--vibe-border-hover);
    background: rgba(255, 107, 53, 0.05);
}

.sortable-list li.dragging {
    opacity: 0.6;
    border-color: var(--vibe-primary);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
    transform: scale(1.02);
}

.sortable-list li.drag-over {
    border-color: var(--vibe-primary);
    background: rgba(255, 107, 53, 0.1);
}

.priority-badge {
    margin-left: auto;
    background: var(--vibe-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.drag-handle {
    color: var(--vibe-text-muted);
    cursor: grab;
}

.api-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--vibe-text);
}

.api-name i {
    color: var(--vibe-primary);
}

/* Topic Rows */
#topics-container {
    margin-bottom: 1rem;
}

.topic-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    align-items: center;
}

.topic-row input {
    padding: 0.625rem 0.875rem;
    max-width: none;
}

/* Admin Actions */
.admin-actions {
    margin-top: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
}

/* Fetch Results */
.fetch-results {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fetch-result {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.fetch-result.success {
    border-left: 3px solid var(--vibe-success);
}

.fetch-result.has-error {
    border-left: 3px solid var(--vibe-error);
}

.fetch-result strong {
    color: var(--vibe-text);
    min-width: 150px;
}

.fetch-stats {
    color: var(--vibe-text-muted);
    font-size: 0.9rem;
}

.fetch-error {
    color: var(--vibe-error);
    font-size: 0.85rem;
    width: 100%;
    margin-top: 0.5rem;
}

/* Admin Alerts */
.admin-alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideIn 0.3s ease;
}

.admin-alert.success {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: var(--vibe-success);
}

.admin-alert.error {
    background: rgba(244, 67, 54, 0.15);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: var(--vibe-error);
}

.close-alert {
    margin-left: auto;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    opacity: 0.7;
}

.close-alert:hover {
    opacity: 1;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   FLEXIBLE API CONFIGURATION CARDS (v5.1.0)
   ============================================ */

/* API Config Grid - replaces old api-keys-grid for new flexible system */
.api-config-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Individual API Config Card */
.api-config-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.api-config-card.enabled {
    border-color: rgba(76, 175, 80, 0.4);
    background: rgba(76, 175, 80, 0.05);
}

.api-config-card:hover {
    border-color: var(--vibe-primary);
}

/* Card Header */
.api-config-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.api-slot-badge {
    background: var(--vibe-primary);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Enable Toggle Switch */
.api-enable-toggle {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 28px;
    vertical-align: middle;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: #d3d3d3;
    border-radius: 28px;
    border: none;
    transition: 0.2s ease;
}

.toggle-slider::before {
    content: "";
    position: absolute;
    height: 22px;
    width: 22px;
    left: 3px;
    top: 3px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    transition: 0.2s ease;
}

.api-enable-toggle input:checked + .toggle-slider {
    background: #27ae60;
}

.api-enable-toggle input:checked + .toggle-slider::before {
    transform: translateX(24px);
}

/* Card Body */
.api-config-body {
    padding: 1.5rem;
}

.api-config-basic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.api-config-basic .form-group {
    margin-bottom: 0;
}

.api-config-basic .form-group:first-child {
    grid-column: 1 / -1;
}

/* Host and Endpoint full width on smaller screens */
.api-config-basic .api-host-input,
.api-config-basic .api-endpoint-input {
    grid-column: span 1;
}

/* API Actions (Test button) */
.api-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.btn-test {
    background: rgba(33, 150, 243, 0.2);
    color: #64b5f6;
    border: 1px solid rgba(33, 150, 243, 0.3);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-test:hover {
    background: rgba(33, 150, 243, 0.3);
    border-color: rgba(33, 150, 243, 0.5);
}

.test-result {
    font-size: 0.875rem;
}

.test-result .test-success {
    color: var(--vibe-success);
}

.test-result .test-error {
    color: var(--vibe-error);
}

/* Response Mapping Section */
.api-config-mapping {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1.25rem;
    margin-top: 1rem;
}

.mapping-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.mapping-header h4 {
    margin: 0;
    color: var(--vibe-text);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mapping-header h4 i {
    color: var(--vibe-primary);
}

.preset-group {
    margin-bottom: 0 !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.preset-group label {
    margin-bottom: 0;
    font-size: 0.875rem;
    color: var(--vibe-text-muted);
}

.mapping-preset-select {
    min-width: 280px;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: var(--vibe-text);
    font-size: 0.875rem;
}

.mapping-preset-select:focus {
    outline: none;
    border-color: var(--vibe-primary);
}

.mapping-fields {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mapping-row {
    display: flex;
    gap: 1rem;
}

.mapping-row.mapping-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.mapping-row .form-group {
    margin-bottom: 0;
    flex: 1;
}

.mapping-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--vibe-text);
    font-size: 0.875rem;
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
}

.mapping-input:focus {
    outline: none;
    border-color: var(--vibe-primary);
    background: rgba(255, 255, 255, 0.08);
}

.mapping-input::placeholder {
    color: var(--vibe-text-muted);
    font-style: italic;
}

/* No APIs message in priority list */
.no-apis-message {
    padding: 1.5rem !important;
    justify-content: center !important;
    color: var(--vibe-text-muted);
    font-style: italic;
    cursor: default !important;
    background: rgba(255, 255, 255, 0.02) !important;
}

.no-apis-message:hover {
    border-color: rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.02) !important;
}

/* Responsive adjustments for API config cards */
@media (max-width: 768px) {
    .api-config-basic {
        grid-template-columns: 1fr;
    }
    
    .mapping-row.mapping-columns {
        grid-template-columns: 1fr;
    }
    
    .mapping-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .preset-group {
        width: 100%;
    }
    
    .mapping-preset-select {
        width: 100%;
        min-width: auto;
    }
    
    .api-config-header {
        flex-wrap: wrap;
    }
}


/* ============================================
   PUBLIC PAGE STYLES
   ============================================ */

/* Research Header */
.research-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.research-header h1 {
    font-size: 2.5rem;
    color: var(--vibe-primary);
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.research-header p {
    color: var(--vibe-text-muted);
    font-size: 1.1rem;
    margin: 0;
}

/* Search Section */
.search-section {
    background: var(--vibe-bg-card);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 1px solid var(--vibe-border);
}

.search-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-input-wrapper {
    flex: 1;
    min-width: 280px;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--vibe-text-muted);
}

.search-input-wrapper input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--vibe-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.search-input-wrapper input::placeholder {
    color: var(--vibe-text-muted);
}

.search-hint {
    color: var(--vibe-text-muted);
    font-size: 0.85rem;
    margin: 1rem 0 0 0;
}

.search-hint i {
    color: var(--vibe-primary);
}

/* Topic Filters */
.topic-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.topic-filter {
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: var(--vibe-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.topic-filter:hover,
.topic-filter.active {
    background: rgba(255, 107, 53, 0.2);
    border-color: var(--vibe-primary);
    color: var(--vibe-primary);
}

.topic-filter .count {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.125rem 0.5rem;
    border-radius: 10px;
    font-size: 0.75rem;
}

.topic-filter.active .count {
    background: rgba(255, 107, 53, 0.3);
}

/* Section Titles */
.section-title {
    color: var(--vibe-primary);
    font-size: 1.5rem;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    color: var(--vibe-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Live Results Section */
.live-results-section {
    background: var(--vibe-bg-card);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 1px solid var(--vibe-primary);
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* Article Card */
.article-card {
    background: var(--vibe-bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--vibe-border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: var(--vibe-border-hover);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.article-image {
    height: 180px;
    overflow: hidden;
    position: relative;
    background: rgba(0, 0, 0, 0.3);
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-image.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0f 100%);
}

.article-image.no-image i {
    font-size: 3rem;
    color: var(--vibe-text-muted);
}

.article-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(0, 0, 0, 0.7);
    color: var(--vibe-primary);
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-title {
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

.article-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: var(--vibe-primary);
}

.article-excerpt {
    color: var(--vibe-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    flex: 1;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: var(--vibe-text-muted);
    margin-bottom: 1rem;
}

.article-source {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--vibe-primary);
}

.article-date {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--vibe-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    gap: 0.75rem;
}

.read-more-link .external-icon {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Loading Indicator */
.loading-indicator {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--vibe-text-muted);
}

.loading-indicator i {
    font-size: 2rem;
    color: var(--vibe-primary);
    margin-bottom: 1rem;
    display: block;
}

/* No Results */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
}

.no-results i {
    font-size: 4rem;
    color: var(--vibe-primary);
    margin-bottom: 1.5rem;
    display: block;
}

.no-results h3 {
    color: var(--vibe-text);
    margin: 0 0 0.75rem 0;
}

.no-results p {
    color: var(--vibe-text-muted);
    margin: 0 0 1.5rem 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination .page-link a,
.pagination .page-link span {
    display: block;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--vibe-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .page-link a:hover,
.pagination .page-link span.current {
    background: var(--vibe-primary);
    color: #fff;
}

/* Guest Post CTA */
.guest-post-cta {
    margin-top: 3rem;
}

.cta-content {
    background: var(--vibe-bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--vibe-border);
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-icon {
    font-size: 3rem;
    color: var(--vibe-primary);
}

.cta-text {
    flex: 1;
    min-width: 250px;
}

.cta-text h3 {
    color: var(--vibe-primary);
    margin: 0 0 0.5rem 0;
}

.cta-text p {
    color: var(--vibe-text-muted);
    margin: 0;
}


/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--vibe-primary) 0%, var(--vibe-primary-hover) 100%);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--vibe-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-text {
    background: transparent;
    color: var(--vibe-text-muted);
    padding: 0.5rem;
}

.btn-text:hover {
    color: var(--vibe-text);
}

.btn-icon {
    padding: 0.5rem 0.75rem;
    background: rgba(244, 67, 54, 0.1);
    color: var(--vibe-error);
    border: 1px solid rgba(244, 67, 54, 0.2);
}

.btn-icon:hover {
    background: rgba(244, 67, 54, 0.2);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}


/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 992px) {
    .tech-admin-sidebar {
        left: 0;
        width: 220px;
    }
    
    .tech-admin-container {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .tech-admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        left: 0;
        width: 260px;
        top: 0;
    }
    
    .tech-admin-sidebar.mobile-open {
        transform: translateX(0);
    }
    
    .tech-admin-container {
        margin-left: 0;
        width: 100%;
        padding-top: 4rem;
    }

    .tech-admin-container,
    .tech-research-container {
        padding: 0 1rem;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-header h1 {
        font-size: 1.5rem;
    }

    .admin-nav {
        width: 100%;
    }

    .admin-nav a {
        flex: 1;
        justify-content: center;
        font-size: 0.8rem;
        padding: 0.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-value {
        font-size: 1.75rem;
    }

    .topic-row {
        grid-template-columns: 1fr;
    }

    .research-header h1 {
        font-size: 1.75rem;
    }

    .search-form {
        flex-direction: column;
    }

    .search-input-wrapper {
        min-width: 100%;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .admin-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .topic-filters {
        flex-direction: column;
    }

    .topic-filter {
        justify-content: center;
    }

    .btn-large {
        width: 100%;
    }
}


/* ============================================
   VIBE CODING RESOURCES - PUBLIC PAGE
   ============================================ */

.vibe-resources-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a0f 100%);
    position: relative;
    overflow: hidden;
}

.vibe-resources-page .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: floatOrbVibe 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #ff6b35 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
    top: 40%;
    left: 30%;
    animation-delay: -14s;
}

@keyframes floatOrbVibe {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -30px) scale(1.1); }
    50% { transform: translate(-30px, 50px) scale(0.9); }
    75% { transform: translate(-50px, -20px) scale(1.05); }
}

/* Hero Section */
.vibe-hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    color: #ff6b35;
    margin-bottom: 1.5rem;
}

.hero-badge i {
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 50%, #ffc857 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--vibe-text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ff6b35;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--vibe-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    background: transparent;
    color: var(--vibe-text);
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: #ff6b35;
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
}

/* Hero Visual / Code Preview */
.hero-visual {
    display: flex;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.code-preview {
    perspective: 1000px;
}

.code-window {
    background: linear-gradient(145deg, #1e1e2e 0%, #2a2a3e 100%);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.code-window:hover {
    transform: rotateY(0) rotateX(0);
}

.window-dots {
    display: flex;
    gap: 8px;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.code-content {
    padding: 1.5rem;
    font-family: 'Fira Code', 'Monaco', monospace;
    font-size: 0.95rem;
    line-height: 1.8;
}

.code-line {
    display: block;
}

.keyword { color: #c678dd; }
.variable { color: #e5c07b; }
.string { color: #98c379; }
.comment { color: #5c6370; font-style: italic; }
.function { color: #61afef; }
.method { color: #61afef; }

/* Topic Navigation */
.topic-nav {
    position: relative;
    z-index: 1;
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.topic-header {
    text-align: center;
    margin-bottom: 2rem;
}

.topic-header h2 {
    color: white;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.topic-header h2 i {
    color: #ff6b35;
    margin-right: 0.5rem;
}

.topic-header p {
    color: var(--vibe-text-muted);
}

.topic-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.topic-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--vibe-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.topic-pill:hover {
    border-color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
    color: white;
}

.topic-pill.active {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    border-color: transparent;
    color: white;
}

.topic-pill .count {
    padding: 0.15rem 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
}

.topic-pill.active .count {
    background: rgba(255, 255, 255, 0.2);
}

/* Filter Indicator */
.filter-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.filter-text {
    color: var(--vibe-text);
}

.filter-text i {
    color: #ff6b35;
    margin-right: 0.5rem;
}

.clear-filter {
    color: var(--vibe-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.clear-filter:hover {
    color: #ff6b35;
}

/* Articles Section */
.articles-section {
    position: relative;
    z-index: 1;
    padding: 2rem 0 4rem;
}

.vibe-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

/* Article Card */
.vibe-article-card {
    position: relative;
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: cardFadeIn 0.6s ease-out both;
    animation-delay: var(--animation-delay, 0s);
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vibe-article-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.vibe-article-card:hover .card-glow {
    opacity: 1;
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vibe-article-card:hover .card-image img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.8) 0%, transparent 50%);
}

.card-image.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    font-size: 2rem;
    color: #ff6b35;
}

.source-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.source-badge.auto {
    background: rgba(124, 58, 237, 0.9);
    color: white;
}

.source-badge.manual {
    background: rgba(255, 193, 7, 0.9);
    color: #1a1a2e;
}

.card-body {
    padding: 1.5rem;
}

.card-meta-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: var(--vibe-text-muted);
}

.card-meta-top span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.card-title a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: #ff6b35;
}

.card-excerpt {
    color: var(--vibe-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.publish-date {
    font-size: 0.8rem;
    color: var(--vibe-text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.read-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff6b35;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-link:hover {
    gap: 0.75rem;
}

/* Pagination */
.vibe-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-number a,
.page-number span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--vibe-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-number a:hover {
    border-color: #ff6b35;
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
}

.page-number .current {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    border-color: transparent;
    color: white;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.empty-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    font-size: 2.5rem;
    color: #ff6b35;
}

.empty-state h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.empty-state p {
    color: var(--vibe-text-muted);
    margin-bottom: 1.5rem;
}

/* CTA Section */
.vibe-cta {
    position: relative;
    z-index: 1;
    padding: 4rem 0;
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 24px;
}

.cta-content h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.cta-content h2 i {
    color: #ffc857;
    margin-right: 0.5rem;
}

.cta-content p {
    color: var(--vibe-text-muted);
    margin: 0;
}

/* Responsive Styles for Public Page */
@media (max-width: 1024px) {
    .vibe-hero {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
        padding: 3rem 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-divider {
        display: none;
    }

    .topic-pills {
        gap: 0.5rem;
    }

    .topic-pill {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .vibe-articles-grid {
        grid-template-columns: 1fr;
    }

    .filter-indicator {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ============================================
   AUTH MODAL STYLES (Sleek Theme)
   Extracted from page-ai-community.php
   ============================================ */

/* Auth Section - Cyber Sleek Orange Theme */
.auth-section-sleek {
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.login-prompt-sleek {
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid rgba(255, 107, 53, 0.4);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    width: 100%;
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.15);
}

.login-prompt-sleek::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    animation: sleek-shimmer 3s linear infinite;
    pointer-events: none;
}

@keyframes sleek-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.login-prompt-sleek h3 {
    margin-bottom: 1.5rem;
    color: #ff6b35;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.login-prompt-sleek p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.auth-buttons-sleek {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.btn-sleek-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
}

.btn-sleek-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
}

.btn-sleek-outline {
    background: transparent;
    color: #ff6b35;
    border: 2px solid #ff6b35;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-sleek-outline:hover {
    background: rgba(255, 107, 53, 0.15);
    transform: translateY(-3px);
}

/* Modal Styles - Auth Modal for Sign In / Create Account */
/* These styles ensure the modal displays above ALL page content */
.auth-modal-sleek {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2147483647; /* Maximum possible z-index */
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.auth-modal-sleek.active {
    display: flex;
}

/* Ensure modal content is centered and scrollable on small screens */
.modal-content-sleek {
    background: linear-gradient(145deg, #1a1a2e 0%, #0f0f23 100%);
    border-radius: 20px;
    width: 100%;
    max-width: 450px;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    position: relative;
    padding: 2.5rem;
    border: 2px solid rgba(255, 107, 53, 0.5);
    box-shadow: 0 25px 80px rgba(255, 107, 53, 0.4), 0 0 0 1px rgba(255, 107, 53, 0.2), 0 0 100px rgba(0, 0, 0, 0.8);
    margin: auto;
    z-index: 1;
}

/* Scrollbar styling for modal */
.modal-content-sleek::-webkit-scrollbar {
    width: 8px;
}

.modal-content-sleek::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.modal-content-sleek::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 53, 0.4);
    border-radius: 4px;
}

.modal-content-sleek::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 107, 53, 0.6);
}

.close-modal-sleek {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
    background: none;
    border: none;
    line-height: 1;
}

.close-modal-sleek:hover {
    color: #ff6b35;
}

.form-container-sleek {
    display: none;
}

.form-container-sleek.active {
    display: block;
}

.form-container-sleek h3 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: #ff6b35;
    font-size: 1.75rem;
    font-weight: 700;
}

.form-container-sleek .form-description {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.form-sleek {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group-sleek {
    display: flex;
    flex-direction: column;
}

.form-group-sleek label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #ffffff;
    font-size: 0.95rem;
}

.form-group-sleek input {
    padding: 14px 16px;
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group-sleek input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.form-group-sleek input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.checkbox-group-sleek {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-group-sleek label {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-group-sleek input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #ff6b35;
    cursor: pointer;
}

.btn-sleek-full {
    width: 100%;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: #ffffff;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    margin-top: 0.5rem;
}

.btn-sleek-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
}

.btn-sleek-full:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-footer-sleek {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-footer-sleek p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.form-footer-sleek a {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.form-footer-sleek a:hover {
    color: #ff8c42;
    text-decoration: underline;
}

.form-message {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.terms-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.terms-text a {
    color: #06b6d4;
}

/* ============================================
   AI COMMUNITY PAGE - UI FIX SECTION
   Fixes for Content Submission and Auth Layout
   ============================================ */

/* Auth Section - Proper layout isolation */
.ai-community-page .auth-section-sleek {
    display: block;
    width: 100%;
    margin-bottom: 3rem;
    position: relative;
    z-index: 10;
    clear: both;
}

.ai-community-page .auth-section-sleek::after {
    content: '';
    display: table;
    clear: both;
}

.ai-community-page .login-prompt-sleek {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    padding: 2.5rem;
    box-sizing: border-box;
}

.ai-community-page .user-dashboard {
    display: block;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 20px;
    box-sizing: border-box;
}

.ai-community-page .welcome-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.ai-community-page .welcome-message h3 {
    color: #ff6b35;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.ai-community-page .user-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ai-community-page .user-stats .stat-item {
    background: rgba(255, 107, 53, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.ai-community-page .user-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

/* Community Features Section - Content Submission Fixes */
.ai-community-page .community-features {
    display: block;
    width: 100%;
    clear: both;
    margin-top: 2rem;
    position: relative;
    z-index: 5;
}

.ai-community-page .community-features::after {
    content: '';
    display: table;
    clear: both;
}

/* Section Header - Force block-level vertical flow */
.ai-community-page .community-features .section-header {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
}

.ai-community-page .community-features .section-header h2 {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
}

.ai-community-page .community-features .section-header p {
    display: block;
    width: 100%;
    max-width: 700px;
    margin: 0 auto 1.5rem auto;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Submission Requirement Box - Block layout fix */
.ai-community-page .submission-requirement {
    display: block;
    width: 100%;
    max-width: 700px;
    margin: 1.5rem auto 0 auto;
    padding: 1.5rem 2rem;
    background: rgba(255, 200, 87, 0.08);
    border: 1px solid rgba(255, 200, 87, 0.25);
    border-radius: 12px;
    box-sizing: border-box;
}

.ai-community-page .submission-requirement p {
    display: block;
    margin: 0;
    color: var(--accent-gold, #ffc857);
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: center;
}

.ai-community-page .submission-requirement strong {
    color: var(--accent-gold, #ffc857);
    font-weight: 600;
}

/* Submission Container - Proper centering and isolation */
.ai-community-page .submission-container {
    display: block;
    width: 100%;
    max-width: 650px;
    margin: 2rem auto;
    clear: both;
}

.ai-community-page .submission-form-card {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 2.5rem;
    box-sizing: border-box;
}

/* User Dashboard Section - Layout isolation */
.ai-community-page .user-dashboard-section {
    display: block;
    width: 100%;
    margin-top: 3rem;
    clear: both;
    position: relative;
    z-index: 4;
}

.ai-community-page .user-dashboard-section::after {
    content: '';
    display: table;
    clear: both;
}

.ai-community-page .user-dashboard-section .section-header {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
}

.ai-community-page .user-dashboard-section .section-header h2 {
    display: block;
    width: 100%;
    margin-bottom: 0.75rem;
}

.ai-community-page .user-dashboard-section .section-header p {
    display: block;
    width: 100%;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Dashboard Stats - Proper grid layout */
.ai-community-page .dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
}

.ai-community-page .stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

/* Submissions Table Container */
.ai-community-page .submissions-table-container {
    display: block;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-sizing: border-box;
}

.ai-community-page .submissions-table-container h3 {
    display: block;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.ai-community-page .table-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ai-community-page .table-filters select {
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
}

/* CTA Section for non-logged users */
.ai-community-page .cta-section {
    display: block;
    width: 100%;
    margin-top: 2rem;
    clear: both;
}

.ai-community-page .cta-container {
    display: block;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 20px;
    box-sizing: border-box;
}

.ai-community-page .cta-container h3 {
    display: block;
    color: #ff6b35;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.ai-community-page .cta-container > p {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.ai-community-page .cta-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.ai-community-page .cta-features .feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.ai-community-page .cta-features .feature-icon {
    font-size: 1.25rem;
}

.ai-community-page .auth-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* Responsive adjustments for AI Community page */
@media (max-width: 768px) {
    .ai-community-page .login-prompt-sleek,
    .ai-community-page .user-dashboard,
    .ai-community-page .submission-requirement,
    .ai-community-page .submission-container,
    .ai-community-page .cta-container {
        padding: 1.5rem;
        margin-left: 1rem;
        margin-right: 1rem;
        max-width: calc(100% - 2rem);
    }

    .ai-community-page .auth-buttons-sleek,
    .ai-community-page .user-actions,
    .ai-community-page .auth-buttons {
        flex-direction: column;
        width: 100%;
    }

    .ai-community-page .auth-buttons-sleek button,
    .ai-community-page .user-actions a,
    .ai-community-page .auth-buttons button,
    .ai-community-page .auth-buttons a {
        width: 100%;
    }

    .ai-community-page .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-community-page .table-filters {
        flex-direction: column;
    }

    .ai-community-page .table-filters select {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .ai-community-page .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .ai-community-page .submission-form-card {
        padding: 1.5rem;
    }
}

/* Body scroll lock when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Auth Modal Responsive Styles */
@media (max-width: 768px) {
    .auth-modal-sleek {
        padding: 0.5rem;
        align-items: flex-start;
        padding-top: 2rem;
    }

    .modal-content-sleek {
        padding: 1.5rem;
        max-width: 100%;
        border-radius: 16px;
        margin: 0 auto;
    }

    .form-container-sleek h3 {
        font-size: 1.5rem;
    }

    .form-group-sleek input {
        padding: 12px 14px;
        font-size: 16px; /* Prevents iOS zoom on input focus */
    }

    .btn-sleek-full {
        padding: 14px 20px;
        font-size: 1rem;
    }

    .close-modal-sleek {
        top: 0.75rem;
        right: 1rem;
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .auth-modal-sleek {
        padding: 0;
        padding-top: 1rem;
    }

    .modal-content-sleek {
        padding: 1.25rem;
        border-radius: 12px 12px 0 0;
        max-height: calc(100vh - 1rem);
        margin-top: auto;
    }

    .form-group-sleek label {
        font-size: 0.9rem;
    }

    .form-footer-sleek p {
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   Vibe Coding Tools Showcase Styles
   ========================================================================== */

/* Showcase Hero Section */
.vibe-showcase-hero {
    padding: 80px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.vibe-showcase-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.vibe-showcase-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Showcase Controls */
.vibe-showcase-controls-wrapper {
    position: sticky;
    top: 80px;
    z-index: 100;
    padding: 0 20px;
}

.vibe-showcase-controls {
    max-width: 1200px;
    margin: 30px auto;
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 107, 53, 0.15);
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.controls-left {
    display: flex;
    gap: 24px;
    align-items: center;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.control-group label {
    color: #cbd5e1;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.control-group select,
.control-group .filter-select {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 107, 53, 0.2);
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    min-width: 180px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.control-group select:hover,
.control-group .filter-select:hover {
    border-color: rgba(255, 107, 53, 0.4);
}

.control-group select:focus,
.control-group .filter-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
    border-color: #ff6b35;
}

.controls-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

#results-count {
    color: #94a3b8;
    font-size: 14px;
}

#clear-filters {
    background: none;
    border: none;
    color: #ff6b35;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

/* Showcase Grid */
.vibe-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 400px;
}

/* Tool Card */
.vibe-tool-card {
    background: rgba(30, 30, 45, 0.7);
    border: 1px solid rgba(255, 107, 53, 0.15);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
    contain: layout paint;
}

.vibe-tool-card:hover {
    border-color: rgba(255, 107, 53, 0.4);
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.2);
    transform: translateY(-4px);
}

/* Tool Thumbnail */
.vibe-tool-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #1a1a2e;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.vibe-tool-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vibe-tool-card:hover .vibe-tool-thumbnail img {
    transform: scale(1.05);
}

/* Tool Content */
.vibe-tool-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.vibe-tool-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vibe-tool-description {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    cursor: help;
}

/* Tooltip */
.vibe-tool-description[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.98);
    color: #ffffff;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
    width: 280px;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    animation: fadeIn 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

/* Tool Metadata */
.vibe-tool-metadata {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 16px;
}

.vibe-tool-category {
    background: rgba(6, 182, 212, 0.15);
    color: #06b6d4;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vibe-tool-date {
    font-size: 12px;
    color: #64748b;
}

/* Try Tool Button */
.vibe-tool-button {
    text-align: center;
    padding: 12px 24px;
    background: linear-gradient(90deg, #ff6b35, #ff8c42);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    width: 100%;
}

.vibe-tool-button:hover {
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
    transform: translateY(-2px);
    color: white;
}

.vibe-tool-button:active {
    transform: translateY(0);
}

/* Pagination */
.vibe-showcase-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px auto 80px auto;
    flex-wrap: wrap;
}

.vibe-showcase-pagination .page-numbers {
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #94a3b8;
}

.vibe-showcase-pagination .page-numbers.current {
    background: #ff6b35;
    color: #ffffff;
    border-color: #ff6b35;
    font-weight: 600;
}

.vibe-showcase-pagination .page-numbers:hover:not(.current) {
    background: rgba(30, 41, 59, 0.8);
    color: #ffffff;
    border-color: rgba(255, 107, 53, 0.4);
}

/* Loading State */
.grid-loader {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 107, 53, 0.3);
    border-radius: 50%;
    border-top-color: #ff6b35;
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto 16px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Mobile Filter Bottom Sheet */
.vibe-filter-trigger {
    display: none; /* Desktop default */
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #ff6b35;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 24px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    z-index: 900;
    cursor: pointer;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease;
}

.vibe-filter-trigger:hover {
    transform: scale(1.05);
}

.vibe-bottom-sheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: #1a1a2e;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    z-index: 1001;
    transition: bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 85vh;
    overflow-y: auto;
}

.vibe-bottom-sheet.active {
    bottom: 0;
}

.vibe-bottom-sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.vibe-bottom-sheet-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sheet-header h3 {
    margin: 0;
    color: white;
    font-size: 18px;
}

.vibe-bottom-sheet-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.sheet-content {
    padding: 20px;
}

.mobile-filter-group {
    margin-bottom: 24px;
}

.mobile-filter-group label {
    display: block;
    color: #cbd5e1;
    font-weight: 600;
    margin-bottom: 12px;
}

.mobile-filter-group select {
    width: 100%;
    padding: 12px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid #475569;
    color: white;
    border-radius: 8px;
}

.mobile-categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mobile-cat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 41, 59, 0.5);
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #475569;
    color: #cbd5e1;
    font-size: 14px;
}

.mobile-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.mobile-actions button {
    flex: 1;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.mobile-actions .btn-primary {
    background: #ff6b35;
    color: white;
    border: none;
}

.mobile-actions .btn-text {
    background: transparent;
    color: #94a3b8;
    border: 1px solid #475569;
}

/* Responsive */
@media (max-width: 1024px) {
    .vibe-showcase-controls {
        display: none;
    }
    
    .vibe-filter-trigger {
        display: flex;
    }
}

@media (max-width: 768px) {
    .vibe-showcase-hero h1 {
        font-size: 32px;
    }
    
    .vibe-showcase-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
        padding: 30px 16px;
    }
}

@media (max-width: 480px) {
    .vibe-showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .vibe-tool-thumbnail {
        aspect-ratio: 16 / 9;
    }
}

