body {
    font-family: "Poppins", sans-serif;
    /* Primary dark color */
    color: #efdbff; /* Light color text for readability */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 0 0 20px;
  }
  
  h3 {
    font-size: 1.75rem;
    color: #000;
  }
  
  .heading {
    background-color: #003a8c;
    width: 100%;
    padding: 20px 20px 10px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .heading h1,
  .heading p {
    color: #fff;
    max-width: 500px;
    text-align: center;
  }
  
  .heading i {
    font-size: 52px;
    margin: 20px;
  }
  
  .heading h1 {
    display: flex;
    flex-direction: column;
  }
  
  .container {
    max-width: none;
    padding: 0;
  }
  
  .tab-content {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 864px;
    width: 100%;
    box-sizing: border-box;
  }
  .calculator {
    max-width: 864px;
    width: 100%;
  }
  
  .body-wrapper {
    padding: 40px;
    background-color: #f5f5f5;
    display: flex;
    margin: 0 auto;
    justify-content: center;
  }
  
  .side-bar {
    width: 200px;
    margin-left: 20px;
    padding-top: 78px;
  }
  
  .side-bar-content {
    padding: 10px;
    background-color: #d6e4ff;
    border-radius: 10px;
  }
  
  .side-bar i {
    color: #f6ab0b;
    font-size: 23px;
    position: relative;
    top: 2px;
    left: -13px;
  }
  
  .side-bar h1 {
    font-size: 17px;
    margin-bottom: 10px;
  }
  
  .side-bar p {
    font-size: 12px;
    text-align: left;
    margin: 0;
  }
  
  h1 {
    color: #22075e;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: bold;
  }
  
  p {
    text-align: center;
    margin-bottom: 30px;
    color: #22075e;
    font-size: 1.125rem;
  }
  
  .nav-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: none;
    justify-content: space-between;
  }
  
  .nav-tabs .nav-link {
    /* font-weight: 600; */
    border-radius: 15px;
    margin: 0 10px;
    padding: 10px 20px;
    color: #555;
    background-color: #edf1fa;
    /* font-size: 22px; */
  }
  
  .nav-tabs .nav-link.active {
    background-color: #1890ff;
    color: #fff;
  }
  
  .form-control {
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 30px;
    /* border: 1px solid #bfbfbf; */
    font-size: 1rem;
    color: #22075e;
    background-color: #fafafa;
    transition: border 0.3s ease;
  }
  
  .form-control:focus {
    border: 2px solid #efdbff;
    box-shadow: 0 0 8px rgba(172, 125, 216, 0.6);
  }
  
  .btn {
    background-color: #1890ff;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
    padding: 15px;
    font-size: 1.2rem;
  }
  
  .btn:hover {
    background-color: #22075e;
    color: #fff;
    transform: scale(1.05);
  }
  
  .result {
    padding: 30px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    text-align: center;
  }
  
  .disclaimer {
    font-size: 0.875rem;
    color: #22075e;
    margin-top: 15px;
    text-align: center;
  }
  
  .tab-content {
    margin-top: 30px;
  }
  
  canvas {
    margin-top: 30px;
  }
  
  .invalid-feedback {
    display: block;
    color: red;
    top: -24px;
    !i;!;
    position: relative;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-label {
    font-weight: 600;
    color: #22075e;
    margin-bottom: 10px;
  }
  
  /* Mobile layout: Icons for tabs, no stacking */
  @media (max-width: 768px) {
    .container {
      /* padding: 20px; */
    }
  
    .btn {
      padding: 12px;
      font-size: 1rem;
    }
  
    h1 {
      font-size: 2rem;
    }
  
    p {
      font-size: 1rem;
    }
  
    .nav-tabs .nav-link {
      padding: 8px 15px;
      display: inline-flex;
      align-items: center;
      font-size: 14px;
    }
  
    .nav-tabs .nav-link i {
      margin-right: 8px;
      font-size: 17px;
      position: relative;
      top: -2px;
    }
  
    .nav-tabs {
      flex-wrap: nowrap;
      justify-content: space-between;
    }
  
    .nav-tabs .nav-link {
      font-size: 13px;
    }
  
    .body-wrapper {
      padding: 20px 0 0;
      background-color: #f5f5f5;
    }
  
    .tab-content {
      background-color: #fff;
      border-radius: 0;
      box-shadow: none;
      padding: 10px 20px;
      max-width: 864px;
      width: 100%;
      box-sizing: border-box;
    }
  
    .side-bar {
      display: none;
    }
  
    .nav-tabs .nav-link span {
      display: none;
    }
  
    /* Change font size of text in the table */
    .container p,
    .result p {
      font-size: 11px;
    }
  }
  