/* FM27 V10.86 R27.9 – scoped Jugend/Training/Trainingslager visual-only corrections.
 * No changes to gameplay, youth data, admin authorization, controllers, or forms. */

/* A <td> was changed to display:flex by R27 youth styling. This breaks the
 * native table row background/height and reveals a dark gap below the value.
 * Restore table-cell for the entire column (not just the two badge spans). */
body.fm27-midnight.fm27-youth-page #playerTable.fm27-r27-youth-table tbody tr > td.fm27-v8528-rating {
  display:table-cell!important;
  vertical-align:middle!important;
  padding:11px 13px!important;
  background:#1a2740!important;
  box-shadow:none!important;
  border-left:0!important;
  border-right:0!important;
  border-bottom:1px solid #314762!important;
  white-space:nowrap;
}
body.fm27-midnight.fm27-youth-page #playerTable.fm27-r27-youth-table tbody tr:nth-of-type(even) > td.fm27-v8528-rating {
  background:#1d2a44!important;
}
body.fm27-midnight.fm27-youth-page #playerTable.fm27-r27-youth-table tbody tr:hover > td.fm27-v8528-rating {
  background:#293456!important;
}
body.fm27-midnight.fm27-youth-page #playerTable.fm27-r27-youth-table td.fm27-v8528-rating > .fm27-r276-current-strength,
body.fm27-midnight.fm27-youth-page #playerTable.fm27-r27-youth-table td.fm27-v8528-rating > .fm27-r276-strength-delta {
  display:inline-flex!important;
  vertical-align:middle;
}

/* Same two independent green bands as the squad/formation: consistent
 * ~62px overview, ~52px action band, and a visible 10px gap on all screens. */
body.fm27-midnight.fm27-training-page .fm27-r832-development,
body.fm27-midnight.fm27-camp-page .fm27-r277-bands {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  row-gap:10px;
  margin:0 0 16px;
}
body.fm27-midnight.fm27-training-page .fm27-r832-development > .fm27-r832-development-top,
body.fm27-midnight.fm27-camp-page .fm27-r277-bands > .fm27-r832-development-top {
  box-sizing:border-box;
  min-height:62px;
  border-radius:11px!important;
  padding:12px 17px;
}
body.fm27-midnight.fm27-training-page .fm27-r832-development > .fm27-r832-development-links,
body.fm27-midnight.fm27-camp-page .fm27-r277-bands > .fm27-r832-development-links {
  box-sizing:border-box;
  min-height:52px!important;
  padding:8px 14px!important;
  border:1px solid #408b75!important;
  border-radius:11px!important;
}
body.fm27-midnight.fm27-training-page .fm27-r832-development > .fm27-r274-training-actions,
body.fm27-midnight.fm27-camp-page .fm27-r277-bands > .fm27-r277-actionbar {
  min-height:52px!important;
}
@media(max-width:767.98px){
  body.fm27-midnight.fm27-training-page .fm27-r832-development > .fm27-r832-development-links,
  body.fm27-midnight.fm27-camp-page .fm27-r277-bands > .fm27-r832-development-links {padding:9px 12px!important;}
}
