*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Inter',Arial,sans-serif;
}

body{
    background:#111;
    color:#fff;
}

h1,h2,h3{
    font-family:'Poppins',sans-serif;
}

/* ============ DASHBOARD LAYOUT ============ */

.dashboard{
    display:flex;
    min-height:100vh;
}

.sidebar{
    width:260px;
    background:#1b1b1b;
    position:fixed;
    top:0;
    left:0;
    bottom:0;
    padding:25px;
    border-right:1px solid #333;
}

.sidebar .logo{
    text-align:center;
    margin-bottom:40px;
}

.sidebar .logo h2{
    color:#FFD700;
    margin-bottom:5px;
}

.sidebar .logo span{
    color:#ccc;
    font-size:14px;
}

.sidebar nav{
    display:flex;
    flex-direction:column;
}

.sidebar nav a{
    color:#ddd;
    text-decoration:none;
    padding:14px;
    margin-bottom:10px;
    border-radius:10px;
    transition:.3s;
}

.sidebar nav a i{
    width:25px;
}

.sidebar nav a:hover,
.sidebar nav a.active{
    background:#FFD700;
    color:#111;
    font-weight:bold;
}

.main-content{
    margin-left:260px;
    width:calc(100% - 260px);
    padding:35px;
}

.top-bar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
}

.home-logo{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    color:#FFD700;
    font-size:22px;
    font-weight:bold;
}

.home-logo img{
    width:45px;
    height:45px;
    object-fit:contain;
}

.home-logo:hover{
    opacity:.85;
}

#logoutBtn{
    background:#FFD700;
    color:#111;
    border:none;
    padding:12px 22px;
    border-radius:8px;
    cursor:pointer;
    font-weight:bold;
}

/* ============ PAGE HEADER ============ */

.page-header{
    margin-bottom:35px;
}

.page-header h1{
    color:#FFD700;
    font-size:32px;
    display:flex;
    align-items:center;
    gap:12px;
}

.page-header p{
    color:#aaa;
    margin-top:10px;
    font-size:15px;
    max-width:700px;
}

/* ============ BLOCKS ============ */

.lz-block{
    background:#1a1a1a;
    border:1px solid rgba(255,255,255,.06);
    border-radius:18px;
    padding:28px;
    margin-bottom:30px;
}

.block-title{
    color:#FFD700;
    font-size:20px;
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:8px;
}

.block-sub{
    color:#999;
    font-size:14px;
    margin-bottom:22px;
    max-width:750px;
    line-height:1.6;
}

/* ============ QUICK ACCESS ============ */

.quick-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.quick-card{
    background:#222;
    border:1px solid rgba(255,215,0,.15);
    border-radius:14px;
    padding:24px;
    text-decoration:none;
    color:#fff;
    transition:.3s;
    display:block;
}

.quick-card:hover{
    border-color:#FFD700;
    transform:translateY(-6px);
    box-shadow:0 15px 30px rgba(255,215,0,.15);
}

.quick-card i{
    font-size:26px;
    color:#FFD700;
    margin-bottom:14px;
}

.quick-card h3{
    font-size:17px;
    margin-bottom:8px;
}

.quick-card p{
    color:#999;
    font-size:13px;
    line-height:1.5;
}

/* ============ PROTEIN GRID ============ */

.protein-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:22px;
}

.protein-card{
    background:#212121;
    border-radius:14px;
    padding:22px;
    border-left:4px solid #FFD700;
}

.protein-card h3{
    color:#FFD700;
    font-size:16px;
    margin-bottom:16px;
    display:flex;
    align-items:center;
    gap:8px;
}

.protein-card ul{
    list-style:none;
}

.protein-card ul li{
    display:flex;
    justify-content:space-between;
    padding:9px 0;
    border-bottom:1px solid #2a2a2a;
    font-size:14px;
    color:#ddd;
}

.protein-card ul li b{
    color:#FFD700;
}

.protein-card ul.plain-list li{
    display:block;
    color:#ccc;
    line-height:1.6;
}

/* ============ TABLE ============ */

.table-wrap{
    overflow-x:auto;
}

.lz-table{
    width:100%;
    border-collapse:collapse;
    min-width:500px;
}

