.mortgage-wrapper{
    background:#fff;
    border-radius:14px;
    padding:30px;
    max-width:1000px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.mortgage-tabs{
    display:flex;
    border-radius:12px;
    overflow:hidden;
    margin-bottom:25px;
}

.mortgage-tabs .tab{
    flex:1;
    text-align:center;
    padding:14px;
    background:#f3f4f6;
    font-weight:600;
}

.mortgage-tabs .active{
    background:#0f1e46;
    color:#fff;
}

.grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.field{
    position:relative;
}

.field label{
    font-size:14px;
    display:block;
    margin-bottom:6px;
}

.field input, .field select{
    width:100%;
    padding:14px;
    border-radius:10px;
    border:1px solid #e5e7eb;
}

.field span{
    position:absolute;
    right:15px;
    top:40px;
    font-size:13px;
    color:#6b7280;
}

input[type=range]{
    margin-top:8px;
}

.actions{
    display:flex;
    gap:15px;
    margin-top:30px;
}

#calculate{
    flex:1;
    background:#e11d2e;
    color:#fff;
    border:none;
    padding:15px;
    border-radius:30px;
}

#reset{
    width:120px;
    border:1px solid #cbd5e1;
    background:#fff;
    border-radius:30px;
}

.result{
    margin-top:25px;
    font-size:18px;
}
