/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.loaded {
    opacity: 1;
}

/* DEMO DISCLAIMER BANNER */
.demo-disclaimer-banner {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    font-size: 0.875rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Demo Warning in Modals */
.demo-warning {
    background: rgba(251, 191, 36, 0.1);
    border: 2px solid #fbbf24;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.demo-warning i {
    color: #fbbf24;
    font-size: 1.5rem;
}

.demo-warning p {
    color: #fbbf24;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}


/* Dashboard Layout Styles */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    padding-top: 120px; /* Account for fixed nav + disclaimer banner */
    position: relative;
    z-index: 1;
}

/* Sidebar Styles */
.sidebar {
    width: 280px;
    min-width: 280px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    left: 0;
    top: 120px; /* Account for nav + banner */
    bottom: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 2rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.user-details h3 {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.user-details p {
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    margin-bottom: 0.25rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    font-weight: 500;
}

.nav-item:hover {
    background: rgba(99, 102, 241, 0.1);
    color: #e2e8f0;
    border-left-color: rgba(99, 102, 241, 0.3);
}

.nav-item.active {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.05));
    color: #6366f1;
    border-left-color: #6366f1;
}

.nav-item i {
    width: 20px;
    text-align: center;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 1rem 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-stats {
    display: flex;
    gap: 1rem;
}

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

.stat-number {
    display: block;
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: #94a3b8;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Main Content Area */
.main-content {
    flex: 1;
    margin-left: 280px;
    min-height: calc(100vh - 80px);
    background: rgba(15, 23, 42, 0.5);
    position: relative;
    overflow-y: auto;
    padding: 0 2rem;
}

/* Content Panels */
.content-panel {
    padding: 2rem;
    min-height: calc(100vh - 80px);
    display: block;
}

.content-panel.hidden {
    display: none;
}

/* Panel Headers */
.panel-header {
    margin-bottom: 2rem;
    text-align: center;
}

.panel-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #10b981);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.panel-subtitle {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Stats Grid for Dashboard */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Recent Activity */
.recent-activity {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.recent-activity h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    transition: background 0.2s ease;
}

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

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
}

.activity-icon.resolved {
    background: linear-gradient(135deg, #10b981, #059669);
}

.activity-icon.progress {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.activity-icon.new {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.activity-content {
    flex: 1;
}

.activity-content p {
    color: white;
    margin-bottom: 0.25rem;
}

.activity-time {
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: 100vw;
        max-width: 320px;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .panel-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .content-panel {
        padding: 1rem;
    }
}

/* Dashboard Button */
.mobile-sidebar-toggle {
    display: none;
    position: fixed;
    top: 100px;
    left: 1rem;
    z-index: 200;
    background: rgba(99, 102, 241, 0.9);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.mobile-sidebar-toggle:hover {
    background: rgba(99, 102, 241, 1);
    transform: scale(1.1);
}

/* Authentication Styles */
.user-auth-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.auth-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 0.875rem;
}

.login-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.register-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.register-btn:hover {
    background: linear-gradient(135deg, #5b5bd6, #7c3aed);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.user-menu {
    display: flex;
    align-items: center;
}

.user-info-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-avatar-nav {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
}

.user-name-nav {
    color: white;
    font-weight: 500;
    font-size: 0.875rem;
}

.logout-btn {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    transform: scale(1.1);
}

/* Auth Modal Styles */
.auth-modal {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.modal-close {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

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

.modal-body {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    color: white;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.auth-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.auth-input:focus {
    outline: none;
    border-color: #6366f1;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.auth-input::placeholder {
    color: #94a3b8;
}

.auth-submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.auth-submit-btn:hover {
    background: linear-gradient(135deg, #5b5bd6, #7c3aed);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.auth-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.auth-switch {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-switch p {
    color: #94a3b8;
    margin: 0;
}

.switch-auth-btn {
    background: none;
    border: none;
    color: #6366f1;
    cursor: pointer;
    font-weight: 500;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.switch-auth-btn:hover {
    color: #8b5cf6;
}

/* Loading States */
.auth-loading {
    position: relative;
    pointer-events: none;
}

.auth-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Error States */
.auth-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-success {
    color: #10b981;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-top: 2px solid #6366f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Smooth transitions for all interactive elements */
.interactive {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animated Background */
.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6, #10b981);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    opacity: 0.7;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.particle:nth-child(3) {
    top: 80%;
    left: 40%;
    animation-delay: 1s;
    animation-duration: 7s;
}

.particle:nth-child(4) {
    top: 40%;
    left: 60%;
    animation-delay: 3s;
    animation-duration: 5s;
}

.particle:nth-child(5) {
    top: 10%;
    left: 90%;
    animation-delay: 4s;
    animation-duration: 9s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.7; }
    25% { transform: translateY(-20px) scale(1.1); opacity: 1; }
    50% { transform: translateY(-40px) scale(1); opacity: 0.8; }
    75% { transform: translateY(-20px) scale(0.9); opacity: 0.9; }
}

/* Navigation Styles */
nav {
    transition: all 0.3s ease;
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 80px; /* Fixed height to prevent cutting */
}

.brand-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    flex: 1;
    min-width: 0; /* Allow text to shrink if needed */
}

.logo-container h1 {
    font-size: 2.5rem; /* Slightly smaller to fit better */
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.1;
    white-space: nowrap; /* Prevent text wrapping */
}

.brand-slogan {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
    font-style: italic;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(148, 163, 184, 0.3);
    white-space: nowrap; /* Prevent slogan wrapping */
}

.logo-image {
    height: 65px; /* Slightly smaller to balance */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5));
    transition: all 0.3s ease;
    border-radius: 8px;
    flex-shrink: 0; /* Prevent logo from shrinking */
}

.logo-image:hover {
    filter: drop-shadow(0 0 25px rgba(99, 102, 241, 0.7));
    transform: scale(1.05); /* Smaller scale to prevent overflow */
}

.nav-link {
    color: #e2e8f0;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    transform: translateY(-2px);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

/* Section Container */
.section-container {
    position: relative;
    padding: 2rem 0;
}

/* Hero Section */
.hero-title {
    font-weight: 900;
    letter-spacing: -0.02em;
}

@keyframes pulse-glow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(99, 102, 241, 0.5),
                     0 0 40px rgba(139, 92, 246, 0.3),
                     0 0 60px rgba(16, 185, 129, 0.2);
    }
    50% {
        text-shadow: 0 0 30px rgba(99, 102, 241, 0.8),
                     0 0 60px rgba(139, 92, 246, 0.5),
                     0 0 90px rgba(16, 185, 129, 0.3);
    }
}

.animate-pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

/* CTA Button */
.cta-button {
    position: relative;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #10b981);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 2rem;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4);
}

.button-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.cta-button:hover .button-glow {
    animation: shine 0.6s ease-in-out;
    opacity: 1;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* Stats Cards */
.stats-container {
    animation: fadeInUp 1s ease 0.5s both;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #10b981);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
}

/* Section Titles */
.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #10b981);
    border-radius: 2px;
}

/* Report Section */
.report-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Upload Section (Left Side) */
.upload-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Location Section (Right Side) */
.location-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Address Container */
.address-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 1.5rem;
}

.form-input {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.form-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder {
    color: #94a3b8;
}

.address-help {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
    font-style: italic;
}

/* Submit button in location section */
.location-section .submit-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    border-radius: 1rem;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.location-section .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
    background: linear-gradient(135deg, #5b5bd6, #7c3aed);
}

/* Responsive design for report section */
@media (max-width: 968px) {
    .report-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .location-section {
        order: -1;
    }
}

@media (max-width: 768px) {
    .report-container {
        gap: 1.5rem;
    }
    
    .upload-section,
    .location-section {
        gap: 1rem;
    }
    
    .address-container {
        padding: 1rem;
    }
}

.upload-area {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px dashed rgba(139, 92, 246, 0.5);
    border-radius: 1.5rem;
    padding: 3rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.upload-area:hover {
    border-color: rgba(139, 92, 246, 0.8);
    background: rgba(139, 92, 246, 0.1);
    transform: scale(1.02);
}

.upload-area.dragover {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.upload-content {
}

/* No Reports Message */
.no-reports-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    width: 100%;
    grid-column: 1 / -1;
}

.no-reports-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.no-reports-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.no-reports-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.no-reports-card h3 {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.no-reports-description {
    color: #94a3b8;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.no-reports-cta {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    border-radius: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.no-reports-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
}

.no-reports-cta:active {
    transform: translateY(-1px);
}

/* No Reports Message */
.no-reports-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    width: 100%;
    grid-column: 1 / -1;
}

.no-reports-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.no-reports-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.no-reports-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.no-reports-card h3 {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.no-reports-description {
    color: #94a3b8;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.no-reports-cta {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    border-radius: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.no-reports-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
}

.no-reports-cta:active {
    transform: translateY(-1px);
}

.upload-preview {
    display: none !important;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
    gap: 1rem !important;
    margin-top: 1rem !important;
    padding: 1rem !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 1rem !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    width: 100% !important;
    min-height: 140px !important;
}

.upload-preview.active {
    display: grid !important;
}

.preview-item {
    position: relative !important;
    border-radius: 0.75rem !important;
    overflow: hidden !important;
    aspect-ratio: 1 !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease !important;
    min-height: 120px !important;
    width: 100% !important;
}

.preview-item:hover {
    transform: scale(1.05) !important;
    border-color: rgba(99, 102, 241, 0.5) !important;
}

.preview-item img,
.preview-item video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0.75rem !important;
    display: block !important;
}

.preview-remove {
    position: absolute !important;
    top: 0.5rem !important;
    right: 0.5rem !important;
    background: rgba(239, 68, 68, 0.9) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 28px !important;
    height: 28px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    font-weight: bold !important;
    transition: all 0.2s ease !important;
    z-index: 10 !important;
}

.preview-remove:hover {
    background: rgba(239, 68, 68, 1) !important;
    transform: scale(1.1) !important;
}

/* Form Section (now part of upload section) */
.form-section,
.location-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.map-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.mini-map {
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 1rem;
    height: 250px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

#reportMap {
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    z-index: 1;
}

/* Fix Leaflet map controls styling */
.leaflet-container {
    background: transparent !important;
    border-radius: 1rem;
}

.leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.leaflet-control-zoom a {
    background: rgba(15, 23, 42, 0.9) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.leaflet-control-zoom a:hover {
    background: rgba(99, 102, 241, 0.9) !important;
}

.leaflet-control-attribution {
    background: rgba(15, 23, 42, 0.8) !important;
    color: #94a3b8 !important;
    font-size: 0.75rem !important;
    border-radius: 0.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.leaflet-control-attribution a {
    color: #6366f1 !important;
}

.mini-map:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(99, 102, 241, 0.3);
}

.map-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #94a3b8;
}

.location-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #ef4444;
    border-radius: 50% 50% 50% 0;
    transform-origin: 50% 100%;
    animation: pin-bounce 2s ease-in-out infinite;
    opacity: 0;
}

.location-pin.active {
    opacity: 1;
}

@keyframes pin-bounce {
    0%, 100% { transform: translate(-50%, -50%) rotate(-45deg) scale(1); }
    50% { transform: translate(-50%, -60%) rotate(-45deg) scale(1.1); }
}

.location-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem 1.5rem;
    margin-top: 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.location-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

/* Form Fields */
.form-fields {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-select,
.form-textarea {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-select option {
    background: #1e293b;
    color: white;
    padding: 0.5rem;
    border: none;
}

.form-select option:hover {
    background: #334155;
}

.form-select option:checked {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

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

/* Voice Toast Messages */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.voice-toast {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.voice-toast .toast-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.voice-toast i {
    font-size: 1.2rem;
    color: #60a5fa;
}
/* AI Voice Input */
.ai-voice-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    margin: 1rem 0;
}

.ai-voice-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.ai-voice-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.ai-voice-btn.recording {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    animation: ai-pulse 1.2s ease-in-out infinite;
}

@keyframes ai-pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4), 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    50% {
        box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6), 0 0 0 8px rgba(239, 68, 68, 0);
    }
}

.voice-icon {
    width: 20px;
    height: 20px;
    color: white;
    z-index: 2;
}

.voice-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.2);
    opacity: 0;
    animation: pulse-ring 1.5s ease-out infinite;
}

.ai-voice-btn.recording .voice-pulse {
    opacity: 1;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.voice-status-text {
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.voice-status-text.listening {
    color: #ef4444;
    animation: text-pulse 1s ease-in-out infinite;
}

@keyframes text-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Submit Button */
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 1rem;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .report-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title span:first-child {
        font-size: 3rem;
    }
    
    .hero-title span:last-child {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .community-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .filters-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .kanban-board {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0 0 1rem 1rem;
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .chatbot-window {
        width: 100vw;
        height: 100vh;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }
    
    .badges-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .upload-area {
        padding: 2rem 1rem;
    }
    
    .voice-input-container {
        padding: 1rem;
    }
    
    .popup-content {
        padding: 1rem;
    }
    
    .modal-content {
        padding: 2rem;
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title span:first-child {
        font-size: 2.5rem;
    }
    
    .hero-title span:last-child {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .filter-chips,
    .category-filters {
        justify-content: center;
    }
    
    .leader-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .leader-info h4 {
        font-size: 1rem;
    }
    
    .reports-count {
        font-size: 1rem;
    }
}

/* Desktop hover effects */
@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
    
    .nav-links {
        display: flex !important;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .cta-button:hover {
        transform: none;
    }
    
    .cta-button:active {
        transform: scale(0.95);
    }
    
    .nav-link:hover {
        transform: none;
    }
    
    .nav-link:active {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3));
    }
    
    .filter-chip:hover,
    .category-chip:hover {
        transform: none;
    }
    
    .filter-chip:active,
    .category-chip:active {
        transform: scale(0.95);
    }
}

/* My Reports Section */
.reports-container {
    max-width: 1200px;
    margin: 0 auto;
}

.reports-filter {
    margin-bottom: 3rem;
}

.filter-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-tab {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 0.75rem 2rem;
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.filter-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.filter-tab.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
    color: white;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.report-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    padding: 1rem;
}

.report-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.report-card.progress {
    border-left: 4px solid #3b82f6;
}

.report-card.resolved {
    border-left: 4px solid #10b981;
}

.report-image {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-right: 1rem;
}

.report-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.report-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.75rem;
}

.report-placeholder i {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.report-card:hover .report-image img {
    transform: scale(1.05);
}

.report-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.report-description {
    color: #94a3b8;
    line-height: 1.4;
    font-size: 0.875rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.report-address {
    color: #6b7280;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.report-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.75rem;
}

.report-id {
    color: #6b7280;
    font-family: 'Courier New', monospace;
}

.report-date {
    color: #94a3b8;
}

.report-upvotes {
    color: #10b981;
    font-weight: 600;
}

.report-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.action-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(99, 102, 241, 0.3);
}

.action-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.action-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 10px rgba(255, 255, 255, 0.1);
}

/* Edit Report Modal */
.edit-report-modal {
    max-width: 450px;
    width: 85%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.edit-report-modal .modal-header {
    padding: 1.5rem 1.5rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.edit-report-modal .modal-body {
    padding: 1.5rem;
}

.edit-report-modal .form-group {
    margin-bottom: 1rem;
}

.edit-report-modal label {
    display: block;
    color: #e2e8f0;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.edit-report-modal .form-select,
.edit-report-modal .form-input,
.edit-report-modal .form-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 0.875rem;
    font-family: inherit;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.edit-report-modal .form-select:focus,
.edit-report-modal .form-input:focus,
.edit-report-modal .form-textarea:focus {
    outline: none;
    border-color: #6366f1;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
}

.edit-report-modal .form-select option {
    background: #1e293b;
    color: white;
}

.edit-report-modal .form-textarea {
    resize: vertical;
    min-height: 80px;
    max-height: 140px;
}

.modal-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-actions .action-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    min-width: 100px;
}

.modal-actions .action-btn:not(.secondary) {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.modal-actions .action-btn.secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.modal-actions .action-btn:hover {
    transform: translateY(-1px);
}

.modal-actions .action-btn:not(.secondary):hover {
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.modal-actions .action-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Modal close button styling */
.edit-report-modal .modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 0.5rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
}

.edit-report-modal .modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Validation Feedback Styles */
.validation-feedback {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.25rem;
    margin: 1rem 0;
    backdrop-filter: blur(10px);
    animation: slideDown 0.3s ease-out;
}

.validation-errors {
    border-left: 4px solid #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.validation-warnings {
    border-left: 4px solid #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.feedback-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: white;
}

.validation-errors .feedback-header i {
    color: #ef4444;
}

.validation-warnings .feedback-header i {
    color: #f59e0b;
}

.feedback-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feedback-list li {
    padding: 0.5rem 0;
    color: #e2e8f0;
    position: relative;
    padding-left: 1.5rem;
}

.validation-errors .feedback-list li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: bold;
}

.validation-warnings .feedback-list li::before {
    content: '⚠';
    position: absolute;
    left: 0;
    color: #f59e0b;
    font-weight: bold;
}

.feedback-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    justify-content: flex-end;
}

.feedback-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: none;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.feedback-btn.continue-anyway {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.feedback-btn.improve-report {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feedback-btn:hover {
    transform: translateY(-1px);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Progress Tracker Styles */
.progress-tracker {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.progress-label {
    font-weight: 600;
    color: white;
    font-size: 0.875rem;
}

.progress-estimate {
    font-size: 0.75rem;
    color: #94a3b8;
    font-style: italic;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    font-size: 0.75rem;
    color: #64748b;
}

.progress-step i {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
    font-size: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.progress-step.completed i {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-color: #10b981;
}

.progress-step.current i {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border-color: #6366f1;
    animation: pulse 2s infinite;
}

.progress-step.completed span,
.progress-step.current span {
    color: white;
    font-weight: 500;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(99, 102, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

/* Help Section */
.help-container {
    max-width: 1200px;
    margin: 0 auto;
}

.help-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.help-category {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.help-category:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.category-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.help-category h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.help-category p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.help-list {
    list-style: none;
    text-align: left;
}

.help-list li {
    color: #e2e8f0;
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.help-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.contact-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 3rem;
    text-align: center;
}

.contact-section h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #e2e8f0;
    font-size: 1.125rem;
}

.contact-method i {
    color: #6366f1;
    font-size: 1.5rem;
}

/* Location Search Styles */
.location-search-container {
    margin-bottom: 1rem;
    position: relative;
}

.search-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.location-search-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.location-search-input:focus {
    outline: none;
    border-color: #6366f1;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.location-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-location-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-location-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-suggestions.show {
    display: block;
}

.suggestion-item {
    padding: 0.75rem 1rem;
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.suggestion-item:hover {
    background: rgba(99, 102, 241, 0.1);
    color: white;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item .suggestion-name {
    font-weight: 600;
    display: block;
}

.suggestion-item .suggestion-details {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.25rem;
}

/* Location prompt styles */
.location-prompt-content {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 3rem;
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: modal-content-enter 0.3s ease-out;
}

.location-prompt-content i {
    font-size: 3rem;
    color: #6366f1;
    margin-bottom: 1rem;
}

.location-prompt-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.location-prompt-content p {
    color: #94a3b8;
    margin-bottom: 2rem;
}

.prompt-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.prompt-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    border-radius: 1rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prompt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.prompt-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.prompt-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

/* Bounce animation for location marker */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Map container fixes */
.mini-map {
    background: transparent;
    border-radius: 1rem;
    height: 200px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.explore-map {
    width: 100%;
    height: 100%;
    background: transparent;
    position: relative;
}

/* Toast notifications */
.error-toast {
    animation: slideInRight 0.3s ease-out;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutLeft {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-100%);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Coordinates display */
.coordinates-display {
    font-family: 'Inter', sans-serif;
}

.coords-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.coords-icon {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.coords-info {
    flex: 1;
}

.coords-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.coords-info p {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    font-family: 'Courier New', monospace;
    opacity: 0.9;
}

.coords-info p strong {
    font-weight: 600;
    margin-right: 0.5rem;
}

.coords-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.coords-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Enhanced location prompt */
.location-prompt-content {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 3rem;
    text-align: center;
    max-width: 450px;
    width: 90%;
    animation: modal-content-enter 0.3s ease-out;
}

.prompt-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(99, 102, 241, 0);
    }
}

.location-status {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #94a3b8;
}

.location-status i {
    font-size: 1.125rem;
}

.location-prompt-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.location-prompt-content p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Leaflet map custom styles */
.leaflet-container {
    background: transparent !important;
}

.leaflet-control-attribution {
    display: none !important;
}

.issue-marker {
    z-index: 1000;
}

.user-location-marker,
.selected-location-marker {
    z-index: 1001;
}

/* Additional animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Map Explore Section */
.map-explore-container {
    max-width: 1200px;
    margin: 0 auto;
}

.filters-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-chips,
.category-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-chip,
.category-chip {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.filter-chip:hover,
.category-chip:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.filter-chip.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
    color: white;
}

.category-chip {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Explore Map */
.explore-map-container {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    height: 600px;
    overflow: hidden;
}

.explore-map {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e293b, #334155, #1e293b);
    position: relative;
}

.map-pin {
    position: absolute;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.map-pin:hover {
    transform: scale(1.2);
}

.pin-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50% 50% 50% 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transform: rotate(-45deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.pin-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #1f2937;
    border-radius: 50%;
}

.pin-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid rgba(99, 102, 241, 0.6);
    border-radius: 50%;
    animation: pin-pulse 2s ease-in-out infinite;
}

.map-pin.resolved .pin-pulse {
    border-color: rgba(16, 185, 129, 0.6);
}

@keyframes pin-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Issue Popup */
.issue-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    width: 90%;
    max-width: 500px;
    z-index: 50;
    animation: popup-enter 0.3s ease-out;
}

@keyframes popup-enter {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.popup-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.popup-close {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.popup-content {
    padding: 1.5rem;
}

.popup-image {
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.popup-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.popup-details p {
    color: #e2e8f0;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.popup-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-badge.pending {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-badge.progress {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-badge.resolved {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.popup-id {
    color: #94a3b8;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

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

.upvote-btn,
.comment-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0.75rem;
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.upvote-btn:hover,
.comment-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.upvote-btn.upvoted {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
}

/* Community Section */
.community-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

/* Leaderboard */
.leaderboard {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 2rem;
}

.leaderboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.leaderboard-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.period-selector {
    display: flex;
    gap: 0.5rem;
}

.period-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.period-btn:hover,
.period-btn.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
    color: white;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.leader-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.leader-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.leader-item.rank-1 {
    border-color: rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
}

.leader-item.rank-2 {
    border-color: rgba(192, 192, 192, 0.5);
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.1), rgba(192, 192, 192, 0.05));
}

.leader-item.rank-3 {
    border-color: rgba(205, 127, 50, 0.5);
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.1), rgba(205, 127, 50, 0.05));
}

.rank-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.125rem;
    color: white;
}

.leader-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #374151, #4b5563);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 1.5rem;
}

.leader-info {
    flex: 1;
}

.leader-info h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.leader-rank {
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
}

.leader-stats {
    text-align: right;
}

.reports-count {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 0.25rem;
}

.points {
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Achievements */
.achievements-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 2rem;
}

.achievements-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    text-align: center;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.badge-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.badge-item.earned {
    opacity: 1;
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    transform: scale(1.05);
}

.badge-item:hover {
    transform: translateY(-5px) scale(1.05);
}

.badge-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.badge-name {
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.badge-desc {
    color: #94a3b8;
    font-size: 0.75rem;
    line-height: 1.4;
}

/* Admin Dashboard */
.admin-container {
    max-width: 1400px;
    margin: 0 auto;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.admin-stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.admin-stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.stat-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-header i {
    font-size: 1.5rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-change {
    font-size: 0.875rem;
    color: #6b7280;
}

.stat-change.positive {
    color: #10b981;
}

/* Kanban Board */
.kanban-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.kanban-column {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    overflow: hidden;
}

.column-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.column-header.pending {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(251, 191, 36, 0.1));
}

.column-header.progress {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
}

.column-header.resolved {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
}

.column-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
}

.count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.kanban-cards {
    padding: 1rem;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.kanban-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1rem;
    cursor: grab;
    transition: all 0.3s ease;
}

.kanban-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.kanban-card:active {
    cursor: grabbing;
}

.kanban-card.resolved {
    opacity: 0.7;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.issue-type {
    font-size: 0.875rem;
    font-weight: 600;
    color: #e2e8f0;
}

.priority {
    padding: 0.125rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.priority.high {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.priority.medium {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.priority.low {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.card-description {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
}

.ticket-id {
    color: #6b7280;
    font-family: 'Courier New', monospace;
}

.upvotes {
    color: #10b981;
}

.assigned {
    color: #3b82f6;
}

.resolved-date {
    color: #6b7280;
}

/* Chatbot */
.chatbot-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.chatbot-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1.5rem;
    color: white;
}

.chatbot-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4);
}

.chatbot-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(99, 102, 241, 0.6);
    border-radius: 50%;
    animation: chatbot-pulse 2s ease-in-out infinite;
}

@keyframes chatbot-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: chatbot-enter 0.3s ease-out;
}

@keyframes chatbot-enter {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chatbot-header {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
}

.chatbot-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.chatbot-close {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bot-message,
.user-message {
    display: flex;
    gap: 0.75rem;
    animation: message-enter 0.3s ease-out;
}

.user-message {
    flex-direction: row-reverse;
}

@keyframes message-enter {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: white;
    flex-shrink: 0;
}

.user-message .message-avatar {
    background: linear-gradient(135deg, #10b981, #059669);
}

.message-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    color: #e2e8f0;
    font-size: 0.875rem;
    line-height: 1.5;
    max-width: 80%;
}

.user-message .message-content {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
    color: white;
}

.chatbot-quick-replies {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.quick-reply-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 0.5rem 0.75rem;
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.75rem;
    font-weight: 500;
}

.quick-reply-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.chatbot-input {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 0.5rem;
}

.chatbot-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 0.875rem;
}

.chatbot-input input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.chatbot-input input::placeholder {
    color: #6b7280;
}

.send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

/* Success Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: modal-enter 0.3s ease-out;
}

@keyframes modal-enter {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.modal-content {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 3rem;
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: modal-content-enter 0.3s ease-out 0.1s both;
}

@keyframes modal-content-enter {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.modal-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.modal-content p {
    color: #94a3b8;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.ticket-id {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.125rem;
}

.modal-subtext {
    font-size: 0.875rem;
    color: #6b7280;
}

.modal-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 1rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

/* Creators Page Styles - Dark Futuristic Theme */
#panel-creators {
    padding: 2rem;
    background: linear-gradient(135deg, #0f172a, #1e293b, #0f172a);
    min-height: calc(100vh - 80px);
}

#panel-creators .panel-header {
    text-align: center;
    margin-bottom: 3rem;
}

#panel-creators .panel-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(0, 245, 255, 0.5);
    font-family: 'Segoe UI Emoji', 'Noto Color Emoji', 'Apple Color Emoji', 'Segoe UI', system-ui, sans-serif;
    line-height: 1.2;
    color: transparent;
    background: linear-gradient(135deg, #00f5ff, #0ea5e9, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
}

#panel-creators .panel-title::before {
    content: '🚀 ';
    color: #ff6b35;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #ff6b35;
    background-clip: unset;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
    margin-right: 0.5rem;
}

#panel-creators .panel-subtitle {
    color: #64748b;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
    font-family: 'Segoe UI Emoji', 'Noto Color Emoji', 'Apple Color Emoji', 'Segoe UI', system-ui, sans-serif;
    line-height: 1.4;
}

.creators-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 0 1rem;
}

/* Same background for all creator cards */
.creator-card {
    background: rgba(37, 99, 235, 0.2);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(0, 245, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.creator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.5rem;
    padding: 2px;
    background: linear-gradient(135deg, #00f5ff, #0ea5e9, #3b82f6);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: exclude;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.creator-card:hover::before {
    opacity: 1;
}

.creator-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 245, 255, 0.3);
}

/* Remove individual card backgrounds - all cards same color now */

.creator-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    position: relative;
    border: 2px solid rgba(0, 245, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
    transition: all 0.4s ease;
}

.creator-card:hover .creator-avatar {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.6);
}

.creator-avatar-image {
    background: none;
}

.creator-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.creator-name {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Segoe UI Emoji', 'Noto Color Emoji', 'Apple Color Emoji', 'Segoe UI', system-ui, sans-serif;
    line-height: 1.3;
}

.creator-title {
    color: #60a5fa;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.creator-description {
    color: #ffffff;
    font-size: 0.8rem;
    line-height: 1.4;
    text-align: left;
    flex-grow: 1;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
    .creators-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .creator-card {
        min-height: 350px;
    }
}

@media (max-width: 968px) {
    .creators-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .creator-card {
        min-height: auto;
    }
    
    #panel-creators .panel-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    #panel-creators {
        padding: 1rem;
    }
    
    .creators-grid {
        padding: 0;
    }
    
    .creator-card {
        padding: 1.25rem;
    }
}

/* Rewards & Gamification Section */
.rewards-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* User Rewards Overview */
.user-rewards-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.user-points-card {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    padding: 2rem;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid rgba(245, 158, 11, 0.3);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.2);
}

.points-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.points-info h3 {
    margin: 0 0 0.5rem 0;
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
}

.points-count {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    display: block;
    margin-bottom: 0.25rem;
}

.points-rank {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin: 0;
}

.user-progress-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1.5rem;
}

.user-progress-card h3 {
    color: white;
    margin: 0 0 1rem 0;
    font-size: 1.125rem;
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 6px;
    transition: width 0.5s ease;
    width: 0%;
}

.progress-text {
    color: #94a3b8;
    font-size: 0.875rem;
    text-align: center;
    margin: 0;
}

/* Points Breakdown */
.points-breakdown {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1.5rem;
}

.points-breakdown h3 {
    color: white;
    margin: 0 0 1.5rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
}

.points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.point-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.point-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.point-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
}

.point-icon.report {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.point-icon.upvote {
    background: linear-gradient(135deg, #10b981, #059669);
}

.point-icon.verify {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.point-details h4 {
    color: white;
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.point-value {
    color: #10b981;
    font-size: 0.875rem;
    font-weight: 700;
}

/* Leaderboard Section */
.leaderboard-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h3 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.leaderboard-filters {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.filter-btn.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
    color: white;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.leaderboard-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
}

.leaderboard-item.current-user {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.rank-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.125rem;
}

.rank-number.rank-1 {
    background: linear-gradient(135deg, #ffd700, #ffb700);
    color: #1a1a1a;
}

.rank-number.rank-2 {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    color: #1a1a1a;
}

.rank-number.rank-3 {
    background: linear-gradient(135deg, #cd7f32, #b8860b);
    color: white;
}

.rank-number.rank-other {
    background: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

.user-avatar-leaderboard {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.user-info-leaderboard {
    flex: 1;
}

.user-info-leaderboard h4 {
    color: white;
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.user-stats {
    color: #94a3b8;
    font-size: 0.875rem;
    margin: 0;
}

.user-points-leaderboard {
    text-align: right;
}

.points-display {
    color: #f59e0b;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
}

.reports-count {
    color: #94a3b8;
    font-size: 0.75rem;
    margin: 0.25rem 0 0 0;
}

/* Badges Section */
.badges-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1.5rem;
}

.badges-section h3 {
    color: white;
    margin: 0 0 1.5rem 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.badge-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.badge-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.badge-card.earned {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.badge-card.locked {
    opacity: 0.5;
}

.badge-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    position: relative;
}

.badge-icon.problem-solver {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.badge-icon.community-hero {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.badge-icon.quick-reporter {
    background: linear-gradient(135deg, #10b981, #059669);
}

.badge-icon.civic-champion {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.badge-icon.verified-solver {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.badge-name {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.badge-description {
    color: #94a3b8;
    font-size: 0.875rem;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.badge-requirement {
    color: #6366f1;
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0;
}

.badge-earned-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: white;
}

/* Confetti Animation */
@keyframes confetti {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

.confetti-piece {
    position: fixed;
    width: 10px;
    height: 10px;
    background: #f59e0b;
    z-index: 10000;
    pointer-events: none;
    animation: confetti 3s linear;
}

/* Notification Animations */
@keyframes badgePopIn {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

.badge-notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.badge-notification-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.badge-notification-text h4 {
    margin: 0 0 0.25rem 0;
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
}

.badge-notification-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.points-notification-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

/* Responsive Design for Gamification */
@media (max-width: 768px) {
    .user-rewards-overview {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .points-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .leaderboard-filters {
        align-self: stretch;
        justify-content: center;
    }
    
    .badges-grid {
        grid-template-columns: 1fr;
    }
    
    .leaderboard-item {
        padding: 1rem;
    }
    
    .user-avatar-leaderboard {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

/* Voice Commands Modal Styles */
.voice-commands-modal {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    border: 2px solid #6366f1;
    border-radius: 1.5rem;
    padding: 1.5rem;
    width: 100%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.voice-commands-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.3);
}

.voice-commands-modal .modal-header h3 {
    color: #6366f1;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.voice-status {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 1rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.voice-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.voice-mic-icon {
    font-size: 1.5rem;
    color: #6366f1;
}

.voice-waves-animation {
    display: flex;
    gap: 0.2rem;
    align-items: center;
}

.wave-bar {
    width: 3px;
    height: 15px;
    background: linear-gradient(to top, #6366f1, #8b5cf6);
    border-radius: 2px;
    animation: waveAnimation 1.5s ease-in-out infinite;
}

.wave-bar:nth-child(2) { animation-delay: 0.1s; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; }

@keyframes waveAnimation {
    0%, 100% { height: 15px; opacity: 0.7; }
    50% { height: 25px; opacity: 1; }
}

.voice-status-text {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
}

.voice-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.voice-toggle-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.voice-toggle-btn:hover {
    background: linear-gradient(135deg, #5b5bd6, #7c3aed);
    transform: translateY(-2px);
}

.commands-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.command-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.command-item:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
}

.command-text {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.85rem;
}

.command-action {
    color: #94a3b8;
    font-size: 0.75rem;
    font-style: italic;
}

/* Voice Status States */
.voice-status.listening {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
}

.voice-status.listening .voice-mic-icon {
    color: #10b981;
    animation: pulse 1.5s ease-in-out infinite;
}

.voice-status.listening .wave-bar {
    background: linear-gradient(to top, #10b981, #06b6d4);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .voice-commands-modal {
        margin: 1rem;
        padding: 1rem;
        max-width: calc(100vw - 2rem);
    }
    
    .command-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}


