/* foodie.css */

.foodie-theme .kamos-card {
    border-top: 4px solid #f97316; /* Tailwind orange-500 */
}

/* Card animations for timeline */
.foodie-card {
    animation: fadeUpIn 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeUpIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nutrition-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    background-color: #fff7ed; /* orange-50 */
    color: #c2410c; /* orange-700 */
    border: 1px solid #fed7aa; /* orange-200 */
}

.dark .nutrition-badge {
    background-color: rgba(249, 115, 22, 0.1);
    color: #fdba74; /* orange-300 */
    border-color: rgba(249, 115, 22, 0.2);
}

.macro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 12px;
}

.macro-item {
    background: #f8fafc;
    border-radius: 8px;
    padding: 8px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.dark .macro-item {
    background: rgba(15, 23, 42, 0.5);
    border-color: #334155;
}

.macro-label {
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: bold;
}

.dark .macro-label {
    color: #94a3b8;
}

.macro-value {
    font-size: 1rem;
    font-weight: bold;
    color: #334155;
}

.dark .macro-value {
    color: #f1f5f9;
}

/* Mobile and PWA Minimal Header (Jotter Style) */
@media (max-width: 768px) {
    /* Hide Standard Header Elements on Mobile for Minimal Look */
    .foodie-theme #authContainer {
        padding: 0 16px !important;
        height: 56px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(12px) !important;
        overflow: hidden;
    }

    .dark .foodie-theme #authContainer {
        background: rgba(15, 23, 42, 0.95) !important;
    }

    .foodie-theme #authContainer .bio-divider,
    .foodie-theme #authContainer p,
    .foodie-theme #authContainer .kamos-ml-auto,
    .foodie-theme #header-menu,
    .foodie-theme .header-app-menu-container,
    .foodie-theme .header-account-menu-container,
    .foodie-theme #darkModeToggle,
    .foodie-theme .bio-header-btn {
        display: none !important;
    }

    .foodie-theme #authContainer h1 {
        font-size: 1.1rem !important;
        line-height: 56px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        margin: 0 !important;
        display: block !important;
        max-width: 200px;
    }

    .foodie-theme #authContainer .bio-logo {
        height: 24px !important;
        width: auto !important;
        margin-top: 16px !important; /* Centered vertically within the 56px visual area */
    }

    /* Reduce main container top padding since header is smaller */
    .foodie-theme main.kamos-container {
        padding-top: 76px !important;
    }
}
