/* ============================================
   CENTRO DE CONTROLE - DESIGN V2
   Modern, Clean, TDAH-Friendly
   ============================================ */

/* CSS Variables - Premium Dark Theme */
:root {
    /* Backgrounds - Deep space gradient feel */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: linear-gradient(145deg, #16161f 0%, #1a1a25 100%);
    --bg-card-hover: linear-gradient(145deg, #1a1a25 0%, #1f1f2e 100%);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.06);
    
    /* Text */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    
    /* Accent Colors - Vibrant gradients */
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    --gradient-warning: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --gradient-danger: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    --gradient-info: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    
    /* Status Colors */
    --status-todo: #ef4444;
    --status-doing: #f59e0b;
    --status-done: #10b981;
    
    /* Glow Effects */
    --glow-primary: 0 0 20px rgba(99, 102, 241, 0.3);
    --glow-success: 0 0 20px rgba(16, 185, 129, 0.3);
    --glow-warning: 0 0 20px rgba(245, 158, 11, 0.3);
    --glow-danger: 0 0 20px rgba(239, 68, 68, 0.3);
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 4px 24px rgba(99, 102, 241, 0.15);
    
    /* Font */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Focus states for keyboard accessibility */
:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    background-image: 
        radial-gradient(ellipse at top, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    padding-bottom: 100px;
}

/* ============================================
   HEADER
   ============================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--spacing-md) var(--spacing-lg);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.header-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--bg-glass);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Header Navigation */
.header-nav {
    display: none;
}

@media (min-width: 768px) {
    .header-nav {
        display: flex;
        gap: var(--spacing-xs);
        align-items: center;
    }
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-glass-hover);
}

.nav-link.active {
    color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.1);
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Sync Dropdown */
.sync-dropdown-wrapper {
    position: relative;
}

.sync-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 260px;
    background: #1a1a25;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 200;
    overflow: hidden;
}

.sync-dropdown.open {
    display: block;
}

.sync-dropdown-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background var(--transition-fast);
    color: var(--text-primary);
    font-size: 0.875rem;
}

.sync-dropdown-item:hover {
    background: var(--bg-glass-hover);
}

.sync-dropdown-item small {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.sync-dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
}

.sync-dropdown-label {
    padding: 8px 16px 4px;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 600;
}

.sync-source {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
}

.sync-source-icon {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.sync-source-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sync-source-info span {
    font-size: 0.82rem;
    color: var(--text-primary);
}

.sync-ts {
    font-size: 0.68rem;
    color: var(--text-muted);
}

.sync-source-badge {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.sync-source-badge.ok {
    background: var(--accent-green);
    box-shadow: 0 0 6px var(--accent-green);
}

.sync-source-badge.stale {
    background: var(--accent-orange);
    box-shadow: 0 0 6px var(--accent-orange);
}

.sync-source-badge.error {
    background: var(--accent-red);
    box-shadow: 0 0 6px var(--accent-red);
}

.sync-source-badge.never {
    background: rgba(255,255,255,0.15);
}

.sync-dropdown-status {
    padding: 10px 16px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.sync-status-row {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.sync-status-row.not-synced {
    color: var(--text-muted);
}

.sync-status-row.not-synced span:last-child {
    color: #fbbf24;
}

/* Syncing animation */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.btn-icon.syncing span {
    display: inline-block;
    animation: spin 1s linear infinite;
}

/* Hero Bar (compact) */
.hero-bar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.04));
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-lg);
}

@media (min-width: 768px) {
    .hero-bar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.hero-bar-left {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.hero-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 1.5rem;
    }
}

