/* General Layout */
body { background: #121212; color: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; margin: 0; padding: 20px; }
.container { max-width: 600px; margin: 0 auto; }

/* Navigation Bar */
.nav-bar { display: flex; gap: 10px; margin-bottom: 25px; justify-content: center; }
.nav-btn { padding: 10px 15px; color: white; text-decoration: none; border-radius: 6px; font-weight: bold; font-size: 0.9em; text-transform: uppercase; }
.btn-dashboard { background-color: #6366f1; }
.btn-inventory { background-color: #10b981; }
.btn-shopping { background-color: #ef4444; }

/* Cards */
.card { background: #1e1e1e; padding: 20px; border-radius: 8px; border: 1px solid #333; margin-bottom: 15px; }

/* Form Layout */
form { display: flex; flex-direction: column; gap: 15px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }

/* Force dark style on EVERY input/select */
input, select, textarea {
    width: 100%;
    padding: 12px;
    background-color: #2a2a2a !important;
    color: #ffffff !important;
    border: 1px solid #444 !important;
    border-radius: 6px;
    font-size: 16px; 
    box-sizing: border-box;
    -webkit-appearance: none; /* Removes iOS glossiness */
}

/* Date picker fix */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

/* Button style */
button {
    width: 100%;
    padding: 15px;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
}
button:hover { background: #2563eb; }