/* =========================
   GLOBAL STYLES
========================= */

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

body{
    background:#eef5ff;
    color:#1f2937;
    padding:20px;
    line-height:1.6;
}

.back-btn{
    position:fixed;
    top:16px;
    left:16px;
    z-index:100;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:10px 16px;
    background:white;
    color:#123b6d;
    border:1px solid #cbd5e1;
    border-radius:999px;
    font-weight:bold;
    text-decoration:none;
    box-shadow:0 4px 14px rgba(0,0,0,0.08);
}

.back-btn::before{
    content:"<";
    margin-right:8px;
    font-weight:900;
}

.back-btn:hover{
    background:#dbeafe;
}

.container{
    max-width:1500px;
    margin:auto;
}

/* =========================
   TYPOGRAPHY
========================= */

h1{
    color:#123b6d;
    margin-bottom:10px;
    font-size:40px;
}

.subtitle{
    color:#4b5563;
    margin-bottom:25px;
    font-size:18px;
}

h2{
    color:#0f4c81;
    margin-bottom:18px;
    font-size:28px;
}

p{
    line-height:1.8;
}

/* =========================
   CARD UI
========================= */

.card{
    background:white;
    border-radius:20px;
    padding:24px;
    margin-bottom:24px;
    box-shadow:0 4px 14px rgba(0,0,0,0.08);
}

/* =========================
   TABLES
========================= */

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

table{
    width:100%;
    min-width:1700px;
    border-collapse:collapse;
}

th{
    background:#dbeafe;
    color:#123b6d;
    padding:14px;
    border:1px solid #cbd5e1;
    text-align:left;
    font-size:15px;
}

td{
    padding:14px;
    border:1px solid #e5e7eb;
    vertical-align:top;
    line-height:1.7;
    background:white;
}

tr:nth-child(even){
    background:#f8fbff;
}

/* =========================
   IMAGES
========================= */

img{
    width:120px;
    height:120px;
    object-fit:cover;
    border-radius:12px;
}

/* =========================
   INPUTS
========================= */

input{
    width:100px;
    padding:10px;
    border-radius:8px;
    border:1px solid #cbd5e1;
    font-size:16px;
}

/* =========================
   BUDGET BOX
========================= */

.total-box{
    background:#dbeafe;
    padding:20px;
    border-radius:16px;
    margin-top:20px;
    font-size:20px;
    font-weight:bold;
}

/* =========================
   STATUS COLORS
========================= */

.warning{
    color:#b91c1c;
    font-weight:bold;
}

.success{
    color:#15803d;
    font-weight:bold;
}

/* =========================
   BADGES
========================= */

.badge{
    display:inline-block;
    margin-top:12px;
    background:#bfdbfe;
    color:#123b6d;
    padding:6px 12px;
    border-radius:999px;
    font-size:13px;
    font-weight:bold;
}

/* =========================
   LISTS
========================= */

.goal-list li{
    margin-bottom:12px;
}

ul{
    padding-left:20px;
}

/* =========================
   DETAILS / HINTS
========================= */

details{
    background:#f3f4f6;
    padding:10px;
    border-radius:10px;
}

summary{
    cursor:pointer;
    font-weight:bold;
    color:#123b6d;
}

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

@media(max-width:768px){

    body{
        padding:12px;
    }

    .card{
        padding:18px;
    }

    h1{
        font-size:30px;
    }

    h2{
        font-size:24px;
    }

    .subtitle{
        font-size:16px;
    }

    img{
        width:100px;
        height:100px;
    }

}
