/* ==========================
   RESET
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* ==========================
   CONTAINER
========================== */

.wallo-compound-calculator{
    max-width:1200px;
    margin:40px auto;
    font-family:Inter,sans-serif;
    color:#1f2937;
}

/* ==========================
   HERO
========================== */

.wallo-header{
    text-align:center;
    margin-bottom:35px;
}

.wallo-header h1{
    font-size:48px;
    font-weight:800;
    margin-bottom:15px;
    color:#111827;
}

.wallo-header p{
    max-width:850px;
    margin:auto;
    font-size:18px;
    line-height:1.8;
    color:#4b5563;
}

/* ==========================
   CARD
========================== */

.wallo-card{
    background:#fff;
    padding:35px;
    border-radius:18px;
    box-shadow:0 10px 35px rgba(0,0,0,.06);
}

/* ==========================
   INPUTS
========================== */

.form-group{
    margin-bottom:22px;
}

.form-group label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
}

.form-group input,
.form-group select{

    width:100%;
    padding:15px;
    border:1px solid #d1d5db;
    border-radius:10px;
    font-size:16px;
    transition:.25s;

}

.form-group input:focus,
.form-group select:focus{

    outline:none;
    border-color:#ef4444;

}

/* ==========================
   BUTTONS
========================== */

.button-group{

    display:flex;
    gap:15px;
    margin-top:10px;

}

.button-group button{

    flex:1;
    border:none;
    border-radius:10px;
    padding:16px;
    cursor:pointer;
    font-size:16px;
    font-weight:700;
    transition:.3s;

}

#calculateBtn{

    background:#ef4444;
    color:#fff;

}

#calculateBtn:hover{

    background:#dc2626;

}

#resetBtn{

    background:#f3f4f6;

}

#resetBtn:hover{

    background:#e5e7eb;

}

/* ==========================
   RESULTS
========================== */

.results-section{

    margin-top:40px;

}

.results-section h2{

    font-size:32px;
    margin-bottom:25px;

}

.results-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:20px;

}

.result-card{

    background:#fff;
    border-radius:16px;
    padding:25px;
    box-shadow:0 8px 25px rgba(0,0,0,.05);
    text-align:center;

}

.result-card h3{

    font-size:18px;
    margin-bottom:15px;
    color:#6b7280;

}

.result-card div{

    font-size:34px;
    font-weight:800;
    color:#ef4444;

}

/* ==========================
   INFO BOX
========================== */

.info-box{

    background:#fff;
    border-radius:18px;
    padding:35px;
    margin-top:35px;
    box-shadow:0 8px 25px rgba(0,0,0,.05);

}

.info-box h2{

    font-size:32px;
    font-weight:800;
    margin-bottom:20px;

}

.info-box p,
.info-box li{

    font-size:17px;
    line-height:1.9;
    color:#4b5563;

}

.info-box ul{

    margin:20px 0 0 22px;

}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:768px){

    .button-group{

        flex-direction:column;

    }

    .wallo-header h1{

        font-size:36px;

    }

}
/* ==========================
   GROWTH TABLE
========================== */

#growthTable{

    width:100%;
    border-collapse:collapse;
    margin-top:25px;

}

#growthTable th{

    background:#ef4444;
    color:#fff;
    padding:15px;
    text-align:left;

}

#growthTable td{

    padding:15px;
    border-bottom:1px solid #ececec;

}

#growthTable tr:nth-child(even){

    background:#fafafa;

}
/* ==========================
   PRINT
========================== */

@media print{

    .wallo-header,
    .wallo-card,
    .button-group{

        display:none !important;

    }

    #results,
    #summaryBox,
    #analysisBox,
    #growthTableBox{

        display:block !important;

    }

}


/* ==========================
   LINKS
========================== */

.info-box a{

    color:#ef4444;

    font-weight:600;

    text-decoration:none;

    transition:.3s;

}

.info-box a:hover{

    color:#dc2626;

    text-decoration:underline;

}