.mytable {
        margin-top: -50px;
      position: relative;
    }
    .content-after-table {
      position: relative;
      top: 20px; /* Adjust as needed */
    }

.table-wrapper {
            overflow-x: auto;
            border: 1px solid #ccc; /* border color */
            box-shadow: 0 4px 8px 0 rgba(0,0,0,0.9); /* shadow */
            margin: 20px; /* adjust margin as needed */
            padding: 20px; /* add padding to give space between content and border */
          } 
          table {
            width: 95%;
            border-collapse: collapse;
            margin: 0px 10px 50px 10px;
          }
          th, td {
            border: 2px solid #000;
            text-align: center;
            padding: 8px;

          }
          th {
            background-color: #66b3f1;
            font-weight: bold;
          }
          td {  
            border-left: 2px solid #000;
          }
          td:last-child {
            border-right: 2px solid #000;
          }
          /* Style input fields */
          input[type="text"] {
            width: 100%;
            box-sizing: border-box; /* Ensure input width includes padding and border */
            padding: 0; /* Remove padding */
            margin: 0; /* Remove margin */
          }
     @media only screen and (max-width: 768px) {
      /* Adjust width for the second and third td elements */
      td:nth-child(2),
      td:nth-child(3) {
        width: 16%; /* Adjust width as needed */
      }

      /* Additional adjustments if needed */
    }
    /*add buttons*/
    .button-container {
      position: absolute;
      top: 0;
      right: 25px;
      margin-top: 2px;
    }
    @media only screen and (max-width: 568px) {
      .button-container { 
        top: 0;
        right: 0; 
        text-align: right;
        padding: 1px 3px; /* Adjusted padding for small screens */
        margin-top: 5px; /* Adjusted margin for small screens */
        cursor: pointer; 
      }

      .button-container button {
        font-size: 10px; /* Adjusted font size for small screens */
        padding: 1px 3px; /* Adjusted padding for small screens */
        margin-right: -9px; /* Adjusted margin for small screens */
      }
    }
    .remove-button {
        background-color: red;
        color: white;
        border: none;
        padding: 5px 10px;
        cursor: pointer; 
    }
    @media screen and (max-width: 600px) {
        .remove-button {
            padding: 1px 3px; /* Adjusted padding for small screens */
            margin-left: 100px; /* Margin added for small screens */
        }
    }
    .inputTD{
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
        border: none;
        display: block;
    }
    /* Define the CSS for the Quantity column */
    th.quantity-cell {
        width: 13%; /* Set the initial width for the Quantity column */
        /* Define any other styles for the Quantity column */
    }

    /* Define media query for screens smaller than 600px */
    @media screen and (max-width: 600px) {
        th.quantity-cell {
            width: 5%; /* Set the width to 100% for smaller screens */
        }
    }
     @media screen and (max-width: 600px) {
        th.quantity-cell:first-child {
            width: 5%; /* Set the width to 5% for the first cell on smaller screens */
            font-size: 9px; /* Set font size to 9px for the first cell on smaller screens */
        }
    }