/* style.css */
body {
    font-family: 'Inter', sans-serif;
    background-color: #0f172a;
    color: #e2e8f0;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

/* WICHTIG: Korrigiert den Abstand unten für Handy-Navigation und oben für Desktop-Header */
main {
    padding-bottom: 80px !important; 
    padding-top: 2rem !important;
}
@media (min-width: 1024px) {
    main { 
        padding-bottom: 2rem !important; 
        padding-top: 2rem !important;
    }
}

/* Glass Effect */
.glass-panel {
    background: rgba(30, 41, 59, 0.85); 
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.3);
}

.glass-sidebar {
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-nav-bottom {
    background: rgba(15, 23, 42, 0.90);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
}

/* Navigation States */
.nav-item.active { color: #60a5fa; }
aside .nav-item.active {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0) 100%);
    border-left: 3px solid #3b82f6;
}
.mobile-nav-item.active { color: #60a5fa; }
.mobile-nav-item.active i { filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5)); }

/* Inputs */
.app-input {
    width: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    border: 1px solid #475569;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    color: #e2e8f0;
    transition: all 0.2s;
}
.app-input:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 1px #3b82f6; }

/* Responsive Table */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Quick Select Badge (Einkauf) */
.quick-select-badge {
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid;
    white-space: nowrap;
}

/* Components */
.badge { padding: 2px 8px; border-radius: 9999px; font-size: 0.75rem; font-weight: 600; display: inline-block; white-space: nowrap; }
.bg-status-green { background-color: rgba(34, 197, 94, 0.2); color: #4ade80; }
.bg-status-red { background-color: rgba(239, 68, 68, 0.2); color: #f87171; }
.bg-status-orange { background-color: rgba(251, 146, 60, 0.2); color: #fb923c; }

.table-img { width: 50px; height: 50px; min-width: 50px; object-fit: cover; border-radius: 0.5rem; }