.wrapper{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
}

/* CARD */

.card{
    background:#fff;
    border-radius:24px;
    padding:30px;
    border:1px solid #e5e7eb;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

/* SUBTITLE */

.subtitle{
    color:#6b7280;
    margin-bottom:25px;
    font-size:15px;
}

/* TOGGLE */

.toggle-wrapper{
    margin-bottom:25px;
}

.toggle{
    display:inline-flex;
    background:#f1f5f9;
    padding:6px;
    border-radius:50px;
    gap:6px;
}

.toggle button{
    border:none;
    background:transparent;
    padding:10px 22px;
    border-radius:50px;
    cursor:pointer;
    font-weight:600;
    color:#64748b;
    transition:.3s;
}

.toggle button.active{
    background:linear-gradient(135deg,#06b6d4,#3b82f6);
    color:#fff;
}

/* INPUTS */

.input-group{
    margin-bottom:18px;
}

.input-group label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
    color:#374151;
}

.input-box{
    position:relative;
}

.currency-symbol{
    position:absolute;
    left:16px;
    top:50%;
    transform:translateY(-50%);
    color:#64748b;
    font-size:18px;
}

input{
    width:100%;
    padding:15px 15px 15px 42px;
    border:1px solid #d1d5db;
    border-radius:14px;
    outline:none;
    font-size:16px;
    transition:.3s;
}

input:focus{
    border-color:#3b82f6;
    box-shadow:0 0 0 4px rgba(59,130,246,0.1);
}

/* RESULT */

.result-card{
    background:linear-gradient(135deg,#eff6ff,#ffffff);
}

.result-title{
    font-size:28px;
    font-weight:700;
    color:#111827;
    margin-bottom:25px;
}

.result-item{
    display:flex;
    justify-content:space-between;
    padding:15px 0;
    border-bottom:1px solid #e5e7eb;
    color:#374151;
}

.result-item span:last-child{
    font-weight:700;
    color:#2563eb;
}

.final-box{
    margin-top:22px;
    padding:22px;
    border-radius:18px;
    background:#fff;
    border:1px solid #dbeafe;
}

.final-label{
    color:#6b7280;
    margin-bottom:10px;
}

.final-price{
    font-size:38px;
    font-weight:800;
    color:#111827;
}

/* PROGRESS */

.progress-container{
    width:100%;
    height:14px;
    background:#e5e7eb;
    border-radius:50px;
    overflow:hidden;
    margin-top:25px;
}

.progress-bar{
    width:0%;
    height:100%;
    background:linear-gradient(90deg,#06b6d4,#3b82f6);
    transition:.5s;
}

/* SUMMARY */

.summary{
    margin-top:25px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}

.summary-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    padding:18px;
}

.summary-card p{
    color:#6b7280;
    margin-bottom:10px;
}

.summary-card h3{
    color:#111827;
    font-size:24px;
}

/* MOBILE */

@media(max-width:768px){

    .wrapper{
        grid-template-columns:1fr;
    }

    .result-card{
        order:2;
    }

    .card{
        padding:22px;
    }

    .summary{
        grid-template-columns:1fr;
    }

    .final-price{
        font-size:30px;
    }

}