.spon-quarter {
    width:25%;
    float:left;
    box-sizing: border-box; 
    padding:10px;
}
.spon-three-quarter {
    width: 75%; 
    float: left; 
    box-sizing: border-box; 
    padding: 10px;
}

.supporter-subscriptions-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
  border: 1px solid #e0e0e0;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
body.dark-mode .supporter-subscriptions-table{
    background-color:#1e1e1e;
}

.supporter-subscriptions-table thead {
  background-color: #f9fafb;
}
body.dark-mode .supporter-subscriptions-table thead {
    background-color: #333;
}

.supporter-subscriptions-table th,
.supporter-subscriptions-table td {
  text-align: left;
  padding: 12px 15px;
  border-bottom: 1px solid #e0e0e0;
  white-space: nowrap;
}

.supporter-subscriptions-table th {
  font-weight: 600;
  color: #333;
}
body.dark-mode .supporter-subscriptions-table th {
    color:#fff;
}

.supporter-subscriptions-table tbody tr:hover {
  background-color: #f5f5f5;
}
body.dark-mode .supporter-subscriptions-table tbody tr:hover {
    background-color: #333;
}

/* Responsive styling */
@media (max-width: 768px) {
    .spon-quarter, .spon-three-quarter{
        width:100%;
    }
    
  .supporter-subscriptions-table thead {
    display: none;
  }

  .supporter-subscriptions-table, 
  .supporter-subscriptions-table tbody, 
  .supporter-subscriptions-table tr, 
  .supporter-subscriptions-table td {
    display: block;
    width: 100%;
  }

  .supporter-subscriptions-table tr {
    margin-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
    padding: 10px 0;
  }

  .supporter-subscriptions-table td {
  position: relative;
  padding-left: 50%;
  text-align: right;
  white-space: pre-wrap;
  
  display: flex;           /* Make td a flex container */
  align-items: center;     /* Vertically center contents */
  justify-content: flex-end; /* Keep content right aligned */
}
.supporter-subscriptions-table td::before {
  content: attr(data-label);
  position: absolute;
  left: 15px;
  width: 45%;
  text-align: left;
  white-space: pre-wrap;
}

  body.dark-mode .supporter-subscriptions-table td::before {
      color:#fff;
  }
}
