:root { --accent: #00c6ff; --bg: #03070b; --card: rgba(255, 255, 255, 0.05); }

body {
    font-family: 'Inter', sans-serif; background: var(--bg); color: white;
    display: flex; flex-direction: column; align-items: center; padding: 20px;
}

.brand { text-align: center; margin-bottom: 30px; }
.logo {
    font-size: 2.2rem; font-weight: 900; letter-spacing: 4px; margin: 0;
    background: linear-gradient(to right, #ffffff, var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.tagline { font-size: 0.7rem; letter-spacing: 3px; color: var(--accent); margin-top: 5px; font-weight: 700; text-transform: uppercase; }

.container {
    width: 100%; max-width: 400px; background: var(--card);
    backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px; padding: 25px; box-sizing: border-box;
}

.input-group { margin-bottom: 15px; }
label { display: block; font-size: 0.65rem; color: #aaa; text-transform: uppercase; margin-bottom: 6px; }

input, select {
    width: 100%; padding: 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.4); color: white; font-size: 1rem; box-sizing: border-box; outline: none;
}

.row { display: flex; gap: 10px; }

button {
    width: 100%; padding: 18px; background: var(--accent); border: none;
    border-radius: 14px; font-weight: 800; text-transform: uppercase; cursor: pointer; color: black; margin-top: 10px;
}

#display-area { margin-top: 25px; display: none; text-align: center; }
.scale-wrapper { position: relative; margin: 35px 0 45px 0; }
.chart-bar { width: 100%; height: 14px; background: #222; border-radius: 20px; display: flex; overflow: hidden; }
.segment { height: 100%; }
.under { background: #ffcc00; width: 30%; } 
.healthy { background: #00ffcc; width: 25%; } 
.over { background: #ff8800; width: 15%; } 
.obese { background: #ff4444; flex-grow: 1; }

.marker {
    position: absolute; top: -8px; width: 4px; height: 30px;
    background: white; box-shadow: 0 0 15px white; z-index: 10; left: 0%;
    transition: left 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ruler-marks { display: flex; justify-content: space-between; position: absolute; width: 100%; top: 18px; }
.mark { font-size: 0.6rem; font-weight: 700; color: white; opacity: 0.6; }

.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.stat { background: rgba(255,255,255,0.05); padding: 15px; border-radius: 18px; }
.val { font-size: 1.6rem; font-weight: 900; color: var(--accent); display: block; }
.lbl { font-size: 0.6rem; color: #999; text-transform: uppercase; }

/* MEAL CARDS STYLING */
.fuel-section { margin-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }
.fuel-section h3 { font-size: 0.8rem; letter-spacing: 2px; color: var(--accent); text-transform: uppercase; margin-bottom: 15px; }

.meal-card {
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px; padding: 12px 15px; display: flex; align-items: center; gap: 15px; margin-bottom: 10px;
}
.meal-icon { font-size: 1.4rem; }
.meal-info { text-align: left; flex-grow: 1; }
.meal-name { display: block; font-size: 0.9rem; font-weight: 700; color: #fff; }
.meal-desc { display: block; font-size: 0.75rem; color: #999; }
.status-text { font-size: 1.4rem; font-weight: 800; margin-bottom: 5px; }