.food-table-container {
            overflow-x: auto;
            margin: 1.5rem 0;
        }
        .food-table {
            width: 100%;
            border-collapse: collapse;
            background: white;
            border-radius: 12px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }
        .food-table th, .food-table td {
            padding: 0.85rem 0.5rem;
            text-align: center;
            vertical-align: middle;
            border-bottom: 1px solid #e9ecef;
        }
        .delete-row-btn {
            background: none;
            border: none;
            color: #dc3545;
            font-size: 1.3rem;
            cursor: pointer;
            transition: 0.2s;
            padding: 8px 10px;
            border-radius: 30px;
            line-height: 1;
        }
        .delete-row-btn:hover {
            background-color: rgba(220,53,69,0.1);
            transform: scale(1.05);
        }
        .food-table th {
            background-color: #f8f9fc;
            font-weight: 600;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: #2c3e50;
        }
        .food-table input {
            width: 100%;
            min-width: 80px;
            padding: 0.5rem 0.4rem;
            border: 1px solid #ced4da;
            border-radius: 6px;
            font-size: 0.9rem;
            transition: 0.2s;
        }
        .food-table input:focus {
            border-color: var(--primary-color);
            outline: none;
            box-shadow: 0 0 0 2px rgba(70,130,180,0.2);
        }
        .food-table input.input-error {
            border-color: #dc3545;
            background-color: #fff0f0;
        }
        .total-card {
            background: linear-gradient(135deg, #f0f9ff 0%, #e6f2f9 100%);
            border-radius: 20px;
            padding: 1.5rem;
            margin: 1.8rem 0;
            border-left: 5px solid var(--primary-color);
        }
        .macro-progress {
            height: 10px;
            border-radius: 10px;
            background-color: #e9ecef;
            margin: 10px 0;
            overflow: hidden;
        }
        .macro-progress-bar {
            height: 100%;
            border-radius: 10px;
            transition: width 0.2s ease;
        }
        .stat-number {
            font-size: 2.2rem;
            font-weight: 700;
            color: #1e4663;
            line-height: 1.2;
        }
        .unit-label {
            font-size: 0.9rem;
            font-weight: normal;
            color: #6c757d;
        }
        .daily-percent {
            font-size: 0.9rem;
            font-weight: 500;
            margin-left: 8px;
        }
        .food-preset-btn {
            background-color: #eef2f7;
            border: none;
            padding: 6px 14px;
            border-radius: 30px;
            font-size: 0.8rem;
            font-weight: 500;
            transition: 0.2s;
            margin-right: 8px;
            margin-bottom: 8px;
        }
        .food-preset-btn:hover {
            background-color: var(--primary-color);
            color: white;
            transform: translateY(-2px);
        }
        .add-row-btn {
            background-color: var(--primary-color);
            color: white;
            border: none;
            border-radius: 40px;
            padding: 8px 22px;
            font-weight: 500;
            transition: 0.2s;
        }
        .add-row-btn:hover {
            background-color: #2c5a7a;
            transform: translateY(-2px);
        }
        .reference-note {
            background-color: #fef9e6;
            border-left: 4px solid #ffc107;
            padding: 1rem;
            border-radius: 10px;
            margin: 1.5rem 0;
        }
        .daily-target-input {
            max-width: 160px;
            display: inline-block;
            margin-left: 10px;
        }
        .toast-custom {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1100;
            min-width: 200px;
            background: #2c3e50;
            color: white;
            border-radius: 8px;
            padding: 12px 18px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            opacity: 0;
            transition: opacity 0.3s;
            pointer-events: none;
        }
        .toast-custom.show {
            opacity: 1;
        }
        .preset-note {
            font-size: 0.75rem;
            margin-top: 5px;
        }
        .btn-outline-mint {
            border: 1px solid var(--primary-color);
            color: var(--primary-color);
            background: transparent;
        }
        .btn-outline-mint:hover {
            background: var(--primary-color);
            color: white;
        }
        input[list]::-webkit-calendar-picker-indicator {
            cursor: pointer;
        }
        @media (max-width: 768px) {
            .food-table th, .food-table td {
                padding: 0.5rem 0.3rem;
            }
            .food-table input {
                min-width: 65px;
                font-size: 0.8rem;
                padding: 0.4rem 0.2rem;
            }
            .stat-number {
                font-size: 1.8rem;
            }
            .total-card {
                padding: 1rem;
            }
        }