.calculator{
      width:100%;
      max-width:1100px;
      background:#fff;
      border-radius:24px;
      padding:40px;
      box-shadow:0 10px 40px rgba(0,0,0,0.08);
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:50px;
    }

    /* LEFT SIDE */

    .left h1{
      font-size:36px;
      color:#111;
      margin-bottom:10px;
    }

    .left p{
      color:#666;
      margin-bottom:35px;
      line-height:1.6;
    }

    .input-box{
      margin-bottom:25px;
    }

    .input-box label{
      display:block;
      font-size:16px;
      font-weight:600;
      color:#222;
      margin-bottom:10px;
    }

    .input-field{
      position:relative;
    }

    .input-field span{
      position:absolute;
      left:18px;
      top:50%;
      transform:translateY(-50%);
      color:#777;
      font-size:18px;
    }

    .input-field input{
      width:100%;
      height:60px;
      border:2px solid #e4e7ec;
      border-radius:14px;
      padding:0 20px 0 45px;
      font-size:18px;
      outline:none;
      transition:0.3s;
    }

    .input-field input:focus{
      border-color:#00b386;
    }

    /* RIGHT SIDE */

    .right{
      display:flex;
      flex-direction:column;
      justify-content:center;
      align-items:center;
    }

    .donut-wrap{
      position:relative;
      width:320px;
      height:320px;
    }

    .donut{
      width:100%;
      height:100%;
      border-radius:50%;
      background:conic-gradient(
        #00b386 0deg,
        #00b386 240deg,
        #ffb020 240deg,
        #ffb020 310deg,
        #6c63ff 310deg,
        #6c63ff 360deg
      );
      transition:0.4s ease;
    }

    .donut::before{
      content:"";
      position:absolute;
      width:210px;
      height:210px;
      background:#fff;
      border-radius:50%;
      top:50%;
      left:50%;
      transform:translate(-50%, -50%);
    }

    .center-text{
      position:absolute;
      top:50%;
      left:50%;
      transform:translate(-50%, -50%);
      text-align:center;
      z-index:10;
      width:200px;
    }

    .center-text h2{
      font-size:34px;
      color:#111;
      margin-bottom:5px;
    }

    .center-text p{
      color:#666;
      font-size:15px;
    }

    /* LEGEND */

    .legend{
      width:100%;
      max-width:420px;
      margin-top:35px;
    }

    .legend-item{
      display:flex;
      justify-content:space-between;
      align-items:flex-start;
      gap:20px;
      padding:18px 0;
      border-bottom:1px solid #f1f1f1;
    }

    .label{
      display:flex;
      align-items:flex-start;
      gap:14px;
      flex:1;
    }

    .dot{
      width:14px;
      height:14px;
      border-radius:50%;
      margin-top:5px;
      flex-shrink:0;
    }

    .green{
      background:#00b386;
    }

    .orange{
      background:#ffb020;
    }

    .purple{
      background:#6c63ff;
    }

    .label strong{
      display:block;
      font-size:16px;
      color:#222;
      margin-bottom:5px;
    }

    .info-line{
      font-size:13px;
      color:#777;
      line-height:1.6;
    }

    .amount{
      font-size:18px;
      font-weight:700;
      color:#111;
      white-space:nowrap;
    }

    @media(max-width:900px){

      .calculator{
        grid-template-columns:1fr;
        padding:30px 20px;
      }

      .donut-wrap{
        width:260px;
        height:260px;
      }

      .donut::before{
        width:170px;
        height:170px;
      }

      .center-text h2{
        font-size:28px;
      }

    }