@import '/public/css_tables/01_base/vars.css';
/**
 * Mobile Table Views - Tabs + Spalten-Toggling
 *
 * Ermoeglicht thematische Spalten-Views fuer grosse Tabellen auf Mobile.
 * Desktop bleibt komplett unveraendert.
 *
 * Core-Spalten bekommen fixe Breiten per JS (table-layout: fixed).
 * Spaltenbreiten werden komplett ueber inline-style gesteuert.
 *
 * @package OFM
 * @subpackage Mannschaft
 */
.table-responsive {
  -webkit-overflow-scrolling: touch;
}

@media screen and (max-width: 768px) {
  .mview-tabs {
    display: flex;
    gap: 0;
    background: var(--color-blue-dark);
    -webkit-overflow-scrolling: touch;
    border-radius: 5px;
    height: 28px;
    margin: 0 0 4px 0;
  }
  .mview-tabs button {
    text-align: center;
    flex: 1 0 auto;
    padding: 8px 12px;
    border: none;
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease;
  }
  .mview-tabs button:last-child {
    border-radius: 0 5px 5px 0;
  }
  .mview-tabs button.is-active {
    color: #fff;
    background: var(--color-blue);
  }
  .mview-hidden {
    display: none !important;
  }
  .contractCheckbox {
    display: none !important;
  }
  .mview-age-inline {
    display: inline;
  }
  [data-mview] {
    table-layout: fixed;
    width: 100%;
  }
  [data-mview] td.mview-hidden,
  [data-mview] th.mview-hidden {
    display: none !important;
  }
  [data-mview] th, [data-mview] td {
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  [data-mview] thead tr {
    background: #fff;
  }
  [data-mview] tbody tr:nth-child(odd) {
    background: #fff;
  }
  [data-mview] tbody tr:nth-child(even) {
    background: var(--color-grey-light, #EEF2F6);
  }
}
@media screen and (max-width: 768px) {
  #office-sitebar-right {
    display: none !important;
  }
}
@media screen and (min-width: 769px) {
  .mview-tabs {
    display: none;
  }
  .mview-age-inline {
    display: none;
  }
  .player-table-footer {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .player-table-footer {
    padding: 8px 6px;
    background: var(--color-grey-light, #EEF2F6);
    border-top: 1px solid var(--color-grey, #ccc);
    font-size: 11px;
    color: #fff;
    overflow: hidden;
  }
  .player-table-footer__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    background: var(--color-blue);
    width: calc(100% + 10px);
    position: relative;
    left: -5px;
    top: -10px;
    padding: 10px;
    border-radius: 0 0 10px 10px;
  }
  .player-table-footer__toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    width: calc(100% - 130px);
  }
  .player-table-footer__toggle .expired-toggle-label {
    white-space: nowrap;
  }
  .player-table-footer__salary {
    white-space: nowrap;
    width: 100%;
    text-align: right;
    padding-right: 65px;
  }
  .player-table-footer__extend .button {
    white-space: nowrap;
  }
}
@media screen and (max-width: 420px) {
  .player-table-footer__extend {
    width: 120px;
  }
  .player-table-footer__extend .button {
    width: 100%;
  }
}

/*# sourceMappingURL=mobile-table-views.css.map */