.lz-table th{
    background:#222;
    color:#FFD700;
    text-align:left;
    padding:14px;
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:.5px;
}

.lz-table td{
    padding:14px;
    border-bottom:1px solid #262626;
    font-size:14px;
    color:#eee;
}

.lz-table tr:hover td{
    background:#1f1f1f;
}

/* ============ MYTHS ============ */

.myth-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:20px;
}

.myth-card{
    background:#212121;
    border-radius:14px;
    padding:20px;
}

.myth-card .myth{
    color:#ff8080;
    font-size:14px;
    margin-bottom:10px;
    font-weight:600;
    display:flex;
    gap:8px;
    align-items:flex-start;
}

.myth-card .fact{
    color:#ccc;
    font-size:13.5px;
    line-height:1.6;
    display:flex;
    gap:8px;
    align-items:flex-start;
}

.myth-card i{
    margin-top:3px;
    flex-shrink:0;
}

.myth-card .myth i{ color:#e74c3c; }
.myth-card .fact i{ color:#2ecc71; }

/* ============ CALCULATOR ============ */

.calc-card{
    background:#212121;
    border-radius:16px;
    padding:26px;
}

.calc-inputs{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:18px;
    margin-bottom:22px;
}

.form-group{
    display:flex;
    flex-direction:column;
}

.form-group label{
    color:#FFD700;
    font-size:13px;
    font-weight:600;
    margin-bottom:8px;
}

.form-group input,
.form-group select{
    background:#1a1a1a;
    border:1px solid #3a3a3a;
    color:#fff;
    padding:12px;
    border-radius:9px;
    font-size:14px;
    outline:none;
}

.form-group input:focus,
.form-group select:focus{
    border-color:#FFD700;
}

#calcBtn{
    background:#FFD700;
    color:#111;
    border:none;
    padding:14px 26px;
    border-radius:10px;
    font-weight:700;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    gap:10px;
    transition:.25s;
}

#calcBtn:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 22px rgba(255,215,0,.3);
}

.calc-results{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:18px;
    margin-top:26px;
}

.result-box{
    background:#1a1a1a;
    border:1px solid rgba(255,215,0,.2);
    border-radius:12px;
    padding:18px;
    display:flex;
    align-items:center;
    gap:14px;
}

.result-box i{
    font-size:22px;
    color:#FFD700;
    width:44px;
    height:44px;
    background:rgba(255,215,0,.1);
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.result-box h3{
    font-size:19px;
    color:#fff;
}

.result-box p{
    color:#999;
    font-size:12px;
    margin-top:2px;
}

/* ============ CHALLENGE ============ */

.challenge-progress-wrap{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:22px;
}

.challenge-progress-bar{
    flex:1;
    height:12px;
    background:#2a2a2a;
    border-radius:20px;
    overflow:hidden;
}

.challenge-progress-fill{
    height:100%;
    width:0%;
    background:linear-gradient(90deg,#FFD700,#ffb700);
    transition:width .5s ease;
}

#challengeProgressText{
    color:#FFD700;
    font-weight:700;
    font-size:14px;
    white-space:nowrap;
}

.challenge-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
    gap:14px;
}

.day-card{
    background:#212121;
    border:1px solid #2c2c2c;
    border-radius:12px;
    padding:14px;
    cursor:pointer;
    transition:.25s;
    text-align:center;
}

.day-card:hover{
    border-color:#FFD700;
}

.day-card.done{
    background:rgba(255,215,0,.12);
    border-color:#FFD700;
}

.day-card .day-num{
    color:#FFD700;
    font-weight:700;
    font-size:13px;
    margin-bottom:6px;
}

.day-card .day-task{
    color:#ccc;
    font-size:12px;
    line-height:1.5;
    min-height:36px;
}

.day-card .day-check{
    margin-top:8px;
    font-size:16px;
    color:#444;
}

.day-card.done .day-check{
    color:#FFD700;
}

/* ============ RESPONSIVE ============ */

@media(max-width:900px){

    .sidebar{
        position:relative;
        width:100%;
        height:auto;
    }

    .main-content{
        margin-left:0;
        width:100%;
        padding:20px;
    }

    .dashboard{
        display:block;
    }

    .top-bar{
        flex-direction:column;
        gap:15px;
        align-items:flex-start;
    }

}
