.calculator {
      width: 100%;
      max-width: 950px;
      background: #fff;
      border-radius: 24px;
      overflow: hidden;
      display: grid;
      grid-template-columns: 1fr 1fr;
      box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    }

    .left,
    .right {
      padding: 40px;
    }

    .left {
      background: linear-gradient(135deg, #4f46e5, #7c3aed);
      color: #fff;
      position: relative;
    }

    .left h1 {
      font-size: 32px;
      margin-bottom: 10px;
      font-weight: 700;
    }

    .left p {
      opacity: 0.9;
      line-height: 1.7;
      margin-bottom: 30px;
    }

    .result-box {
      background: rgba(255,255,255,0.12);
      backdrop-filter: blur(10px);
      padding: 25px;
      border-radius: 18px;
      margin-top: 25px;
    }

    .result-box h2 {
      font-size: 18px;
      font-weight: 500;
      margin-bottom: 8px;
    }

    .result-value {
      font-size: 40px;
      font-weight: 700;
      margin-bottom: 15px;
    }

    .summary {
      display: flex;
      justify-content: space-between;
      margin-top: 15px;
      gap: 15px;
    }

    .summary div {
      flex: 1;
      background: rgba(255,255,255,0.1);
      padding: 15px;
      border-radius: 14px;
      text-align: center;
    }

    .summary span {
      display: block;
      font-size: 14px;
      opacity: 0.85;
      margin-bottom: 6px;
    }

    .summary strong {
      font-size: 18px;
    }

    .right h2 {
      font-size: 28px;
      color: #111827;
      margin-bottom: 30px;
    }

    .input-group {
      margin-bottom: 28px;
    }

    .input-group label {
      display: flex;
      justify-content: space-between;
      margin-bottom: 10px;
      color: #374151;
      font-weight: 600;
      font-size: 15px;
    }

    .input-value {
      color: #4f46e5;
      font-weight: 700;
    }

    input[type="range"] {
      width: 100%;
      height: 7px;
      border-radius: 20px;
      appearance: none;
      background: #dbeafe;
      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 4px 10px rgba(79, 70, 229, 0.4);
    }

    .info {
      margin-top: 25px;
      padding: 18px;
      border-radius: 16px;
      background: #f3f4f6;
      color: #4b5563;
      line-height: 1.6;
      font-size: 14px;
    }

    @media(max-width: 850px) {
      .calculator {
        grid-template-columns: 1fr;
      }

      .left,
      .right {
        padding: 30px 25px;
      }

      .result-value {
        font-size: 34px;
      }
    }