/* Bottom Navigation Styles */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e0e0e0;
    padding: 8px 0 max(8px, env(safe-area-inset-bottom));
    z-index: 100;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}

.nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
    min-width: 60px;
    color: #666;
}

.nav-item:hover {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.nav-item.active {
    color: #007bff;
}

.nav-icon {
    margin-bottom: 4px;
    width: 24px;
    height: 24px;
}

.nav-icon img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
}

/* FormActions button icons */
.form-actions .btn img {
    width: 16px;
    height: 16px;
    display: block;
}

/* Button icon sizes - clean solution with high specificity */
img.btn-icon-24.btn-icon-24 {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
}


.nav-label {
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
}

/* Add bottom padding to main content to account for nav */
.app-content {
    padding-bottom: 80px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .bottom-nav {
        background: #1a1a1a;
        border-top-color: #333;
    }
    
    .nav-item {
        color: #ccc;
    }
    
    .nav-item:hover {
        background: rgba(0, 123, 255, 0.2);
        color: #4dabf7;
    }
    
    .nav-item.active {
        color: #4dabf7;
    }
}