.form {
    display: flex;
    justify-content: space-around;
    /* flex-direction: column; */
  }
  
  .input,
  .select {
    margin-bottom: 15px;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  .input:focus,
  .select:focus {
    outline: none;
    border-color: #007bff;
  }
  
  .btn {
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100px;
  }
  
  .btn:hover {
    background-color: #0056b3;
  }
  
  .table-container {
    margin-top: 20px;
    overflow-x: auto; /* Prevents horizontal overflow */
  }
  
  .table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* Ensures equal column widths */
  }
  
  .table th,
  .table td {
    padding: 10px; /* Adjust padding for better spacing */
    text-align: left;
    border: 1px solid #ddd;
    word-wrap: break-word; /* Ensures content wraps instead of overflowing */
    text-align: center; /* Centers text in cells */
  }
  
  .table th {
    background-color: #f8f9fa;
  }
  
  .table td {
    background-color: #ffffff;
  }
  
  /* Make sure actions column width is fixed */
  .table .actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 200px; /* Set a fixed width for the actions column */
  }
  
  /* Ensure buttons have a fixed width */
  .edit-btn,
  .delete-btn {
    background-color: blue;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    width: 80px; /* Set fixed width */
    text-align: center;
  }
  
  .delete-btn {
    background-color: red;
  }
  
  .edit-btn:hover {
    background-color: darkblue;
  }
  
  .delete-btn:hover {
    background-color: darkred;
  }  
  .container-website{
    margin-left: 40vh;
  }
  .fa-bars, .fa-x{
    display: none;
  }

  @media screen and (max-width: 820px) {
    .container-website {
      flex-direction: row;
   }
   .fa-bars, .fa-x{
    display: none;
  }
   .card{
    width: 32%;
   }
   .fw-bold{
    font-size: 30px;
   }
  .edit-btn{
    font-size: 12px;
    padding: 6px;
    width: 40px;
  }
  .delete-btn{
    font-size: 12px;
    padding: 6px;
    width: 40px;
  }
  .form{
    display: flex;
    gap: 10px;
  
   }
   button[type="submit"]{
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}


/* Styles for iPhone 14 Plus */
@media only screen and (max-width: 428px) {

  #the-total-card, #the-income-card, #the-expense-card{
    width: 500px;
  }
  .select-categories{
    width: 150px;
    margin-top: -52.5vh;
    position: absolute;
    margin-left:-40px ;
  }
  .input{
    width: 150px;
    margin-top:8vh;
    position: absolute;
    margin-left:-165px ;
    width: 370px;
  }
  .select-month{
    width: 150px;
    margin-top: -38vh;
    position: absolute;
    margin-left:-135px ; 
  }
  .btn-mobile{
    position: relative;
    left: -185px;
    top: -165px;
  }

  .table-container{
    width: 100%;
  
  }
  .table{
    width: 90%;
    padding: 5px;
    position: absolute;
    left: 0;
    top: 40vh;
  }
  th{
    width: 90px;
    font-size: 12px;
  }

  .left-side {
    transform: translateX(-100%);
    position: fixed;
    height: 100vh;
    width: 250px;
    color: white;
    padding: 20px;
    top: 0;
    left: 0;
    transition: transform 0.3s ease-in-out;
    margin-top: 10px;
  }

  /* Show Sidebar when Active */
  .left-side.active {
    transform: translateX(0);
  }

  /* Mobile Header */
  .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    color: white;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1100;
  }

  /* Menu Toggle Button */
  #menuToggle {
    position: relative;
    background: none;
    z-index: 1101;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
  }
  .span-expense{
    margin-left: -80px;
    position: absolute;
    margin-top: 70px;
  }
  .container-website{
    margin-left:0;
  }
  .fa-bars, .fa-x{
    display:block;
  }


}

.left-side {
  width: 250px;
  color: white;
  position: fixed;
  height: 100%;
  padding: 20px;
  left: 0;
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
}
.fa-bars, .fa-x{
  margin-left: 20px;
  margin-top: 20px;
}




