/* Takım detay — mobil */

.td-page .home-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  margin-bottom: 13px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(8, 60, 116, 0.08);
  color: #0d6efd;
  font-size: 13px;
  font-weight: 900;
}

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

.td-page .team-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;
}

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

.td-page .team-profile {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 14px;
  align-items: center;
}

.td-page .team-logo-big {
  width: 104px;
  height: 104px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ef4444, #ffffff 55%, #ef4444);
  border: 3px solid rgba(255, 255, 255, 0.72);
  color: #062b55;
  font-size: 30px;
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.td-page .team-logo-fallback {
  position: relative;
  z-index: 0;
}

.td-page .team-logo-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.td-page .team-title small {
  display: inline-flex;
  padding: 7px 10px;
  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: 10px;
}

.td-page .team-title h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: -0.6px;
  text-transform: uppercase;
}

.td-page .team-title p {
  margin: 8px 0 0;
  color: #dbeafe;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.td-page .color-pill {
  display: inline-flex;
  margin-top: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.td-page .info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
}

.td-page .info-box {
  min-height: 78px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(8, 60, 116, 0.08);
  padding: 13px;
}

.td-page .info-box span {
  display: block;
  color: #6b7f99;
  font-size: 10px;
  font-weight: 900;
  margin-bottom: 7px;
}

.td-page .info-box b {
  display: block;
  color: #10243d;
  font-size: 13px;
  line-height: 1.32;
  font-weight: 900;
}

.td-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;
}

.td-page .content-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 17px;
  margin-bottom: 14px;
}

.td-page .content-card p {
  margin: 0;
  color: #243c58;
  font-size: 14px;
  line-height: 1.75;
  font-weight: 600;
}

.td-page .stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.td-page .stat-card {
  min-height: 88px;
  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;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px;
}

.td-page .stat-card strong {
  display: block;
  color: #0d6efd;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

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

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

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

.td-page table {
  width: 100%;
  border-collapse: collapse;
  min-width: 430px;
  font-size: 12px;
}

.td-page th {
  padding: 12px 10px;
  background: #edf6ff;
  color: #275072;
  text-align: left;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.td-page td {
  padding: 12px 10px;
  border-top: 1px solid #eef4fb;
  color: #10243d;
  font-weight: 800;
}

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

.td-page .no-badge {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: #eaf5ff;
  color: #0d6efd;
  font-weight: 900;
}

.td-page .position {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f1f8ff;
  color: #0d6efd;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.td-page .staff-list {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.td-page .staff-card {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 11px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(8, 60, 116, 0.08);
}

.td-page .staff-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #eaf5ff;
  color: #0d6efd;
  font-weight: 900;
  font-size: 18px;
}

.td-page .staff-card h4 {
  margin: 0;
  color: #10243d;
  font-size: 13px;
  font-weight: 900;
}

.td-page .staff-card span {
  display: block;
  margin-top: 4px;
  color: #6b7f99;
  font-size: 11px;
  font-weight: 800;
}

.td-page .staff-age {
  min-width: 42px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #f8fbff;
  border: 1px solid #e6f0fb;
  color: #07376a;
  font-size: 11px;
  font-weight: 900;
}

.td-page .success-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 15px;
  margin-bottom: 14px;
}

.td-page .success-icon {
  width: 48px;
  height: 48px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffd966, #f59e0b);
  color: #fff;
  font-size: 22px;
  flex: 0 0 auto;
}

.td-page .success-card b {
  display: block;
  color: #10243d;
  font-size: 14px;
  margin-bottom: 4px;
}

.td-page .success-card span {
  display: block;
  color: #6b7f99;
  font-size: 12px;
  font-weight: 800;
}

.td-page .contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 15px;
  margin-bottom: 14px;
}

.td-page .contact-row {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eef4fb;
}

.td-page .contact-row:last-child {
  border-bottom: 0;
}

.td-page .contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #eaf5ff;
  color: #0d6efd;
  font-size: 16px;
}

.td-page .contact-row span {
  display: block;
  color: #6b7f99;
  font-size: 10px;
  font-weight: 900;
  margin-bottom: 3px;
}

.td-page .contact-row b {
  display: block;
  color: #10243d;
  font-size: 13px;
  font-weight: 900;
  word-break: break-word;
}

.td-page .contact-row a {
  color: #0d6efd;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.td-page .td-empty-note {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  margin-bottom: 14px;
}

@media (max-width: 360px) {
  .td-page .team-profile {
    grid-template-columns: 88px 1fr;
    gap: 12px;
  }
  .td-page .team-logo-big {
    width: 88px;
    height: 88px;
    border-radius: 24px;
    font-size: 26px;
  }
  .td-page .team-title h2 {
    font-size: 21px;
  }
  .td-page .stats-grid,
  .td-page .info-grid {
    grid-template-columns: 1fr 1fr;
  }
}
