/* GBT Forest Contributors Plugin Styles */

.gbt-fc-wrapper {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #333;
  max-width: 1200px;
  margin: 0 auto;
}

.gbt-fc-loading {
  text-align: center;
  padding: 40px 20px;
  color: #888;
  font-size: 15px;
}

.gbt-fc-error {
  text-align: center;
  padding: 30px 20px;
  color: #c0392b;
  font-size: 14px;
}

.gbt-fc-empty {
  text-align: center;
  padding: 30px 20px;
  color: #999;
  font-size: 14px;
}

/* Section titles (for 'both' mode) */
.gbt-fc-section-title {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #2d6a4f;
}

/* Summary bar */
.gbt-fc-summary {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 12px 20px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #d8f3dc, #b7e4c7);
  border-radius: 8px;
  flex-wrap: wrap;
}

.gbt-fc-summary-item {
  font-size: 15px;
  color: #1b4332;
}

.gbt-fc-summary-item strong {
  font-size: 18px;
  display: inline;
}

/* Grid layout */
.gbt-fc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  padding: 0 4px;
}

.gbt-fc-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 18px 14px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.gbt-fc-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.gbt-fc-card-forest {
  border-left: 3px solid #52b788;
}

.gbt-fc-card-tree {
  border-left: 3px solid #40916c;
}

.gbt-fc-card-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.gbt-fc-card-name {
  font-weight: 600;
  font-size: 15px;
  color: #1b4332;
  margin-bottom: 6px;
  word-break: break-word;
}

.gbt-fc-card-detail {
  font-size: 13px;
  color: #2d6a4f;
  font-weight: 500;
  margin-bottom: 4px;
}

.gbt-fc-card-activity {
  font-size: 12px;
  color: #888;
  margin-bottom: 4px;
}

.gbt-fc-card-date {
  font-size: 12px;
  color: #aaa;
}

/* Table layout */
.gbt-fc-table-wrap {
  overflow-x: auto;
}

.gbt-fc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.gbt-fc-table th {
  background: #2d6a4f;
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
}

.gbt-fc-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
}

.gbt-fc-table tbody tr:hover {
  background: #f0faf4;
}

/* Pagination */
.gbt-fc-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.gbt-fc-page-btn {
  background: #fff;
  border: 1px solid #d4d4d4;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
  color: #333;
  transition: background 0.15s, border-color 0.15s;
}

.gbt-fc-page-btn:hover {
  background: #d8f3dc;
  border-color: #52b788;
}

.gbt-fc-page-btn.active {
  background: #2d6a4f;
  color: #fff;
  border-color: #2d6a4f;
  cursor: default;
}

.gbt-fc-page-dots {
  padding: 0 4px;
  color: #999;
}

/* Responsive */
@media (max-width: 600px) {
  .gbt-fc-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }

  .gbt-fc-card {
    padding: 14px 10px;
  }

  .gbt-fc-summary {
    gap: 14px;
    padding: 10px 14px;
  }
}
