/* Card container */
.table-container {
  width: 90% !important; /* Shrink card to 90% of parent */
  max-width: 1800px;
  margin: 15px auto; /* Center horizontally */
  padding: 15px; /* Moderate padding */
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Table responsive wrapper */
.table-responsive {
  overflow-x: auto;
  margin-top: 10px;
  max-width: 100%;
}

/* General table styling */
/* The internal table width - the one that contain data */
table {
  width: 100%; /* Wider table */
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 13px; /* Slightly larger than before */
}

/* Table header */
table th {
  background-color: #007bff;
  color: #fff;
  font-weight: 600;
  padding: 8px 10px; /* Medium padding */
  text-align: left;
  position: sticky;
  top: 0;
  z-index: 2;
}

/* Table body cells */
table td {
  border: 1px solid #ddd;
  padding: 6px 8px; /* Medium padding */
  vertical-align: middle;
}

/* Zebra stripe rows */
table tbody tr:nth-child(even) {
  background-color: #f1f1f1;
}

/* Hover effect */
table tbody tr:hover {
  background-color: #e6f7ff;
  transition: background 0.2s;
}

/* Month links */
.months {
  margin-bottom: 10px;
}
.months a {
  display: inline-block;
  margin-right: 6px;
  padding: 4px 8px;
  text-decoration: none;
  color: #007bff;
  border-radius: 4px;
  font-weight: 500;
  font-size: 12px;
  transition: background 0.2s;
}
.months a:hover {
  background-color: #cce5ff;
}
.months a.active {
  background-color: #007bff;
  color: #fff;
}

/* Small adjustments for mobile */
@media (max-width: 768px) {
  .table-container {
    width: 95%;
    padding: 10px;
  }
  table th,
  table td {
    font-size: 12px;
    padding: 4px 6px;
  }
  .months a {
    font-size: 11px;
    padding: 3px 6px;
  }
}

.comment-btn {
  border-width: 1px !important; /* Thinner border */
  padding: 2px 5px !important; /* Compact feel */
  color: #0d6efd; /* Bootstrap primary blue */
  border-radius: 2px;
  font-size: 11px;
}

.comment-btn i {
  font-size: 11px;
}

.comment-btn:hover {
  background-color: #0d6efd; /* Bootstrap primary blue */
  color: #fff;
}
