﻿body { margin: 0 }

.site-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #0f172a;
  background: #ffffff;
}

.site-layout__header,
.site-layout__footer {
  padding: 1.25rem 2rem;
  background: #0f172a;
  color: #f8fafc;
}

.site-layout__brand,
.site-layout__copyright {
  font-weight: 700;
}

.site-layout__main {
  flex: 1;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0;
}

.site-layout nav {
  padding: 12px 16px;
}

.site-layout .dataset-render--links {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.site-layout .dataset-render__item {
  display: flex;
}

.site-layout .dataset-render__link {
  text-decoration: none;
  color: white;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-layout .dataset-render__link:hover {
  color: #0077cc;
}

.site-layout .dataset-render__link:active {
  color: #005999;
}

.site-layout .exhibition__register-button {
    display: inline-flex;
    border: 2px solid black;
    color: black;
    text-decoration: none;
    font-size: 2.4rem;
    font-weight: 500;
    padding: 19px 55px;
    border-radius: 74px;
    cursor: pointer;
    /* cursor: default; */
    white-space: nowrap;
    transition: all .2s ease;
}

.site-layout .exhibition__register-button:hover {
    /* background: rgba(0, 0, 0, .2); */
    background: #56c3e8;
    color: var(--color-white);
    border-color: #56c3e8;
}
.site-layout .content-block__gallery-grid {
    display: flex;
    gap: 1em;
    width: 100%;
}

.site-layout .content-block__gallery-item {
    flex: 1;
}

.site-layout .content-block__gallery-item {
    width: 100%;
}

.site-layout .content-block--image,
.site-layout .content-block--image, img {
    width: 100%;
}

.site-layout table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 24px 0;
  background: #ffffff;
  color: #1f2937;
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.site-layout caption {
  caption-side: top;
  text-align: left;
  padding: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
}

.site-layout thead {
  background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
}

.site-layout tbody {
  background: #ffffff;
}

.site-layout tfoot {
  background: #f9fafb;
}

.site-layout tr {
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-layout thead tr {
  border-bottom: 1px solid #e5e7eb;
}

.site-layout tbody tr {
  border-bottom: 1px solid #f1f5f9;
}

.site-layout tbody tr:last-child {
  border-bottom: none;
}

.site-layout tbody tr:hover {
  background: #f8fbff;
}

.site-layout th,
.site-layout td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: middle;
}

.site-layout th {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #374151;
}

.site-layout td {
  color: #111827;
}

.site-layout th:not(:last-child),
.site-layout td:not(:last-child) {
  border-right: 1px solid #f3f4f6;
}

.site-layout tbody tr:nth-child(even) {
  background: #fcfcfd;
}

.site-layout tbody tr:nth-child(even):hover {
  background: #f4f8ff;
}

/* compact variation if needed */
.site-layout table.table-compact th,
.site-layout table.table-compact td {
  padding: 10px 12px;
  font-size: 13px;
}

/* bordered / stronger variation */
.site-layout table.table-bordered {
  border: 1px solid #dbe3ee;
}

.site-layout table.table-bordered th,
.site-layout table.table-bordered td {
  border: 1px solid #e5e7eb;
}

/* striped helper */
.site-layout table.table-striped tbody tr:nth-child(odd) {
  background: #fafafa;
}

.site-layout table.table-striped tbody tr:nth-child(odd):hover {
  background: #f3f8ff;
}

/* sticky header */
.site-layout table.table-sticky thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f9fafb;
  box-shadow: inset 0 -1px 0 #e5e7eb;
}

/* responsive wrapper */
.site-layout .table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
  border-radius: 14px;
}

.site-layout .table-wrap table {
  margin: 0;
  min-width: 640px;
}

.site-layout .table-wrap::-webkit-scrollbar {
  height: 10px;
}

.site-layout .table-wrap::-webkit-scrollbar-track {
  background: #eef2f7;
  border-radius: 999px;
}

.site-layout .table-wrap::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.site-layout .table-wrap::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* links inside table */
.site-layout table a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.site-layout table a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* form controls inside table */
.site-layout table input,
.site-layout table select,
.site-layout table textarea {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  font: inherit;
  color: #111827;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.site-layout table input:focus,
.site-layout table select:focus,
.site-layout table textarea:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.18);
}

.site-layout table input:disabled,
.site-layout table select:disabled,
.site-layout table textarea:disabled {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
}

/* buttons inside table */
.site-layout table button,
.site-layout table .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  font: inherit;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.22);
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.site-layout table button:hover,
.site-layout table .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.26);
}

.site-layout table button:active,
.site-layout table .btn:active {
  transform: translateY(0);
}

.site-layout table button:disabled,
.site-layout table .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

/* badges / statuses */
.site-layout table .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.site-layout table .badge-success {
  color: #166534;
  background: #dcfce7;
}

.site-layout table .badge-warning {
  color: #92400e;
  background: #fef3c7;
}

.site-layout table .badge-danger {
  color: #991b1b;
  background: #fee2e2;
}

.site-layout table .badge-info {
  color: #1e3a8a;
  background: #dbeafe;
}

/* numeric align helper */
.site-layout table .text-right,
.site-layout table td.text-right,
.site-layout table th.text-right {
  text-align: right;
}

.site-layout table .text-center,
.site-layout table td.text-center,
.site-layout table th.text-center {
  text-align: center;
}

/* selected row */
.site-layout table .is-selected,
.site-layout table tr.is-selected {
  background: #eff6ff !important;
}

/* loading state */
.site-layout table .is-loading td {
  color: #9ca3af;
}

/* empty state cell */
.site-layout table .table-empty {
  padding: 28px 16px;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
}

/* mobile tweaks */
@media (max-width: 768px) {
  .site-layout table {
    font-size: 13px;
    border-radius: 12px;
  }

  .site-layout th,
  .site-layout td {
    padding: 12px;
  }

  .site-layout th {
    font-size: 12px;
  }
}