/* КПКІТП — профіль викладача (teacher-profile.css) */

:root{
  --tp-card: rgba(255,255,255,.86);
  --tp-border: rgba(59,31,94,.14);
  --tp-shadow: 0 14px 34px rgba(16,24,40,.10);
}

.page{
  padding: 16px 0 30px;
}

.tp-wrap{
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(159,231,221,.30) 0%, rgba(159,231,221,.08) 55%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.78) 100%);
  border: 1px solid var(--tp-border);
  border-radius: 18px;
  box-shadow: var(--tp-shadow);
  padding: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tp-title{
  margin: 6px 0 14px;
  color: var(--kp-violet);
  font-weight: 900;
  letter-spacing: .2px;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15;
}
.tp-title-name{
  display: inline-block;
  margin-left: 8px;
  color: var(--kp-violet-2);
}

.tp-card{
  background: var(--tp-card);
  border: 1px solid var(--tp-border);
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(16,24,40,.08);
  padding: 14px;
  margin-bottom: 12px;
}

.tp-card-title{
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 900;
  color: var(--kp-violet-2);
  letter-spacing: .2px;
}

.tp-head{
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  align-items: start;
}

.tp-avatar{
  width: 160px;
  height: 160px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(59,31,94,.16);
  background: rgba(255,255,255,.6);
  box-shadow: 0 12px 24px rgba(16,24,40,.10);
}

.tp-head-main{
  min-width: 0;
}

.tp-field{
  margin-bottom: 10px;
}

.tp-label{
  font-size: 12px;
  font-weight: 900;
  color: rgba(30,27,34,.65);
  letter-spacing: .2px;
  text-transform: uppercase;
}

.tp-value{
  font-size: 16px;
  font-weight: 800;
  color: var(--kp-violet-2);
  line-height: 1.25;
}

.tp-actions{
  margin-top: 6px;
}

.tp-table{
  border: 1px solid var(--tp-border);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.92);
}

.tp-table thead th{
  background:
    linear-gradient(180deg, rgba(159,231,221,.35) 0%, rgba(255,255,255,.88) 100%);
  color: var(--kp-violet-2);
  font-weight: 900;
  letter-spacing: .15px;
  border-bottom: 1px solid rgba(59,31,94,.12) !important;
}

.tp-table td{
  border-bottom: 1px solid rgba(59,31,94,.10) !important;
  color: rgba(30,27,34,.92);
}

.tp-link-cell a{
  color: var(--kp-violet-2);
  font-weight: 800;
  text-decoration: none;
}
.tp-link-cell a:hover{
  text-decoration: underline;
}

.tp-muted{
  color: rgba(30,27,34,.55);
}

.tp-subjects-fallback{
  margin-top: 10px;
  color: rgba(30,27,34,.80);
}

.tp-back{
  margin-top: 10px;
}

/* Mobile */
@media (max-width: 576px){
  .tp-head{
    grid-template-columns: 1fr;
  }
  .tp-avatar{
    width: 120px;
    height: 120px;
  }
}
