 body {
      font-family: 'Poppins', sans-serif;
      background-color: #f8f9fa;
      margin: 0;
      padding: 0;
    }

    .calculator-container {
      max-width: 900px;
      background: #fff;
      margin: 50px auto;
      padding: 40px;
      border-radius: 20px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }

    h2 {
      text-align: center;
      color: #0097A7;
      margin-bottom: 30px;
    }

    .form-row {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 15px;
    }

    .form-group {
      flex: 1;
      min-width: 220px;
      display: flex;
      flex-direction: column;
    }

    label {
      font-weight: 500;
      color: #333;
      margin-bottom: 5px;
    }

    input, select {
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 8px;
      font-size: 15px;
      outline: none;
    }

    input:focus, select:focus {
      border-color: #0097A7;
      box-shadow: 0 0 5px rgba(4,85,168,0.3);
    }

    .buttons {
      text-align: center;
      margin-top: 25px;
    }

    .buttons button {
      padding: 10px 25px;
      border: none;
      font-size: 16px;
      cursor: pointer;
      border-radius: 8px;
      font-weight: 500;
      margin: 5px;
      transition: 0.3s;
    }

    .buttons .calculate {
      background-color: #0097A7;
      color: #fff;
    }

    .buttons .calculate:hover {
      background-color: #037f8d;
    }

    .buttons .reset {
      background-color: #8cc63f;
      color: #fff;
    }

    .buttons .reset:hover {
      background-color: #7ab52d;
    }

    .results {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      margin-top: 30px;
      gap: 20px;
    }

    .result-box {
      flex: 1;
      min-width: 220px;
      background: #f9f9f9;
      border-radius: 15px;
      padding: 20px;
      text-align: center;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

    .result-box h4 {
      color: #0097A7;
      margin: 0;
      font-size: 16px;
    }

    .result-box p {
      font-size: 18px;
      font-weight: 600;
      color: #333;
      margin-top: 10px;
    }

    canvas {
      margin-top: 30px;
      max-width: 100%;
    }

    @media (max-width: 768px) {
      .form-row {
        flex-direction: column;
      }
    }