/* The manager's profile (ver_treinador.asp) on the classic redesign. Needs css/club-info.css (hero, cards, facts, chips, notes, inf-tbl). */
.inf.vt { gap: 12px; }
/* the shell styles .panel-body h2 (margin, padding, a rule): the card titles stay as club-info.css has them */
.inf.vt .inf-card__head .inf-card__title { margin: 0; padding: 0; border: 0; font-size: 12px; line-height: 1.4; }
.vt-cert img { height: 32px; width: auto; vertical-align: middle; }

/* the header: face or avatar, name, the country / national team / federation / online line, the actions */
.vt-hero { align-items: center; gap: 12px 16px; padding: 12px 16px; }
.vt-hero .inf-hero__name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 2px 0 4px; font-size: 22px; }
.vt-hero .inf-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.vt-face, .vt-avatar { flex: 0 0 88px; width: 88px; height: 88px; border-radius: 14px; background: #eef6d8; border: 1px solid #d6e4b5; overflow: hidden; }
.vt-face { display: grid; place-items: center; }
.vt-face img { width: auto; height: auto; max-width: none; object-fit: initial; }   /* the face's layers keep their 80px */
.vt-avatar { display: grid; place-items: center; color: #9cbf6a; font-size: 46px; }
.vt-fan, .vt-spy img { vertical-align: middle; }
.vt-online { display: inline-flex; align-items: center; gap: 5px; padding: 1px 9px; border: 1px solid #9cc94a; border-radius: 999px; background: #eef6d8; color: #2f6512; font-family: inherit; font-size: 12px; font-weight: bold; cursor: pointer; }
.vt-online::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3cb043; box-shadow: 0 0 0 3px rgba(60,176,67,0.22); }
.vt-online .fa { display: none; }
.vt-on { color: #2f8f4e; font-weight: bold; }
.vt-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.inf .vt-acts a.inf-btn2 { gap: 6px; min-height: 30px; padding: 4px 12px; font-size: 12px; }

/* the stats: five tiles and the wins / draws / defeats bar */
.vt-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 2px 0 4px; }
.vt-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; padding: 8px 4px; border: 1px solid #e3ecd0; border-radius: 10px; background: #f7faef; text-align: center; }
.vt-stat__k { font-size: 10px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; color: #6b7760; }
.vt-stat__v { font-size: 22px; line-height: 1.1; color: #1f2a17; font-variant-numeric: tabular-nums; }
.vt-stat__s { font-size: 11px; color: #6b7760; white-space: nowrap; }
.vt-stat--pts { background: #eef6d8; border-color: #c9df8f; }
.vt-stat--w .vt-stat__v { color: #2f6512; }
.vt-stat--l .vt-stat__v { color: #9a3420; }
/* career or this season: the switch in the card's head shows one set */
.vt-seg { display: inline-flex; padding: 2px; border-radius: 999px; background: rgba(255,255,255,0.14); }
.vt-seg button { min-height: 24px; padding: 2px 10px; border: 0; border-radius: 999px; background: transparent; color: #fff; font-family: inherit; font-size: 11px; font-weight: bold; cursor: pointer; }
.vt-seg button[aria-pressed='true'] { background: #BAE057; color: #1f3d10; }
.vt-statcard .vt-stat__v [data-v='se'], .vt-statcard .vt-wdl[data-v='se'] { display: none; }   /* the numbers and the bar only, not the switch's buttons */
.vt-statcard.is-se .vt-stat__v [data-v='se'] { display: inline; }
.vt-statcard.is-se .vt-stat__v [data-v='all'], .vt-statcard.is-se .vt-wdl[data-v='all'] { display: none; }
.vt-statcard.is-se .vt-wdl[data-v='se'] { display: flex; }
.vt-wdl { display: flex; height: 8px; margin: 8px 0 2px; border-radius: 999px; overflow: hidden; background: #e7ecdc; }
.vt-wdl__w { background: #6aa628; } .vt-wdl__d { background: #c4cbb4; } .vt-wdl__l { background: #d9534f; }

/* star award, clans, blogs */
.vt-vote { margin: 2px 0 8px; }
.vt-vote__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 14px; border: 1px solid #e0b100; border-radius: 999px; background: #fff7d6; color: #6b4a00; font-family: inherit; font-size: 12px; font-weight: bold; cursor: pointer; }
.vt-vote__btn:hover { background: #ffe680; }
.vt-vote__btn .fa { color: #d9a400; }
.vt-note { margin: 2px 0 8px; color: #6b7760; font-size: 12px; }
.vt-medals { display: flex; flex-wrap: wrap; gap: 2px; text-decoration: none; }
.vt-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 0; }
.vt-blog { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; padding: 5px 0; border-bottom: 1px solid #f0f4e6; font-size: 12px; }
.vt-blog:last-child { border-bottom: 0; }
.vt-blog__t { min-width: 0; font-style: italic; overflow-wrap: anywhere; }
.vt-blog__d { color: #7a8570; font-size: 11px; white-space: nowrap; }

/* trophy room */
.vt-trophies { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; padding: 2px 0 4px; }
.inf a.vt-trophy { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px 4px; border: 1px solid #e3ecd0; border-radius: 10px; background: #f7faef; color: #4a5640; font-size: 11px; font-weight: bold; text-decoration: none; }
.inf a.vt-trophy:hover { border-color: #9cc94a; background: #fff; }
.vt-trophy img { height: 44px; width: auto; }
.inf a.vt-trophy { min-width: 0; }
.vt-trophy__k { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; color: #2e6b12; }   /* the competition */
.vt-trophy__s { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-trophy__c { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; font-weight: normal; color: #6b7760; }   /* the club; the tooltip has it in full */

/* career */
.vt-career { margin: 0; padding: 0; list-style: none; }
.vt-career li { position: relative; padding: 5px 0 5px 16px; border-bottom: 1px solid #f0f4e6; font-size: 12px; }
.vt-career li:last-child { border-bottom: 0; }
.vt-career li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: #c4cbb4; }
.vt-career li.is-now::before { background: #6aa628; box-shadow: 0 0 0 3px rgba(106,166,40,0.2); }
.vt-career li.is-now { font-weight: bold; }

/* season history and the staff's comments list */
.vt-hist .inf-tbl, .vt .vt-com { font-size: 12px; }
.inf .vt .inf-tbl thead th { background: #d6ec7b; border-bottom: 1px solid #c4dc6a; color: #33502a; }
.vt-hist__more { display: flex; justify-content: center; padding: 8px; }
.vt-morebtn { padding: 4px 14px; border: 1px solid #9cc94a; border-radius: 999px; background: #fff; color: #1f4d0f; font-family: inherit; font-size: 12px; font-weight: bold; cursor: pointer; }
.vt-morebtn:hover { background: #2f6b22; border-color: #2f6b22; color: #fff; }
.vt-staff { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 2px 0 8px; font-size: 12px; color: #4a5640; }
.vt-staff .fa { color: #6b7f5a; }
.vt-com .vt-date { white-space: nowrap; font-size: 11px; color: #6b7760; }

@media (max-width: 1180px) {
  .vt-stats { gap: 6px; }
  .vt-stat__v { font-size: 20px; }
}

@media (max-width: 820px) {
  .vt-hero { flex-wrap: nowrap; justify-content: flex-start; align-items: flex-start; gap: 10px; padding: 10px; text-align: start; }
  .vt-hero .inf-hero__body { flex: 1 1 0; order: 0; min-width: 0; }
  .vt-hero .inf-hero__sub { justify-content: flex-start; gap: 3px 8px; font-size: 12px; }
  .vt-hero .inf-hero__name { font-size: 18px; }
  .vt-face, .vt-avatar { flex-basis: 64px; width: 64px; height: 64px; font-size: 34px; }
  .vt-face .back { transform: scale(0.8); transform-origin: center; }
  .vt-acts { gap: 4px; margin-left: -74px; }   /* the actions use the full width under the avatar */
  .inf .vt-acts a.inf-btn2 { min-height: 30px; padding: 3px 10px; font-size: 11px; }
  .vt-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
  .vt-stat { padding: 6px 2px; }
  .vt-stat--pts { grid-column: span 4; flex-direction: row; justify-content: center; align-items: baseline; gap: 10px; }
  .vt-stat__k { font-size: 9px; letter-spacing: 0.4px; }
  .vt-stat__v { font-size: 17px; }
  .vt-stat__s { font-size: 10px; }
  .vt-hist .vt-x, .vt-com .vt-x { display: none; }
  .vt-trophies { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
  .vt-trophy img { height: 36px; }
}
