/* Shortcode styles for JCAL documentation */

/* Table wrapper */
.table-wrapper {
  overflow-x: auto;
  margin: 1rem 0;
  width: 100%;
}

.table-wrapper table {
  width: 100% !important;
  border-collapse: collapse;
  margin: 0;
}

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

.table-wrapper table thead {
  background-color: #f5f5f5;
}

.table-wrapper table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.table-striped tbody tr:nth-child(odd) {
  background-color: transparent;
}

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

/* Callout styles */
.callout {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  margin: 1.5rem 0;
  border-left: 4px solid #999;
  background-color: #f9f9f9;
  border-radius: 4px;
}

.callout-icon {
  flex-shrink: 0;
  font-size: 1.5rem;
  line-height: 1.5;
}

.callout-content {
  flex: 1;
}

.callout-content p {
  margin: 0 0 0.5rem 0;
}

.callout-content p:last-child {
  margin: 0;
}

.callout-info {
  border-left-color: #0066cc;
  background-color: #e6f2ff;
}

.callout-warning {
  border-left-color: #ff9900;
  background-color: #fff4e6;
}

.callout-error {
  border-left-color: #cc0000;
  background-color: #ffe6e6;
}

.callout-note {
  border-left-color: #0099cc;
  background-color: #e6f7ff;
}

.callout-success {
  border-left-color: #00cc00;
  background-color: #e6ffe6;
}

/* Homepage buttons */
.home-buttons {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: #0969da;
  color: white;
}

.btn-primary:hover {
  background-color: #0860ca;
}

.btn-secondary {
  background-color: transparent;
  color: #0969da;
  border-color: #0969da;
}

.btn-secondary:hover {
  background-color: #f3f5f7;
}
