body{
    background:#000;
    color:#fff;
    font-family:Arial, sans-serif;
    margin:0;
    padding:20px;
    padding-bottom:285px;
}

h1{
    text-align:center;
    margin-bottom:5px;
}

.date{
    text-align:center;
    color:#bbb;
    margin-bottom:20px;
}

.menu-btn{
    width:100%;
    background:#111;
    color:#fff;
    border:none;
    border-radius:14px;
    padding:14px;
    font-size:18px;
    font-weight:bold;
    cursor:pointer;
    margin-bottom:15px;
}

.menu,
.dropdown-menu{
    display:none;
    background:#111;
    padding:15px;
    border-radius:14px;
    margin-bottom:20px;
}

.menu a,
.dropdown-menu a{
    display:block;
    color:#fff;
    text-decoration:none;
    padding:14px;
    border-bottom:1px solid #222;
    border-radius:10px;
    font-weight:bold;
}

.menu a:last-child,
.dropdown-menu a:last-child{
    border-bottom:none;
}

.quick-btn,
.goal-save-btn,
.activity-btn{
    width:100%;
    border:none;
    border-radius:14px;
    padding:14px;
    font-size:18px;
    font-weight:bold;
    cursor:pointer;
}

.quick-btn{
    background:#111;
    color:#fff;
}

.goal-save-btn,
.activity-btn{
    background:#00aa55;
    color:#fff;
    margin-top:14px;
}

.goals-box,
.food-card,
.activity-box,
.quick-added,
.scanner-box{
    background:#111;
    border-radius:18px;
    padding:18px;
    margin-bottom:18px;
}

.goals-title,
.category-title{
    font-size:22px;
    font-weight:bold;
    margin-bottom:15px;
}

.goals-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}

.goal-field label{
    display:block;
    color:#bbb;
    font-size:13px;
    margin-bottom:6px;
}

.goal-field input,
.activity-input,
.gram-input{
    background:#222;
    border:none;
    border-radius:12px;
    color:#fff;
    padding:12px;
    margin-bottom:12px;
    font-size:16px;
    box-sizing:border-box;
}

.goal-field input,
.activity-input{
    width:100%;
}

.gram-input{
    width:75px;
    text-align:center;
}

.progress-row{
    margin-bottom:12px;
}

.progress-label{
    display:flex;
    justify-content:space-between;
    color:#ddd;
    font-size:14px;
    margin-bottom:6px;
}

.progress-bg{
    width:100%;
    height:10px;
    background:#222;
    border-radius:99px;
    overflow:hidden;
}

.progress-fill{
    height:10px;
    background:#00ff7b;
    width:0%;
    border-radius:99px;
}

.quick-meals{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-bottom:25px;
}

.food-card{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
}

.food-info h3{
    margin:0;
}

.food-info small,
.macro-line,
.goal,
.macro-total{
    color:#bbb;
}

.food-kcal,
.balance,
.macro-left,
.activity-result{
    color:#00ff7b;
    font-weight:bold;
}

.food-kcal{
    font-size:24px;
    margin-top:10px;
}

.macro-line,
.macro-total,
.macro-left{
    font-size:14px;
    line-height:1.5;
}

.food-actions{
    display:flex;
    align-items:center;
    gap:10px;
}

.checkbox{
    width:30px;
    height:30px;
}

.delete-btn{
    display:inline-block;
    margin-top:12px;
    background:#ff2d2d;
    color:#fff;
    text-decoration:none;
    padding:8px 14px;
    border-radius:10px;
    font-size:14px;
    font-weight:bold;
}

.total-bar{
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    background:#000;
    border-top:1px solid #222;
    padding:14px 16px;
    text-align:center;
    box-sizing:border-box;
}

.total{
    font-size:28px;
    font-weight:bold;
}

video{
    width:100%;
    max-width:500px;
    border-radius:18px;
    background:#111;
}

@media(max-width:600px){
    body{
        padding:14px;
        padding-bottom:300px;
    }

    .food-card{
        align-items:flex-start;
    }

    .quick-meals{
        grid-template-columns:1fr;
    }
    
    .danger-btn{
    background:#ff3b30;
    color:#fff;
    border:none;
    padding:14px 20px;
    border-radius:12px;
    font-size:16px;
    cursor:pointer;
}

.danger-btn:hover{
    opacity:0.9;
}

.danger-link{
    color:#ff3b30 !important;
}
    
}