/* Modernized Admin "Merge Users" page. Scoped under .modernMergeUsersPage so it never affects other pages that
   reuse the same .card/.card-header/.ptfgCardHeader/.adminTable classes. Note: .card-header is a sibling of
   .card in this page's markup (not nested inside it), so both need matching max-width/borders/radius to
   visually read as one card -- same layout quirk handled on several other admin/commish pages. The mini team
   list table (#teamsTable, from the shared _team_list.rhtml partial) is swapped in via AJAX
   (get_old_user_teams.rjs / get_new_user_teams.rjs) into #old_user_team_list / #new_user_team_list, both of
   which live inside .modernMergeUsersPage, so this CSS applies to that dynamically-injected content too. */

.modernMergeUsersPage #pageTitle {
  margin-bottom: 16px;
}

.modernMergeUsersPage .row {
  margin: 0;
}

.modernMergeUsersPage .col-sm-10 {
  padding-left: 0;
  padding-right: 0;
}

.modernMergeUsersPage .card-header {
  max-width: 550px;
  box-sizing: border-box;
  background: #e8ecf7;
  border: 1px solid #e2e6f2;
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  padding: 10px 18px;
}

.modernMergeUsersPage .ptfgCardHeader {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #0b1a67;
}

.modernMergeUsersPage .card {
  max-width: 550px;
  box-sizing: border-box;
  border: 1px solid #e2e6f2;
  border-top: none;
  border-radius: 0 0 12px 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(11, 26, 103, 0.06);
  margin-top: 0;
}

.modernMergeUsersPage .card-block {
  padding: 16px 18px;
}

.modernMergeUsersPage .form-control {
  width: 100%;
  max-width: 340px;
  box-sizing: border-box;
  border: 1px solid #cfd4e0;
  border-radius: 6px;
  font-size: 13px;
}

.modernMergeUsersPage .form-control:focus {
  outline: none;
  border-color: #1c5bc4;
  box-shadow: 0 0 0 3px rgba(28, 91, 196, 0.15);
}

.modernMergeUsersPage .importantNote {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: #c30900;
}

.modernMergeUsersPage .adminTable.teams {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 4px;
}

.modernMergeUsersPage fieldset.form-group:nth-of-type(2) {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e2e6f2;
}

.modernMergeUsersPage #teamsTable {
  width: auto;
  border-collapse: collapse;
  white-space: nowrap;
}

.modernMergeUsersPage #teamsTable thead tr {
  background-color: #0b1a67;
}

.modernMergeUsersPage #teamsTable thead td {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.3px;
  padding: 5px 8px;
  border: 1px solid #24358c;
}

.modernMergeUsersPage #teamsTable tbody td {
  border: 1px solid #e2e6f2;
  padding: 5px 8px;
  font-size: 12px;
}

.modernMergeUsersPage #teamsTable tbody tr.weeklyResultsRow td {
  background-color: #f4f6fb;
}

.modernMergeUsersPage #teamsTable tbody tr.whiteRow td {
  background-color: #fff;
}

.modernMergeUsersPage #teamsTable tfoot td {
  border: none;
  padding: 6px 4px 0;
  color: #6b7280;
  font-size: 11px !important;
}

.modernMergeUsersPage .mergeUsersNote {
  margin-top: 10px;
  font-size: 12px;
  color: #6b7280;
  font-style: italic;
}

.modernMergeUsersPage .mergeUsersDeleteRow {
  display: flex;
  align-items: center;
  max-width: 550px;
  box-sizing: border-box;
  background: #fff8e8;
  border: 1px solid #e2e6f2;
  border-radius: 8px;
  padding: 10px 18px;
  margin-top: 16px;
  font-size: 13px;
  color: #6b4d10;
}

.modernMergeUsersPage .mergeUsersDeleteRow input[type="checkbox"] {
  margin: 0;
}

.modernMergeUsersPage .mergeUsersDeleteRow label {
  margin: 0 0 0 6px;
  font-weight: 600;
  line-height: 1;
  position: relative;
  top: 1px;
}

.modernMergeUsersPage .mergeUsersSubmitRow {
  margin-top: 16px;
  max-width: 200px;
}

.modernMergeUsersPage .btn.ptfgWhiteOnBlue {
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(11, 26, 103, 0.2);
  width: 100%;
}