.hero-summary {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.hero-bar-right {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: flex-start;
}

@media (min-width: 768px) {
    .hero-bar-right {
        flex-direction: row;
        align-items: center;
        gap: var(--spacing-md);
    }
}

.hero-actions {
    display: flex;
    gap: var(--spacing-sm);
}

/* Desktop Header Navigation */
.header-nav {
    display: none;
    gap: var(--spacing-xs);
}

@media (min-width: 768px) {
    .header-nav {
        display: flex;
    }
}

.header-nav-item {
    padding: var(--spacing-sm) var(--spacing-md);
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.header-nav-item:hover {
    color: var(--text-primary);
    background: var(--bg-glass);
}

.header-nav-item.active {
    color: var(--text-primary);
    background: var(--gradient-primary);
}

/* ============================================
   PROJECTS BAR - Quick Access
   ============================================ */

.projects-bar {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.projects-bar::-webkit-scrollbar {
    display: none;
}

.project-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    font-size: 13px;
    color: var(--text-secondary);
}

.project-chip:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.project-chip .chip-icon {
    font-size: 14px;
}

.project-chip .chip-name {
    font-weight: 500;
}

.project-chip.priority-high {
    border-color: rgba(239, 68, 68, 0.3);
}

.project-chip.priority-high:hover {
    border-color: #ef4444;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.2);
}

.project-chip-add {
    background: transparent;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    color: var(--text-muted);
}

.project-chip-add:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* Project chips - Desktop improvements */
@media (min-width: 768px) {
    .projects-bar {
        padding: 16px 24px;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .project-chip {
        padding: 10px 18px;
        font-size: 14px;
        min-width: auto;
    }
    
    .project-chip .chip-icon {
        font-size: 16px;
    }
    
    .project-chip .chip-name {
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    display: grid;
    gap: var(--spacing-lg);
}

/* Dashboard page: hero, quick-actions, and dashboard-grid must span all columns */
.dashboard-page .hero-bar,
.dashboard-page .dashboard-grid {
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .main-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .card-kanban {
        grid-column: span 2;
    }
}

@media (min-width: 1200px) {
    .main-content {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1600px;
        padding: var(--spacing-xl);
    }
    
    .card-kanban {
        grid-column: span 3;
    }
    
    .header-content {
        max-width: 1600px;
    }
}

/* Extra Large Desktop (1600px+) */
@media (min-width: 1600px) {
    .main-content {
        max-width: 1800px;
        padding: var(--spacing-2xl);
        gap: var(--spacing-xl);
    }
    
    .header-content {
        max-width: 1800px;
    }
    
    .card {
        padding: var(--spacing-lg);
    }
    
    .card-header {
        padding: var(--spacing-xl);
    }
    
    .card-body {
        padding: var(--spacing-xl);
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-label {
        font-size: 0.875rem;
    }
}

/* Ultra Wide (1920px+) */
@media (min-width: 1920px) {
    .main-content {
        grid-template-columns: repeat(4, 1fr);
        max-width: 2000px;
    }
    
    .header-content {
        max-width: 2000px;
    }
    
    .card-kanban {
        grid-column: span 4;
    }
    
    .kanban-board {
        gap: var(--spacing-xl);
    }
    
    .task-card {
        padding: var(--spacing-lg);
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

/* ============================================
   CARDS - Glass Morphism Style
   ============================================ */

.card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: rgba(99, 102, 241, 0.2);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.card-header h2 {
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.card-body {
    padding: var(--spacing-lg);
}

/* ============================================
   TODAY SECTION - Hero Stats
   ============================================ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.stat-item:hover {
    transform: scale(1.02);
    background: var(--bg-glass-hover);
}

.stat-todo::before { background: var(--gradient-danger); }
.stat-doing::before { background: var(--gradient-warning); }
.stat-done::before { background: var(--gradient-success); }

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-mono);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.stat-todo .stat-number { color: #ef4444; text-shadow: var(--glow-danger); }
.stat-doing .stat-number { color: #f59e0b; text-shadow: var(--glow-warning); }
.stat-done .stat-number { color: #10b981; text-shadow: var(--glow-success); }

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Today Events & Urgent */
.today-events,
.urgent-tasks {
    margin-top: var(--spacing-lg);
}

.today-events h3,
.urgent-tasks h3 {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.events-list,
.urgent-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.event-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-glass);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all var(--transition-fast);
}

.event-item:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(99, 102, 241, 0.2);
}

.event-time {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-primary);
    min-width: 55px;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-sm);
    text-align: center;
}

.event-title {
    flex: 1;
    font-size: 0.9375rem;
    font-weight: 500;
}

.event-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.event-details .event-title {
    flex: none;
}

.event-location {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.event-item.google-cal {
    border-left: 3px solid var(--accent-primary);
}

.event-item.local {
    border-left: 3px solid var(--status-doing);
}

.urgent-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(239, 68, 68, 0.08);
    border-left: 3px solid var(--status-todo);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-weight: 500;
}

.urgent-item:hover {
    background: rgba(239, 68, 68, 0.12);
    transform: translateX(4px);
}

.urgent-item::before {
    content: '🔥';
    font-size: 1.125rem;
}

/* ============================================
   KANBAN BOARD - Modern Cards
   ============================================ */

.kanban-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    min-height: 400px;
}

@media (max-width: 767px) {
    .kanban-board {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

.kanban-column {
    background: var(--bg-glass);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.03);
    min-height: 300px;
}

.column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
}

.column-title {
    font-weight: 600;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.column-count {
    background: var(--bg-secondary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--text-secondary);
}

.column-tasks {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    min-height: 200px;
}

/* Task Card - Premium Style */
.task-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.task-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.task-card[data-priority="low"]::before { background: var(--text-muted); }
.task-card[data-priority="normal"]::before { background: var(--gradient-info); }
.task-card[data-priority="high"]::before { background: var(--gradient-warning); }
.task-card[data-priority="urgent"]::before { background: var(--gradient-danger); }

.task-card:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    border-color: rgba(99, 102, 241, 0.3);
}

.task-title {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-sm);
}

.task-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    padding-left: var(--spacing-sm);
}

.task-priority {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.task-priority.urgent { 
    background: rgba(239, 68, 68, 0.15); 
    color: #f87171;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}
.task-priority.high { 
    background: rgba(245, 158, 11, 0.15); 
    color: #fbbf24;
}

.task-actions {
    display: flex;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.task-action-btn {
    flex: 1;
    padding: var(--spacing-sm);
    border: none;
    border-radius: var(--radius-sm);
    background: var(--bg-glass);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.task-action-btn:hover {
    background: var(--bg-glass-hover);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.task-action-btn.delete:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

/* ============================================
   REMINDERS - Clean List
   ============================================ */

.reminders-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.reminder-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-glass);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all var(--transition-fast);
}

.reminder-item:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(245, 158, 11, 0.2);
}

.reminder-item[data-priority="urgent"] {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.05);
}

.reminder-check {
    width: 24px;
    height: 24px;
    border: 2px solid var(--text-muted);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reminder-check:hover {
    border-color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.1);
    transform: scale(1.1);
}

.reminder-content {
    flex: 1;
    min-width: 0;
}

.reminder-title {
    font-size: 0.9375rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reminder-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-top: 2px;
}

.reminder-delete {
    padding: var(--spacing-sm);
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.125rem;
    transition: all var(--transition-fast);
    border-radius: var(--radius-sm);
}

.reminder-delete:hover {
    color: #f87171;
    background: rgba(239, 68, 68, 0.1);
}

/* ============================================
   NOTES - Card Style
   ============================================ */

.notes-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.note-item {
    padding: var(--spacing-lg);
    background: var(--bg-glass);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: all var(--transition-base);
}

.note-item:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(139, 92, 246, 0.2);
    transform: translateX(4px);
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
    gap: var(--spacing-md);
}

.note-title {
    font-size: 1rem;
    font-weight: 600;
    flex: 1;
}

.note-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    padding: 2px 8px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.note-preview {
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.note-tags {
    display: flex;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
    flex-wrap: wrap;
}

.note-tag {
    padding: 4px 12px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    color: #a78bfa;
    font-weight: 500;
    text-transform: lowercase;
}

/* ============================================
   BOTTOM NAVIGATION - Floating Dock
   ============================================ */

.bottom-nav {
    position: fixed;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-xs);
    background: rgba(18, 18, 26, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--spacing-sm);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    z-index: 100;
}

@media (min-width: 768px) {
    .bottom-nav {
        display: none;
    }
    
    body {
        padding-bottom: var(--spacing-xl);
    }
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
    border-radius: var(--radius-md);
}

.nav-item.active,
.nav-item:hover {
    color: var(--text-primary);
    background: var(--bg-glass);
}

.nav-item.active {
    background: var(--gradient-primary);
    color: white;
}

.nav-icon {
    font-size: 1.375rem;
}

.nav-label {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ============================================
   MODALS - Glassmorphism
   ============================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.modal.active {
    display: flex;
    animation: fadeIn 0.2s ease-out;
}

.modal-content {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(99, 102, 241, 0.1);
    animation: slideUp 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-glass);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 1.125rem;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    transform: rotate(90deg);
}

/* ============================================
   FORMS - Clean Inputs
   ============================================ */

form {
    padding: var(--spacing-lg);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    background: var(--bg-glass-hover);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ============================================
   BUTTONS - Gradient Style
   ============================================ */

.btn-primary {
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-secondary:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-icon {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--bg-glass);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background: var(--bg-glass-hover);
    color: var(--text-primary);
    transform: rotate(180deg);
}

/* ============================================
   PROJECTS CAROUSEL
   ============================================ */

.carousel-controls {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.carousel-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: var(--bg-glass);
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.projects-carousel {
    overflow: hidden;
    margin: 0 calc(0px - var(--spacing-md));
    padding: 0 var(--spacing-md);
}

.projects-track {
    display: flex;
    gap: var(--spacing-md);
    transition: transform 0.3s ease;
    scroll-behavior: smooth;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: var(--spacing-sm) 0;
}

.projects-track::-webkit-scrollbar {
    display: none;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.project-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    min-width: 280px;
    max-width: 320px;
    flex-shrink: 0;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.7;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(99, 102, 241, 0.3);
}

.project-card.status-paused::before {
    background: var(--gradient-warning);
}

.project-card.status-completed::before {
    background: var(--gradient-success);
}

.project-card.priority-high {
    border-color: rgba(239, 68, 68, 0.3);
}

.project-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.project-category {
    font-size: 1.25rem;
}

.project-name {
    flex: 1;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
}

.project-badge {
    background: var(--gradient-success);
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.project-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
}

.project-progress {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width var(--transition-base);
}

.progress-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    min-width: 36px;
    text-align: right;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
}

.project-tag {
    font-size: 0.6875rem;
    padding: 2px 8px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-primary);
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.project-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.project-action-btn {
    padding: 4px 10px;
    font-size: 0.75rem;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.project-action-btn:hover {
    background: var(--bg-glass-hover);
    color: var(--text-primary);
}

.project-action-btn.delete:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.empty-state {
    text-align: center;
    padding: var(--spacing-2xl);
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.hidden {
    display: none !important;
}

/* ============================================
   SKELETON LOADING
   ============================================ */

.skeleton {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.05) 25%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 1em;
    margin-bottom: var(--spacing-xs);
}

.skeleton-text:last-child {
    width: 60%;
}

.skeleton-title {
    height: 1.5em;
    width: 70%;
    margin-bottom: var(--spacing-sm);
}

.skeleton-card {
    padding: var(--spacing-lg);
    background: var(--bg-glass);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
}

.skeleton-stat {
    height: 3rem;
    width: 3rem;
    margin: 0 auto var(--spacing-xs);
}

.skeleton-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

/* Loading State for Cards */
.card.loading .card-body {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.card.loading .skeleton-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-glass);
    border-radius: var(--radius-md);
}

.card.loading .skeleton-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.card.loading .skeleton-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

/* Quick loading indicator for top of page */
.loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 1000;
    transform-origin: left;
    animation: loading-bar 2s ease-in-out infinite;
}

@keyframes loading-bar {
    0% { transform: scaleX(0); }
    50% { transform: scaleX(0.7); }
    100% { transform: scaleX(1); opacity: 0; }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.card {
    animation: slideUp 0.4s ease-out;
    animation-fill-mode: both;
}

.card:nth-child(1) { animation-delay: 0s; }
.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.2s; }
.card:nth-child(4) { animation-delay: 0.3s; }

/* ============================================
   SCROLLBAR - Subtle
   ============================================ */

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   SELECTION
   ============================================ */

::selection {
    background: rgba(99, 102, 241, 0.3);
    color: white;
}

/* ============================================
   FILE UPLOAD
   ============================================ */

.upload-zone {
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-bottom: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.02);
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.05);
}

