
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #ffffff;
    color: #252a27;
}

.app {
    max-width: 850px;
    margin: auto;
    padding: 0 25px;
}

/* HEADER */

.header {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header h2 {
    font-size: 21px;
    letter-spacing: -1px;
}

.header h2 span {
    color: #15966b;
}

.profile {
    width: 32px;
    height: 32px;
    background: #edf6f1;
    color: #15966b;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: bold;
}

/* MAIN */

main {
    padding-bottom: 85px;
}

section {
    margin-top: 25px;
}

.section-label {
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 12px;
}

/* DREAM */

.dream-card {
    width: 100%;
}

.dream-image {
    width: 100%;
    height: 300px;
    display: block;
    object-fit: cover;
    border-radius: 5px;
}

.dream-content {
    padding: 16px 0;
}

.dream-content h1 {
    font-size: 23px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.dream-content p {
    color: #999;
    font-size: 12px;
    margin-top: 7px;
}

.progress-info,
.amount-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-info {
    margin-top: 23px;
    margin-bottom: 9px;
    font-size: 12px;
}

.progress-info strong {
    color: #15966b;
}

.progress-info span,
.amount-info {
    color: #999;
}

.progress-bar {
    height: 4px;
    width: 100%;
    background: #edf0ee;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar div {
    height: 100%;
    background: #15966b;
}

.amount-info {
    margin-top: 9px;
    font-size: 11px;
}

/* SECTION HEADINGS */

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 17px;
}

.section-heading h3 {
    font-size: 15px;
    font-weight: 600;
}

.section-heading a {
    color: #15966b;
    text-decoration: none;
    font-size: 11px;
}

/* FINANCES */

.finance-section {
    border-top: 1px solid #f0f0f0;
    padding-top: 22px;
}

.finance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.finance-item span {
    display: block;
    color: #999;
    font-size: 11px;
    margin-bottom: 8px;
}

.finance-item strong {
    font-size: 19px;
    font-weight: 600;
}

.net-worth {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 22px;
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
}

.net-worth span {
    color: #777;
    font-size: 12px;
}

.net-worth strong {
    color: #15966b;
    font-size: 17px;
}

/* FUNDS */

.fund-section {
    border-top: 1px solid #f0f0f0;
    padding-top: 22px;
}

.fund-item {
    margin-bottom: 20px;
}

.fund-heading {
    display: flex;
    justify-content: space-between;
    margin-bottom: 9px;
    font-size: 12px;
}

.fund-heading span {
    color: #666;
}

.fund-heading strong {
    color: #15966b;
}

.purple div {
    background: #8374c9;
}

/* OTHER DREAMS */

.other-section {
    border-top: 1px solid #f0f0f0;
    padding-top: 22px;
}

.other-dream {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f2f2f2;
    text-decoration: none;
    color: #333;
    font-size: 13px;
}

.other-dream small {
    color: #15966b;
    font-size: 11px;
}

/* BOTTOM NAVIGATION */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 850px;
    height: 62px;
    background: rgba(255,255,255,0.97);
    border-top: 1px solid #eeeeee;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 10;
}

.bottom-nav a {
    text-decoration: none;
    color: #999;
    font-size: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.bottom-nav a span {
    font-size: 20px;
}

.bottom-nav a.active {
    color: #15966b;
}

 
/* MOBILE */

@media (max-width: 600px) {

    .app {
        padding: 0 16px;
    }

    .header {
        height: 60px;
    }

    section {
        margin-top: 22px;
    }

    .dream-image {
        height: 210px;
    }

    .dream-content h1 {
        font-size: 21px;
    }

    .finance-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 22px;
    }

    .finance-item strong {
        font-size: 18px;
    }

    .net-worth strong {
        font-size: 15px;
    }

   
}
