/* css/mobile.css */

/* Hide desktop elements */
.desktop-only { display: none !important; }

/* Mobile App Layout */
#app-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    padding-bottom: 60px; /* Space for bottom nav */
}

/* Main Header */
#main-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-surface);
    position: sticky;
    top: 0;
    z-index: 10;
}
#main-header h1 { margin: 0; font-size: 1.25rem; }

/* Main Content (Mobile overrides) */
#main-content {
    flex: 1;
    overflow-y: auto;
}

/* Kanban Board Container (Mobile) */
#board-container {
    padding: 1rem;
}
.kanban-column {
    width: 100%; /* Full width */
    margin-bottom: 1rem;
}

/* Sidepanel becomes Full Screen Slide-Up on Mobile */
#sidepanel {
    position: fixed;
    top: 100vh; /* Hidden below */
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-base);
    z-index: 200;
    transition: top var(--transition-normal);
    display: flex;
    flex-direction: column;
}
#sidepanel.open {
    top: 0;
}
.sidepanel-header {
    padding: 1rem;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Mobile Bottom Navigation */
#mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 60px;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 50;
    padding-bottom: env(safe-area-inset-bottom); /* iOS support */
}

.nav-item {
    font-size: 1.5rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}
.nav-item.active { color: var(--color-primary); }

/* Quick Capture FAB */
.fab-container {
    position: relative;
    top: -15px; /* Protrude above nav bar */
}
.fab {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background-color: var(--color-primary);
    color: white;
    border: none;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.4);
    cursor: pointer;
}

/* Quick Capture Fullscreen (Mobile Default) */
#quick-capture-overlay {
    width: 100vw;
    height: 100vh;
}