.upload-zone.dragover {
    transform: scale(1.01);
}

.upload-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.upload-text {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
}

.upload-hint {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.upload-progress {
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.upload-progress .progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.upload-progress .progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
}

#upload-status {
    font-size: 0.8rem;
    color: var(--text-muted);
    min-width: 100px;
}

.files-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--bg-glass);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.shared-files-list {
    display: grid;
    gap: var(--spacing-sm);
}

.shared-file-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}

.shared-file-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: var(--bg-card-hover);
}

.file-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border-radius: var(--radius-md);
}

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

.file-name {
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.file-actions {
    display: flex;
    gap: var(--spacing-xs);
}

.file-action-btn {
    padding: 6px 10px;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.8rem;
    transition: all var(--transition-fast);
}

.file-action-btn:hover {
    background: var(--bg-glass-hover);
    color: var(--text-primary);
}

.file-action-btn.delete:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* ================================================
   GPM Dashboard Styles (migrated from index.html)
   ================================================ */

/* Legacy hero-greeting kept for backward compat */
.hero-greeting {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.summary-chips {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.summary-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-glass);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.summary-chip .chip-number {
    font-weight: 700;
    color: var(--text-primary);
}

.summary-chip.urgent {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.summary-chip.urgent .chip-number {
    color: #ef4444;
}

/* Quick Action Buttons (compact in hero-bar) */
.quick-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    font-size: 0.8rem;
}

.quick-action:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: var(--accent-primary);
}

/* Update "Ver mais" link */
.update-more {
    text-align: center;
    padding: var(--spacing-sm) 0;
    margin-top: var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Main Grid Layout - Desktop Optimized */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    max-width: 1600px;
    margin: 0 auto;
}

@media (min-width: 1400px) {
    .dashboard-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .today-column:first-child {
        grid-column: span 2;
    }
}

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Desktop: Make cards wider and more readable */
@media (min-width: 1200px) {
    .card {
        padding: var(--spacing-xl);
    }
}

/* Today Column */
.today-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.agenda-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--accent-primary);
}

