.ucm-widget {
  --ucm-blue: #124f82;
  --ucm-blue-dark: #0b3558;
  --ucm-blue-soft: #eef5fa;
  --ucm-border: #e2e8ef;
  --ucm-text: #1b2733;
  --ucm-muted: #697783;
  box-sizing: border-box;
  color: var(--ucm-text);
  font-family: inherit;
  line-height: 1.55;
  width: 100%;
}

.ucm-widget *,
.ucm-widget *::before,
.ucm-widget *::after {
  box-sizing: border-box;
}

.ucm-error,
.ucm-empty,
.ucm-stale {
  border-radius: 6px;
  margin: 16px 0;
  padding: 13px 16px;
}

.ucm-error {
  background: #fff1f1;
  border: 1px solid #f1caca;
  color: #9b2626;
}

.ucm-empty {
  background: #f6f8fa;
  color: var(--ucm-muted);
  text-align: center;
}

.ucm-stale {
  background: #fff8e6;
  border: 1px solid #efd99d;
  color: #70530d;
  font-size: 13px;
}

/* Hakemler */
.ucm-hakem-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(var(--ucm-columns, 3), minmax(0, 1fr));
}

.ucm-hakem-card {
  background: #fff;
  border: 1px solid var(--ucm-border);
  border-radius: 3px;
  box-shadow: 0 8px 26px rgba(17, 49, 76, 0.07);
  min-width: 0;
  overflow: hidden;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.ucm-hakem-card:hover {
  box-shadow: 0 14px 34px rgba(17, 49, 76, 0.13);
  transform: translateY(-3px);
}

.ucm-hakem-photo {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--ucm-blue-soft), #d9e9f4);
  color: var(--ucm-blue);
  display: flex;
  font-size: 56px;
  font-weight: 700;
  justify-content: center;
  overflow: hidden;
}

.ucm-hakem-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.ucm-hakem-content {
  padding: 22px 24px 25px;
}

.ucm-hakem-content h3 {
  color: var(--ucm-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 7px;
}

.ucm-hakem-content p {
  color: var(--ucm-muted);
  font-size: 14px;
  margin: 0 0 14px;
}

.ucm-hakem-badge {
  background: var(--ucm-blue-soft);
  border-radius: 20px;
  color: var(--ucm-blue);
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 10px 8px 0;
  padding: 5px 10px;
  text-transform: uppercase;
}

.ucm-text-link {
  color: var(--ucm-blue);
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  margin-top: 8px;
  text-decoration: none;
}

.ucm-text-link:hover,
.ucm-text-link:focus {
  color: var(--ucm-blue-dark);
  text-decoration: underline;
}

/* Ücretlendirme */
.ucm-pricing-heading {
  margin: 0 auto 38px;
  max-width: 820px;
  text-align: center;
}

.ucm-pricing-heading h2 {
  color: var(--ucm-text);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 14px;
}

.ucm-pricing-heading p {
  color: var(--ucm-muted);
  font-size: 15px;
  margin: 0;
  text-transform: uppercase;
}

.ucm-pricing-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 980px;
}

.ucm-price-card {
  background: #fff;
  border: 1px solid var(--ucm-border);
  box-shadow: 0 12px 35px rgba(15, 48, 76, 0.08);
  min-height: 360px;
  padding: 44px 46px 40px;
  position: relative;
}

.ucm-price-card.is-featured {
  border-top: 4px solid var(--ucm-blue);
  padding-top: 41px;
}

