

.recent-transactions {
    margin: 35px;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.265);
    border-radius: 8px;
    overflow: hidden;
  }
  
  .recent-transactions h2 {
    padding: 15px 20px;
    margin-top: 0;
    color: #333;
    font-size: 25px;
    border-bottom: 1px solid #eee;
  }
  
  .transactions-table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .transactions-table thead{
    color: #8d8ffd;
  }
  

thead tr th{
  color: #434343;
}

  .transactions-table th,
  .transactions-table td {
    padding: 10px 20px;
    text-align: left;
    font-size: 18px;
    border-bottom: 1px solid #eee;
  }
  
  .transactions-table th {
    background-color: #f8f8f8;
    font-weight: bold;
    padding-top: 20px;
    color: #696cff;
  }
  
.transactions-table td{
    color: #353535; /* Default text color for table cells */
  }
  
  .transactions-table tbody tr:hover {
    background-color: #f1f1f1;
  }
  
  .transactions-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

  .transactions-table tbody tr:last-child td {
    border-bottom: none;
  }
  
  .amount {
    font-weight: bold;
  }
  
  .amount.income {
    color: #434343; /* Green for income */
  }
  
  .amount.expense {
    color: #434343; /* Red for expense */
  }
  
  .actions {
    text-align: center;
  }
  
  .actions button {
    background: none;
    border: none;
    padding: 8px;
    margin: 0 5px;
    cursor: pointer;
    font-size: 1em;
    outline: none;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
  }
  
  .actions button:hover {
    transform: scale(1.1);
    opacity: 0.8;
  }
  
  .edit-btn {
    color: #434343; /* Blue for edit */
  }
  
  .delete-btn {
    color: #434343; /* Red for delete */
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .recent-transactions {
        margin: 10px;
    }
  
    .transactions-table thead {
        display: none;
    }
  
    .transactions-table tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 6px;
        padding: 10px;
        position: relative;
    }
  
    .transactions-table tbody td {
        display: flex;
        align-items: center;
        padding-left: 50%;
        border: none;
    }
  
    .transactions-table tbody td:before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        font-weight: bold;
        color: #555;
    }
  
    .actions {
        position: absolute;
        top: 10px;
        right: 10px;
        display: flex;
        gap: 5px;
    }
  
    .actions button {
        padding: 5px;
        font-size: 0.9em;
    }
  }
  
  @media (max-width: 480px) {
    .actions {
        top: 5px;
        right: 5px;
        gap: 3px;
    }
  
    .actions button {
        font-size: 0.8em;
        padding: 3px;
    }
  }
  