/* Basic Styling */
body {
    font-family: 'Poppins', sans-serif;
    background: #f0f2f5;
    margin: 0;
    padding: 0;
  }
  
  header {
    background: #2c3e50;
    color: white;
    padding: 1rem;
    text-align: center;
  }
  
  .container {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
  }
  
  /* Summary Boxes */
  .summary {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
  }
  
  .card {
    background-color: #2c3e50;
    color: white;
    padding: 30px;
    width: 150px;
    height: 150px;
    border-radius: 50%; /* Make it fully round */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 16px rgba(231, 9, 9, 0.2);
    /* box-shadow: 0 0 10px rgba(0,0,0,0.1); */
    text-align: center;
    font-size: 16px;
  }
  
  .card h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
  }
  
  .card p {
    font-size: 1.8rem;
    font-weight: bold;
    color: #27ae60;
  }
  
  /* Forms */
  .forms {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }
  
  .form-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 45%;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
  }
  
  .form-container h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
  }
  
  form {
    display: flex;
    flex-direction: column;
  }
  
  form input {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  form button {
    background-color: #2c3e50;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
  }
  
  form button:hover {
    background-color: #1a252f;
  }
  .download-btn-container {
    text-align: center;
    margin-bottom: 30px;
  }
  
  #download-pdf {
    background-color: #27ae60;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
  }
  
  #download-pdf:hover {
    background-color: #1e8449;
  }

  .transaction-history {
    margin-top: 40px;
  }
  
  .transaction-history h2 {
    text-align: center;
    margin-bottom: 20px;
  }
  
  #transaction-table {
    width: 100%;
    border-collapse: collapse;
  }
  
  #transaction-table th,
  #transaction-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
  }
  
  #transaction-table th {
    background-color: #2c3e50;
    color: white;
  }
  
  /* ===================== */
/* Mobile Responsive CSS */
/* ===================== */
@media (max-width: 768px) {
    .summary {
      flex-direction: column;
      align-items: center;
    }
  
    .card {
      width: 120px;
      height: 120px;
      padding: 20px;
      font-size: 14px;
    }
  
    .card h3 {
      font-size: 1.2rem;
    }
  
    .card p {
      font-size: 1.5rem;
    }
  
    .forms {
      flex-direction: column;
      align-items: center;
    }
  
    .form-container {
      width: 90%;
    }
  
    #transaction-table th, 
    #transaction-table td {
      font-size: 14px;
      padding: 8px;
    }
  }
  
  @media (max-width: 480px) {
    header {
      font-size: 1.2rem;
    }
  
    .card {
      width: 100px;
      height: 100px;
      padding: 15px;
    }
  
    .card h3 {
      font-size: 1rem;
    }
  
    .card p {
      font-size: 1.2rem;
    }
  
    #download-pdf {
      padding: 10px 16px;
      font-size: 0.9rem;
    }
  
    .form-container h2 {
      font-size: 1.3rem;
    }
  }