.container{
      width:100%;
      max-width:1200px;
      display:grid;
      grid-template-columns: 1fr 420px;
      gap:25px;
    }

    .calculator-card,
    .result-card{
      background:#fff;
      border-radius:24px;
      padding:30px;
      box-shadow:0 10px 40px rgba(0,0,0,0.08);
    }

    .subtitle{
      color:#6b7280;
      margin-bottom:30px;
      line-height:1.6;
    }

    .currency-toggle{
      display:flex;
      gap:12px;
      margin-bottom:25px;
    }

    .currency-btn{
      flex:1;
      padding:14px;
      border:none;
      border-radius:14px;
      cursor:pointer;
      font-weight:700;
      background:#f3f4f6;
      transition:0.3s;
      font-size:15px;
    }

    .currency-btn.active{
      background:linear-gradient(135deg,#4f46e5,#7c3aed);
      color:#fff;
    }

    .input-group{
      margin-bottom:20px;
    }

    .input-group label{
      display:block;
      font-size:15px;
      font-weight:700;
      margin-bottom:10px;
      color:#374151;
    }

    .input-wrapper{
      position:relative;
    }

    .currency-symbol{
      position:absolute;
      left:16px;
      top:50%;
      transform:translateY(-50%);
      color:#6b7280;
      font-weight:700;
    }

    .input-wrapper input{
      width:100%;
      padding:16px 16px 16px 40px;
      border:2px solid #e5e7eb;
      border-radius:14px;
      outline:none;
      font-size:16px;
      transition:0.3s;
    }

    .input-wrapper input:focus{
      border-color:#6366f1;
      box-shadow:0 0 0 4px rgba(99,102,241,0.12);
    }

    .calculate-btn{
      width:100%;
      padding:18px;
      border:none;
      border-radius:16px;
      background:linear-gradient(135deg,#4f46e5,#7c3aed);
      color:#fff;
      font-size:17px;
      font-weight:700;
      cursor:pointer;
      transition:0.3s;
      margin-top:10px;
    }

    .calculate-btn:hover{
      transform:translateY(-2px);
      box-shadow:0 12px 30px rgba(79,70,229,0.3);
    }

    .result-card{
      display:flex;
      flex-direction:column;
      justify-content:space-between;
    }

    .result-header{
      margin-bottom:25px;
    }

    .result-header h2{
      font-size:26px;
      margin-bottom:8px;
    }

    .result-value{
      font-size:42px;
      font-weight:800;
      color:#4f46e5;
      margin:20px 0;
      word-break:break-word;
    }

    .summary{
      background:#f9fafb;
      border-radius:18px;
      padding:20px;
      margin-top:20px;
    }

    .summary-item{
      display:flex;
      justify-content:space-between;
      margin-bottom:14px;
      font-size:15px;
    }

    .summary-item:last-child{
      margin-bottom:0;
    }

    .summary-label{
      color:#6b7280;
    }

    .summary-value{
      font-weight:700;
      color:#111827;
    }

    .formula-box{
      margin-top:25px;
      background:linear-gradient(135deg,#eef2ff,#f5f3ff);
      border-radius:18px;
      padding:20px;
      border:1px solid #dbeafe;
    }

    .formula-title{
      font-weight:800;
      margin-bottom:10px;
      color:#4f46e5;
    }

    .formula{
      font-size:16px;
      font-weight:700;
      line-height:1.8;
    }

    .meter-container{
      margin-top:30px;
    }

    .meter-label{
      display:flex;
      justify-content:space-between;
      margin-bottom:10px;
      font-weight:700;
    }

    .meter{
      height:16px;
      background:#e5e7eb;
      border-radius:50px;
      overflow:hidden;
    }

    .meter-fill{
      height:100%;
      width:0%;
      background:linear-gradient(90deg,#10b981,#6366f1,#7c3aed);
      border-radius:50px;
      transition:1s ease;
    }

    .note{
      margin-top:25px;
      font-size:14px;
      line-height:1.7;
      color:#6b7280;
    }

    @media(max-width:900px){
      .container{
        grid-template-columns:1fr;
      }

      .result-value{
        font-size:34px;
      }
    }