.agenda-time {
    font-weight: 600;
    color: var(--accent-primary);
    min-width: 50px;
}

.agenda-title {
    flex: 1;
    color: var(--text-primary);
}

.agenda-project {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(255,255,255,0.05);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    gap: var(--spacing-md);
}

.portfolio-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

.portfolio-card:hover {
    background: var(--bg-card-hover);
    border-left-color: var(--accent-primary);
    transform: translateX(4px);
}

.portfolio-card.high-priority {
    border-left-color: #ef4444;
}

.portfolio-info {
    flex: 1;
}

.portfolio-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.portfolio-status {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.portfolio-progress {
    width: 100px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-bar-mini {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill-mini {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    min-width: 35px;
    text-align: right;
}

/* Updates Feed */
.updates-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    max-height: 400px;
    overflow-y: auto;
}

.update-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.update-item:hover {
    background: var(--bg-card-hover);
}

.update-icon {
    font-size: 1.25rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
}

.update-content {
    flex: 1;
}

.update-title {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 2px;
}

.update-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Update type differentiation */
.update-item.update-type-meeting {
    border-left: 3px solid #3b82f6;
}

.update-item.update-type-meeting .update-icon {
    background: rgba(59, 130, 246, 0.1);
}

.update-item.update-type-task {
    border-left: 3px solid #f59e0b;
}

.update-item.update-type-task .update-icon {
    background: rgba(245, 158, 11, 0.1);
}

.update-item.update-type-project {
    border-left: 3px solid #8b5cf6;
}

.update-item.update-type-project .update-icon {
    background: rgba(139, 92, 246, 0.1);
}

.update-item.update-type-note {
    border-left: 3px solid #10b981;
}

.update-item.update-type-note .update-icon {
    background: rgba(16, 185, 129, 0.1);
}

.update-item.update-type-deadline {
    border-left: 3px solid #ef4444;
}

.update-item.update-type-deadline .update-icon {
    background: rgba(239, 68, 68, 0.1);
}

/* Styled Empty States */
.empty-state-styled {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--bg-glass);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.empty-state-styled.loading {
    animation: pulse 2s ease-in-out infinite;
}

.empty-state-styled.error {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
    color: rgba(239, 68, 68, 0.8);
}

.empty-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Sync Badge */
.sync-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
}

.sync-badge.not-synced {
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* Kanban Mini */
.kanban-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
}

.kanban-mini-col {
    background: var(--bg-glass);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
}

.kanban-mini-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.kanban-mini-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.kanban-mini-col.todo .kanban-mini-count { color: #ef4444; }
.kanban-mini-col.doing .kanban-mini-count { color: #eab308; }
.kanban-mini-col.done .kanban-mini-count { color: #22c55e; }

/* Keyboard Shortcut Hint (removed from UI) */
.keyboard-hint {
    display: none;
}

.keyboard-hint kbd {
    background: rgba(255,255,255,0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin: 0 2px;
}

@media (min-width: 768px) {
    .keyboard-hint {
        display: block;
    }
}

/* Shortcuts Help Modal */
.shortcuts-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    animation: fadeIn 0.2s ease;
}

.shortcuts-content {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    max-width: 450px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.shortcuts-content h2 {
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    font-size: 1.25rem;
}

.shortcuts-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shortcut-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-sm);
}

.shortcut-item kbd {
    background: rgba(99, 102, 241, 0.2);
    color: var(--accent-primary);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    min-width: 80px;
    text-align: center;
}

.shortcut-item span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.shortcuts-content button {
    margin-top: var(--spacing-lg);
    width: 100%;
    padding: 12px;
    background: var(--accent-primary);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    cursor: pointer;
    font-weight: 600;
}

.shortcuts-content button:hover {
    background: var(--accent-secondary);
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--accent-primary);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1002;
}

.toast-notification.show {
    transform: translateX(0);
    opacity: 1;
}

/* Command result selection */
.command-result.selected {
    background: var(--accent-primary);
    color: white;
}

/* Command Palette */
.command-palette {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    padding: 20vh 20px;
}

.command-palette.active {
    display: flex;
    justify-content: center;
}

.command-input-wrapper {
    width: 100%;
    max-width: 600px;
}

.command-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 1.125rem;
    background: var(--bg-card);
    border: 2px solid var(--accent-primary);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    outline: none;
}

.command-input::placeholder {
    color: var(--text-muted);
}

.command-results {
    margin-top: var(--spacing-md);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-height: 300px;
    overflow-y: auto;
}

.command-result {
    padding: var(--spacing-md);
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.command-result:hover,
.command-result.selected {
    background: var(--bg-glass);
}

.command-result-icon {
    font-size: 1.25rem;
}

.command-result-text {
    flex: 1;
}

.command-result-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Section Headers */
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-action {
    font-size: 0.75rem;
    color: var(--accent-primary);
    text-decoration: none;
    cursor: pointer;
}

.section-action:hover {
    text-decoration: underline;
}
