/* Mobile-specific styles */
@media (max-width: 768px) {
    body {

        padding: 10px;
        padding-bottom: 80px; /* Space for bottom nav */
    }
    
    .container {
        max-width: 100%;
    }
    
    .header {
        padding: 20px;
        text-align: center;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    .nav {
        flex-direction: column;
    }
    
    .nav button {
        width: 100%;
        margin-bottom: 10px;
    }
    
    /* Bottom mobile navigation */
    .mobile-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid #e5e7eb;
        display: flex;
        justify-content: space-around;
        padding: 10px 0;
        z-index: 1000;
    }
    
    .mobile-nav button {
        background: none;
        border: none;
        color: #64748b;
        font-size: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 8px 5px;
        width: 60px;
    }
    
    .mobile-nav button.active {
        color: #1e40af;
    }
    
    .mobile-nav .icon {
        font-size: 20px;
        margin-bottom: 4px;
    }
}

/* iPhone notch/padding */
@supports (padding: max(0px)) {
    body {
        padding-left: max(10px, env(safe-area-inset-left));
        padding-right: max(10px, env(safe-area-inset-right));
        padding-bottom: max(80px, env(safe-area-inset-bottom));
    }
}
