:root {
    --primary: #2A9D8F;
    --primary-hover: #23867A;
    --sidebar: #14213D;
    --background: #F5F7FA;
    --card: #FFFFFF;
    --text: #1F2937;
    --muted: #6B7280;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--background);
    color: var(--text);
}

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

/* ---------------- Sidebar ---------------- */

.sidebar {
    width: 230px;
    background: var(--sidebar);
    color: white;
    display: flex;
    flex-direction: column;
    padding: 40px 25px;
}

.logo {
    margin-bottom: 50px;
}

.logo h1 {
    font-size: 30px;
    font-weight: 700;
}

.logo span {
    color: rgba(255,255,255,.6);
}

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

.sidebar nav a {
    display: flex;
    align-items: center;
    gap: 14px;

    color: white;
    text-decoration: none;

    padding: 14px 18px;

    border-radius: 12px;

    opacity: .85;

    transition: all .25s ease;
}

.sidebar nav a:hover {
    background: rgba(255,255,255,.08);
    opacity: 1;
    transform: translateX(4px);
}

.sidebar nav a.active {
    background: rgba(42,157,143,.18);
    color: #4fe3d0;
}

.sidebar nav svg {
    width: 20px;
    height: 20px;
}

.sidebar-footer {
    margin-top: auto;
    opacity: .5;
}

/* ---------------- Main ---------------- */

.main-content {
    flex: 1;
    padding: 45px;
}

/* ---------------- Dashboard ---------------- */

.dashboard {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.dashboard-main {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.dashboard-side {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* ---------------- Cards ---------------- */

.hero-card,
.week-card,
.stat-card,
.donation-card,
.marathon-card {

    background: white;

    border-radius: 18px;

    padding: 25px;

    box-shadow: 0 10px 30px rgba(0,0,0,.08);

}

/* ---------------- Hero ---------------- */

.hero-card h1 {
    margin: 8px 0 20px;
}

.today-workout h3 {
    margin-top: 12px;
    font-size: 28px;
}

.date {
    color: var(--muted);
    margin-bottom: 6px;
}

/* ---------------- Stats ---------------- */

.stats-grid {

    display: grid;

    grid-template-columns: repeat(4,1fr);

    gap: 20px;

}

.stat-card h4 {

    display:flex;

    align-items:center;

    gap:10px;

    color:var(--muted);

    margin-bottom:15px;

}

.stat-card h2 {

    font-size:30px;

}

/* ---------------- Week ---------------- */

.week-row {

    display:flex;

    justify-content:space-between;

    padding:14px 0;

    border-bottom:1px solid #ececec;

}

/* ---------------- Buttons ---------------- */

.primary-button {

    background: var(--primary);

    color:white;

    border:none;

    border-radius:12px;

    padding:14px 22px;

    cursor:pointer;

    margin-top:20px;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    text-decoration:none;

    font-weight:600;

    transition:.25s;

}

.primary-button:hover {

    background: var(--primary-hover);

    transform: translateY(-2px);

}

/* ---------------- Donation ---------------- */

.donation-card {

    text-align:center;

}

.charity-logo {

    width:210px;

    margin:20px auto;

    display:block;

}

.qr-code {

    width:170px;

    margin:20px auto;

    display:block;

    border-radius:12px;

}

.donation-card .primary-button {

    margin:25px auto 0;

}

/* ---------------- Marathon ---------------- */

.marathon-card {

    text-align:center;

}

.marathon-card h1 {

    font-size:58px;

    color:var(--primary);

    margin:15px 0;

}

/* ---------------- Responsive ---------------- */

@media (max-width:1100px){

.dashboard{

grid-template-columns:1fr;

}

.stats-grid{

grid-template-columns:repeat(2,1fr);

}

.sidebar{

display:none;

}

.landmarks{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:20px;

    margin:20px 0;

}

.landmarks img{

    width:55px;

    height:55px;

    opacity:.85;

}