.calculator{
      width:100%;
      max-width:850px;
      background:#fff;
      border-radius:20px;
      padding:35px;
      box-shadow:0 10px 30px rgba(0,0,0,0.08);
    }

    .title{
      font-size:32px;
      font-weight:700;
      margin-bottom:10px;
      color:#222;
    }

    .subtitle{
      color:#666;
      margin-bottom:30px;
    }

    .currency-toggle{
      display:flex;
      width:220px;
      background:#eef2ff;
      border-radius:50px;
      overflow:hidden;
      margin-bottom:30px;
    }

    .currency-toggle button{
      flex:1;
      padding:12px;
      border:none;
      cursor:pointer;
      background:transparent;
      font-size:16px;
      font-weight:600;
      transition:0.3s;
    }

    .currency-toggle button.active{
      background:#4f46e5;
      color:#fff;
    }

    .grid{
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:40px;
    }

    .input-group{
      margin-bottom:30px;
    }

    .label-row{
      display:flex;
      justify-content:space-between;
      margin-bottom:12px;
    }

    .label-row label{
      font-weight:600;
      color:#333;
    }

    .label-row span{
      font-weight:700;
      color:#4f46e5;
    }

    input[type="range"]{
      width:100%;
      appearance:none;
      height:6px;
      border-radius:20px;
      background:#dbe4ff;
      outline:none;
    }

    input[type="range"]::-webkit-slider-thumb{
      appearance:none;
      width:22px;
      height:22px;
      border-radius:50%;
      background:#4f46e5;
      cursor:pointer;
      border:4px solid #fff;
      box-shadow:0 0 8px rgba(0,0,0,0.2);
    }

    .result-card{
      background:#f8faff;
      border-radius:20px;
      padding:30px;
      display:flex;
      flex-direction:column;
      justify-content:center;
      align-items:center;
      text-align:center;
      border:1px solid #e6ebff;
    }

    .result-title{
      font-size:18px;
      color:#666;
      margin-bottom:15px;
    }

    .result-amount{
      font-size:42px;
      font-weight:700;
      color:#4f46e5;
      margin-bottom:20px;
    }

    .formula{
      font-size:14px;
      color:#777;
      line-height:1.7;
    }

    .note{
      margin-top:25px;
      background:#fff5d7;
      padding:15px;
      border-radius:12px;
      font-size:14px;
      color:#6a5700;
    }

    @media(max-width:768px){
      .grid{
        grid-template-columns:1fr;
      }

      .calculator{
        padding:25px;
      }

      .result-amount{
        font-size:34px;
      }
    }