/* Desktop styles - show table, hide mobile */
.desktop-table {
  display: block;
}

.mobile-table {
  display: none;
}

/* Mobile styles - hide table, show mobile */
@media (max-width: 768px) {
  .desktop-table {
    display: none;
  }
  
  .mobile-table {
    display: block;
  }
}

/* Additional mobile table styling */
.mobile-table-container {
  padding: 10px;
}

.mobile-table-card {
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mobile-table-field {
  display: flex;
  margin-bottom: 8px;
  padding: 4px 0;
}

.mobile-table-header {
  font-weight: bold;
  min-width: 120px;
  color: #333;
}

.mobile-table-cell {
  color: #666;
  flex: 1;
}

/* Desktop table styling */
.dynamic-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.dynamic-table th,
.dynamic-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.dynamic-table th {
  background-color: #f2f2f2;
  font-weight: bold;
}

.dynamic-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Month header styles for desktop table */
.month-header-row {
  background-color: #e8f4fd !important;
  border-top: 2px solid #2196F3;
  border-bottom: 2px solid #2196F3;
}

.month-header-cell {
  font-weight: bold;
  font-size: 16px;
  color: #1976D2;
  text-align: center;
  padding: 12px 8px !important;
  background-color: #e8f4fd !important;
}

/* Month header styles for mobile */
.mobile-month-header {
  background-color: #e8f4fd;
  color: #1976D2;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  padding: 12px;
  margin: 15px 0 10px 0;
  border-radius: 8px;
  border: 2px solid #2196F3;
}