.ucm-price-kicker {
  background: var(--ucm-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 7px 15px;
  position: absolute;
  right: 28px;
  text-transform: uppercase;
  top: 0;
}

.ucm-price-card h3 {
  color: var(--ucm-text);
  font-size: 25px;
  margin: 0 0 12px;
}

.ucm-price {
  color: var(--ucm-blue);
  font-size: clamp(38px, 5vw, 55px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 17px;
}

.ucm-price-card > p {
  color: var(--ucm-muted);
  min-height: 48px;
}

.ucm-price-card dl {
  border-top: 1px solid var(--ucm-border);
  margin: 25px 0 0;
  padding: 17px 0 0;
}

.ucm-price-card dl div {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 8px 0;
}

.ucm-price-card dt,
.ucm-price-card dd {
  margin: 0;
}

.ucm-price-card dt {
  color: var(--ucm-muted);
  font-size: 14px;
}

.ucm-price-card dd {
  color: var(--ucm-text);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

/* Karar panosu */
.ucm-board-intro {
  color: var(--ucm-muted);
  font-size: 16px;
  margin: 0 0 27px;
  max-width: 900px;
}

.ucm-year-tabs {
  border-bottom: 1px solid var(--ucm-border);
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.ucm-year-tab {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  color: var(--ucm-muted);
  cursor: pointer;
  flex: 0 0 auto;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  padding: 12px 22px 13px;
}

.ucm-year-tab:hover,
.ucm-year-tab:focus-visible {
  background: var(--ucm-blue-soft);
  color: var(--ucm-blue);
  outline: 0;
}

.ucm-year-tab.is-active {
  border-bottom-color: var(--ucm-blue);
  color: var(--ucm-blue);
}

.ucm-year-panel[hidden] {
  display: none !important;
}

.ucm-panel-year {
  color: var(--ucm-text);
  font-size: 25px;
  margin: 0 0 18px;
}

.ucm-table-wrap {
  border: 1px solid var(--ucm-border);
  overflow-x: auto;
  width: 100%;
}

.ucm-board-table {
  background: #fff;
  border: 0;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0;
  min-width: 850px;
  table-layout: auto;
  width: 100%;
}

.ucm-board-table th,
.ucm-board-table td {
  border: 0;
  border-bottom: 1px solid var(--ucm-border);
  padding: 17px 18px;
  text-align: left;
  vertical-align: middle;
}

.ucm-board-table th {
  background: var(--ucm-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ucm-board-table tbody tr:last-child td {
  border-bottom: 0;
}

.ucm-board-table tbody tr:hover td {
  background: #f8fbfd;
}

.ucm-board-table td {
  color: #394651;
  font-size: 14px;
}

.ucm-board-table td:first-child {
  color: var(--ucm-text);
  min-width: 180px;
}

.ucm-status {
  display: block;
  font-weight: 600;
}

.ucm-status.is-completed {
  color: #27663b;
}

.ucm-status.is-active {
  color: #9b6413;
}

.ucm-board-table td small {
  color: var(--ucm-muted);
  display: block;
  font-size: 12px;
  margin-top: 3px;
}

.ucm-file-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ucm-pdf-link {
  align-items: center;
  background: #fdf0f0;
  border: 1px solid #f2d4d4;
  border-radius: 50%;
  color: #b32626;
  display: inline-flex;
  height: 37px;
  justify-content: center;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
  width: 37px;
}

.ucm-pdf-link:hover,
.ucm-pdf-link:focus {
  background: #b32626;
  color: #fff;
  transform: translateY(-1px);
}

.ucm-pdf-link svg {
  height: 19px;
  width: 19px;
}

.ucm-unpublished {
  color: var(--ucm-muted);
  font-size: 12px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .ucm-hakem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ucm-price-card {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 680px) {
  .ucm-hakem-grid,
  .ucm-pricing-grid {
    grid-template-columns: 1fr;
  }

  .ucm-price-card {
    min-height: 0;
  }

  .ucm-year-tab {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ucm-table-wrap {
    border: 0;
    overflow: visible;
  }

  .ucm-board-table {
    background: transparent;
    min-width: 0;
  }

  .ucm-board-table thead {
    display: none;
  }

  .ucm-board-table,
  .ucm-board-table tbody,
  .ucm-board-table tr,
  .ucm-board-table td {
    display: block;
    width: 100%;
  }

  .ucm-board-table tr {
    background: #fff;
    border: 1px solid var(--ucm-border);
    box-shadow: 0 5px 18px rgba(15, 48, 76, 0.05);
    margin-bottom: 14px;
    padding: 11px 16px;
  }

  .ucm-board-table td {
    align-items: flex-start;
    border-bottom: 1px dashed var(--ucm-border);
    display: grid;
    gap: 14px;
    grid-template-columns: 120px 1fr;
    min-width: 0 !important;
    padding: 10px 0;
  }

  .ucm-board-table td::before {
    color: var(--ucm-muted);
    content: attr(data-label);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  .ucm-board-table td:last-child {
    border-bottom: 0;
  }
}
