/* Turnuva ceza tahtası — mobil (turnuva_ceza_tahtasi.php) */

.tct-page .page-hero {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(circle at 86% 18%, rgba(239, 68, 68, 0.34), transparent 34%),
    linear-gradient(135deg, #05264c, #074b87 68%, #0d6efd);
  color: #fff;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  padding: 20px;
}

.tct-page .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.45;
  pointer-events: none;
}

.tct-page .page-hero .hero-inner {
  position: relative;
  z-index: 2;
}

.tct-page .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #dbeafe;
  font-size: 10px;
  font-weight: 900;
  margin-bottom: 13px;
}

.tct-page .page-hero h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.12;
  letter-spacing: -0.65px;
  text-transform: uppercase;
}

.tct-page .page-hero > .hero-inner > p {
  margin: 10px 0 0;
  color: #dbeafe;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 600;
}

.tct-page .hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 16px;
}

.tct-page .hero-btn {
  min-height: 44px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  text-align: center;
  text-decoration: none;
}

.tct-page .filter-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 21px;
  box-shadow: 0 12px 26px rgba(8, 60, 116, 0.08);
  padding: 12px;
  margin-bottom: 16px;
}

.tct-page .filter-card .select-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #07376a;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 9px;
}

.tct-page .filter-card select,
.tct-page .filter-card input[type="search"] {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fbfdff;
  color: #10243d;
  padding: 0 13px;
  outline: 0;
  font-size: 12px;
  font-weight: 800;
}

.tct-page .filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 9px;
}

.tct-page .filter-search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: stretch;
  margin-top: 9px;
}

.tct-page .filter-search-row input[type="search"] {
  min-width: 0;
}

.tct-page .filter-search-btn {
  width: 48px;
  min-height: 48px;
  border-radius: 15px;
  border: 1px solid #cfe5ff;
  background: linear-gradient(135deg, #1688ff, #0d6efd);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  flex-shrink: 0;
}

.tct-page .summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.tct-page .summary-box {
  min-height: 82px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(8, 60, 116, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
}

.tct-page .summary-box strong {
  font-size: 23px;
  line-height: 1;
  color: #0d6efd;
  font-weight: 900;
}

.tct-page .summary-box span {
  margin-top: 7px;
  color: #6b7f99;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.25;
}

.tct-page .summary-box.red strong {
  color: #ef4444;
}

.tct-page .summary-box.orange strong {
  color: #f59e0b;
}

.tct-page .summary-box.green strong {
  color: #18b45b;
}

.tct-page .section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0 12px;
}

.tct-page .section-head h3 {
  margin: 0;
  color: #07376a;
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 9px;
  letter-spacing: -0.25px;
}

.tct-page .section-head h3::before {
  content: "";
  width: 7px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1688ff, #0d6efd);
}

.tct-page .section-head span {
  color: #0d6efd;
  background: #eaf5ff;
  border: 1px solid #cfe5ff;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.tct-page .penalty-list {
  display: grid;
  gap: 13px;
}

.tct-page .penalty-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 12px 26px rgba(8, 60, 116, 0.09);
  padding: 14px;
}

.tct-page .penalty-card::after {
  content: "";
  position: absolute;
  right: -36px;
  top: -36px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(13, 110, 253, 0.03));
  pointer-events: none;
}

.tct-page .penalty-top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.tct-page .player-photo {
  width: 62px;
  height: 62px;
  border-radius: 19px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #eef2f7;
  color: #64748b;
  border: 1px solid #d7eafb;
  font-size: 19px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(8, 60, 116, 0.08);
  position: relative;
}

.tct-page .player-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.tct-page .player-photo .tct-ph-fb {
  position: relative;
  z-index: 1;
}

.tct-page .player-info {
  min-width: 0;
}

.tct-page .player-info h4 {
  margin: 0;
  color: #10243d;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 900;
  text-transform: uppercase;
}

.tct-page .player-info span {
  display: block;
  margin-top: 5px;
  color: #6b7f99;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 800;
}

.tct-page .penalty-day {
  min-width: 58px;
  min-height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.18);
}

.tct-page .penalty-day small {
  display: block;
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
}

.tct-page .penalty-meta {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.tct-page .meta-box {
  min-height: 48px;
  border-radius: 14px;
  background: #f8fbff;
  border: 1px solid #e6f0fb;
  padding: 8px;
}

.tct-page .meta-box span {
  display: block;
  color: #6b7f99;
  font-size: 9px;
  font-weight: 900;
  margin-bottom: 3px;
}

.tct-page .meta-box b {
  display: block;
  color: #10243d;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
}

.tct-page .reason-box {
  position: relative;
  z-index: 2;
  padding: 12px;
  border-radius: 16px;
  background: #fff8f8;
  border: 1px solid #ffd6d6;
  color: #7f1d1d;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 800;
  margin-bottom: 12px;
}

.tct-page .card-row {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tct-page .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.tct-page .pill.red {
  background: #fff1f1;
  color: #ef4444;
  border: 1px solid #ffd4d4;
}

.tct-page .pill.yellow {
  background: #fff8e8;
  color: #b86d00;
  border: 1px solid #f6dfad;
}

.tct-page .pill.blue {
  background: #eaf5ff;
  color: #0d6efd;
  border: 1px solid #cfe5ff;
}

.tct-page .pill.green {
  background: #e9f9f1;
  color: #0b9f51;
  border: 1px solid #beeccd;
}

.tct-page .table-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 23px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 16px;
}

.tct-page .table-note {
  padding: 13px 14px;
  background: #f8fbff;
  border-bottom: 1px solid #e7eff8;
  color: #6b7f99;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 800;
}

.tct-page .table-scroll {
  overflow: auto;
}

.tct-page .table-scroll table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 12px;
}

.tct-page .table-scroll th {
  padding: 12px 8px;
  background: #edf6ff;
  color: #275072;
  text-align: left;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.tct-page .table-scroll td {
  padding: 12px 8px;
  border-top: 1px solid #eef4fb;
  color: #10243d;
  font-weight: 800;
  white-space: nowrap;
}

.tct-page .table-scroll th.num,
.tct-page .table-scroll td.num {
  text-align: center;
}

.tct-page .status-active {
  color: #ef4444;
  font-weight: 900;
}

.tct-page .status-done {
  color: #18b45b;
  font-weight: 900;
}

.tct-page .notice-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 14px;
  margin-top: 16px;
}

.tct-page .notice-card h4 {
  margin: 0 0 8px;
  color: #07376a;
  font-size: 15px;
  font-weight: 900;
}

.tct-page .notice-card p {
  margin: 0;
  color: #6b7f99;
  font-size: 12px;
  line-height: 1.65;
  font-weight: 700;
}

.tct-page .tct-empty {
  text-align: center;
  padding: 28px 16px;
  color: #6b7f99;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 18px;
  margin-top: 8px;
}

@media (max-width: 360px) {
  .tct-page .hero-actions,
  .tct-page .summary-grid,
  .tct-page .filter-row,
  .tct-page .penalty-meta {
    grid-template-columns: 1fr;
  }

  .tct-page .penalty-top {
    grid-template-columns: 54px 1fr;
    align-items: start;
  }

  .tct-page .penalty-day {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 44px;
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
  }
}

@media (min-width: 720px) {
  .tct-page .page-hero h2 {
    font-size: 28px;
  }
}
