/* Widget de vot "Jucatorul Etapei" -- identitate 3plus (navy + albastru + accent auriu). */
.tpc-vote-widget {
  background: #fff;
  border: 1px solid #e2e6ee;
  border-radius: 14px;
  padding: 1.1rem 1.25rem 1.35rem;
  box-shadow: 0 1px 2px rgba(10,20,40,.05), 0 8px 24px rgba(10,20,40,.08);
}
.tpc-vote-widget__heading {
  margin: 0 0 .9rem;
  font-weight: 700;
  font-size: 1.02rem;
  color: #10151f;
}
.tpc-vote-widget__loading { color: #566072; }

.tpc-vote-widget__list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.tpc-vote-widget__nominee {
  border: 1px solid #e2e6ee;
  border-radius: 10px;
  padding: .7rem .85rem;
  transition: border-color .15s ease, background .15s ease;
}
.tpc-vote-widget__nominee:has(input:checked) {
  border-color: #0b64d6;
  background: #eef4fd;
}
.tpc-vote-widget__nominee--votat {
  border-color: #f2a71b;
  background: #fff8ea;
}
.tpc-vote-widget__nominee label {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 600;
  color: #10151f;
  cursor: pointer;
}
.tpc-vote-widget__nominee input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #0b64d6;
  flex-shrink: 0;
  cursor: pointer;
}
.tpc-vote-widget__meta {
  color: #566072;
  font-size: .85em;
  margin: .35rem 0 .3rem calc(18px + 48px + 1.2rem);
}
.tpc-vote-widget__bar-track {
  background: #e9edf3;
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
  margin: 0 0 0 calc(18px + 48px + 1.2rem);
}
.tpc-vote-widget__bar-fill {
  background: linear-gradient(90deg, #0b64d6, #4da3ff);
  height: 100%;
  border-radius: 999px;
}
/* Fotografia jucatorului (imaginea reprezentativa) sau initialele, cand lipseste. */
.tpc-vote-widget__photo {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: #e9edf3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tpc-vote-widget__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tpc-vote-widget__photo--initiale {
  background: #10234a;
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
}
.tpc-vote-widget__name {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-wrap: anywhere;
}
.tpc-vote-widget__club {
  font-weight: 400;
  font-size: .85em;
  color: #566072;
}
.tpc-vote-widget__badge {
  display: inline-block;
  margin-left: .5rem;
  padding: .1rem .55rem;
  font-size: .72em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #3a2a00;
  background: #f2a71b;
  border-radius: 999px;
}

.tpc-vote-widget__submit {
  display: inline-block;
  margin-top: .4rem;
  padding: .75rem 1.6rem;
  border: 0;
  border-radius: 9px;
  background: #0b64d6;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background .15s ease;
}
.tpc-vote-widget__submit:hover { background: #094fac; }
.tpc-vote-widget__submit:disabled { opacity: .55; cursor: default; }

.tpc-vote-widget__message {
  margin: .6rem 0 0;
  font-weight: 600;
  color: #10151f;
}
.tpc-vote-widget__winner {
  font-weight: 700;
  margin-top: .75rem;
  padding: .6rem .85rem;
  background: #fff8ea;
  border: 1px solid #f2d896;
  border-radius: 10px;
  color: #8a5a00;
}

.tpc-cta {
  display: inline-block;
  margin-top: .5rem;
  padding: .6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  background: #eef1f4;
  color: #10151f;
}

@media (max-width: 480px) {
  .tpc-vote-widget { padding: 1rem; }
  .tpc-vote-widget__meta,
  .tpc-vote-widget__bar-track { margin-left: 0; }
}
