.card{

    background:white;

    border-radius:16px;

    padding:24px;

    margin-bottom:24px;

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

}


.input-grid{

    display:grid;

    grid-template-columns:
    repeat(
        auto-fit,
        minmax(240px,1fr)
    );

    gap:18px;

}

.results-grid{

    display:grid;

    grid-template-columns:
    repeat(
        auto-fit,
        minmax(200px,1fr)
    );

    gap:18px;

}

.charts-grid{

    display:grid;

    grid-template-columns:
    repeat(
        auto-fit,
        minmax(350px,1fr)
    );

    gap:25px;

}

.stats-grid{

    display:grid;

    grid-template-columns:
    repeat(
        auto-fit,
        minmax(220px,1fr)
    );

    gap:18px;

}

.form-group{

    display:flex;

    flex-direction:column;

    gap:8px;

}

.form-group label{

    font-weight:600;

    color:#192c27;

}

.loan-type-grid{

    display:grid;

    grid-template-columns:
    repeat(
        auto-fit,
        minmax(180px,1fr)
    );

    gap:15px;

}

.loan-btn{

    padding:16px;

    border:none;

    border-radius:14px;

    background:#E6F0EE;

    cursor:pointer;

    font-weight:700;

    transition:all .3s ease;

}

.loan-btn:hover{

    transform:
    translateY(-3px);

}

.loan-btn.active{

    background:
    linear-gradient(
        135deg,
        #007f5f,
        #55a630
    );

    color:white;

}

.action-buttons{

    display:flex;

    gap:15px;

    flex-wrap:wrap;

}

.primary-btn{

    background:
    linear-gradient(
        135deg,
        #007f5f,
        #55a630
    );

    color:white;

    border:none;

    padding:15px 28px;

    border-radius:12px;

    cursor:pointer;

    font-weight:700;

    transition:all .3s ease;

}

.primary-btn:hover{

    transform:
    translateY(-2px);

}

.secondary-btn{

    background:#e5e7eb;

    border:none;

    padding:15px 28px;

    border-radius:12px;

    cursor:pointer;

    font-weight:700;

}

.secondary-btn:hover{

    opacity:.85;

}

.hidden{

    display:none !important;

}

.results-section{

    margin-bottom:25px;

}

.results-section h2{

    margin-bottom:20px;

    color:#007f5f;

    font-size:1.5rem;

}

.result-card{

    background:#ffffff;

    border-radius:18px;

    padding:24px;

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

    position:relative;

    overflow:hidden;

    transition:all .3s ease;

}

.result-card:hover{

    transform:translateY(-5px);

}

.result-card::before{

    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:5px;

    background:
    linear-gradient(
        90deg,
        #007f5f,
        #55a630
    );

}

.result-title{

    font-size:.9rem;

    color:#64748b;

    margin-bottom:10px;

    font-weight:600;

}

.result-value{

    font-size:1.7rem;

    font-weight:800;

    color:#007f5f;

    word-break:break-word;

}

.result-box{

    margin-top:15px;

    padding:18px;

    border-radius:14px;

    background:#E6F0EE;

    border-left:5px solid
    #007f5f;

    font-weight:600;

}

.chart-card{

    background:white;

    border-radius:18px;

    padding:20px;

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

}

.chart-card h3{

    margin-bottom:15px;

    color:#007f5f;

    font-size:1rem;

}

.chart-card canvas{

    width:100% !important;

    max-height:350px;

}

.table-wrapper{

    overflow-x:auto;

    border-radius:16px;

}

.schedule-table,
.comparison-table{

    width:100%;

    border-collapse:collapse;

    background:white;

}

.schedule-table thead,
.comparison-table thead{

    background:
    linear-gradient(
        135deg,
        #007f5f,
        #55a630
    );

    color:white;

}

.schedule-table th,
.schedule-table td,
.comparison-table th,
.comparison-table td{

    padding:14px;

    text-align:left;

    border-bottom:
    1px solid #edf2f7;

}

.schedule-table tbody tr:hover,
.comparison-table tbody tr:hover{

    background:#f8fafc;

}

.recommendation-list{

    list-style:none;

}

.recommendation-list li{

    background:#E6F0EE;

    margin-bottom:12px;

    padding:15px;

    border-radius:12px;

    border-left:
    4px solid
    #55a630;

}

.health-score-wrapper{

    text-align:center;

    padding:20px;

}

.health-score{

    width:180px;
    height:180px;

    margin:auto;

    display:flex;

    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:
    linear-gradient(
        135deg,
        #007f5f,
        #55a630
    );

    color:white;

    font-size:2rem;

    font-weight:800;

    margin-bottom:20px;

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

}

.export-grid{

    display:grid;

    grid-template-columns:
    repeat(
        auto-fit,
        minmax(180px,1fr)
    );

    gap:15px;

}

.export-btn{

    border:none;

    padding:15px;

    border-radius:12px;

    cursor:pointer;

    font-weight:700;

    color:white;

    background:
    linear-gradient(
        135deg,
        #007f5f,
        #55a630
    );

    transition:all .3s ease;

}

.export-btn:hover{

    transform:
    translateY(-3px);

}

.stat-box{

    background:white;

    padding:20px;

    border-radius:16px;

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

    display:flex;

    flex-direction:column;

    gap:10px;

}

.stat-label{

    color:#64748b;

    font-size:.9rem;

}

.stat-value{

    font-size:1.2rem;

    font-weight:700;

    color:#007f5f;

}

