.msa-cr-account {
  margin-top: 12px;
}

.msa-cr-grid.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.msa-cr-player-grid,
.msa-cr-family-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.msa-cr-player-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
}

.msa-cr-family-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.msa-cr-family-card--wide {
  grid-column: 1 / -1;
}

.msa-cr-player-card,
.msa-cr-family-card {
  padding: 18px;
  border: 1px solid #ababab;
  border-radius: 15px;
  background: #fff;
}

.msa-cr-player-card h3 {
  margin: 0 0 10px;
}

.msa-cr-family-card h3 {
  margin: 0 0 14px;
}

.msa-cr-family-access-choice {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
}

.msa-cr-family-access-choice h4 {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.msa-cr-family-access-choice label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 8px;
  align-items: start;
  margin: 0;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.msa-cr-family-access-choice label.is-disabled {
  opacity: 0.55;
}

.msa-cr-family-access-choice input[type="radio"] {
  grid-row: span 2;
  margin-top: 3px;
}

.msa-cr-family-access-choice span {
  color: #64748b;
  font-size: 13px;
  line-height: 1.35;
}

.msa-cr-family-access-choice--compact {
  margin-bottom: 10px;
}

.msa-cr-family-access-choice--compact label {
  padding: 8px;
}

.msa-cr-family-card__header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.msa-cr-family-card__header h4 {
  margin: 0 0 4px;
}

.msa-cr-family-card--scholarship {
  margin-top: 18px;
}

.msa-cr-family-scholarships {
  margin-top: 24px;
  display: grid;
  gap: 18px;
}

.msa-cr-family-parent-code {
  margin-top: 24px;
}

.msa-cr-family-scholarships__header p {
  margin: 6px 0 0;
}

.msa-cr-family-scholarship-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.msa-cr-family-scholarship-actions .button {
  margin: 0;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

.msa-cr-player-meta {
  margin: 0;
  padding: 0;
  list-style: none;
}

.msa-cr-family-list { 
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.msa-cr-player-meta li {
  margin: 0 0 6px;
}

.msa-cr-player-form .form-row {
  margin-bottom: 16px;
}

.msa-cr-player-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
}

.msa-cr-player-form input,
.msa-cr-player-form select,
.msa-cr-player-form textarea {
  width: 100%;
  max-width: 100%;
}

.msa-cr-contact-form {
  margin-top: 18px;
}

.msa-cr-contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.msa-cr-contact-form__full {
  grid-column: 1 / -1;
}

.msa-cr-contact-form-wrap .woocommerce-message,
.msa-cr-contact-form-wrap .woocommerce-error {
  margin: 16px 0;
}

.msa-cr-contact-form input[type="text"],
.msa-cr-contact-form input[type="email"],
.msa-cr-contact-form input[type="tel"],
.msa-cr-contact-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d5d8dc;
  border-radius: 4px;
  background: #fff;
  color: #231f20;
  font-size: 16px;
  line-height: 1.4;
  box-sizing: border-box;
  box-shadow: none;
}

.msa-cr-contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.msa-cr-form-actions {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.msa-cr-empty__actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
  text-align: center;
}

.msa-cr-empty__actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.msa-cr-family-list__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #eee;
}

.msa-cr-family-list__item:first-child {
  padding-top: 0;
  border-top: 0;
}

.msa-cr-family-list__name {
  margin-bottom: 4px;
  font-weight: 400;
  font-size: medium;
}

.msa-cr-family-list__status {
  font-size: 14px;
}

.msa-cr-family-list__identity {
  grid-row: span 3;
}

.msa-cr-family-list__email {
  margin-bottom: 4px;
  overflow-wrap: anywhere;
  color: #475569;
  font-size: 14px;
}

.msa-cr-family-permissions {
  grid-column: 2;
  width: 100%;
}

.msa-cr-family-permissions__table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.msa-cr-family-permissions__table th,
.msa-cr-family-permissions__table td {
  padding: 7px 10px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: middle;
  font-size: 13px;
  line-height: 1.25;
}

.msa-cr-family-permissions__table th {
  background: #f8fafc;
  color: #475569;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.msa-cr-family-permissions__table tr:last-child td {
  border-bottom: 0;
}

.msa-cr-family-permissions__toggle {
  width: 44px;
  text-align: center;
}

.msa-cr-family-permissions__toggle input[type="checkbox"] {
  margin: 0;
}

@media (max-width: 768px) {
  .msa-cr-grid.two-col {
    grid-template-columns: 1fr;
  }
}

.msa-cr-player-card.is-shared {
  border-color: #d7e6f7;
  background: #f9fcff;
}

.msa-cr-shared-note {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #1662ad;
}

.msa-cr-family-list__meta {
  min-width: 0;
  flex: 1 1 auto;
}

.msa-cr-family-list__actions {
  grid-column: 2;
  flex: 0 0 auto;
  margin-top: 2px;
}

.msa-cr-family-list__actions .button {
  white-space: nowrap;
}

.msa-cr-family-list__actions--permissions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.msa-cr-order-pay-billing {
  margin: 0 0 28px;
  padding: 24px;
  border: 1px solid #d7e3f2;
  border-radius: 18px;
  background: #f8fbff;
}

.msa-cr-order-pay-billing h3 {
  margin: 0 0 8px;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.msa-cr-order-pay-billing > p {
  margin: 0 0 18px;
  color: #526176;
}

.msa-cr-order-pay-billing__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.msa-cr-order-pay-billing .form-row {
  float: none;
  width: auto;
  margin: 0;
}

.msa-cr-order-pay-billing .form-row-wide {
  grid-column: 1 / -1;
}

.msa-cr-order-pay-billing input,
.msa-cr-order-pay-billing select {
  width: 100%;
}

.woocommerce-order-pay #payment .msa-cr-payment-methods,
#add_payment_method #payment .msa-cr-payment-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  width: 100%;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  background: transparent;
}

.woocommerce-order-pay #payment .msa-cr-payment-method,
#add_payment_method #payment .msa-cr-payment-method {
  display: contents;
}

.woocommerce-order-pay #payment .msa-cr-payment-method__input,
#add_payment_method #payment .msa-cr-payment-method__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.woocommerce-order-pay #payment .msa-cr-payment-method__button,
#add_payment_method #payment .msa-cr-payment-method__button {
  display: inline-flex;
  flex: 0 1 240px;
  flex-direction: column;
  order: 1;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 240px;
  max-width: 100%;
  min-height: 112px;
  margin: 0;
  padding: 16px;
  border: 1px solid #b9cee7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(22, 98, 173, 0.08);
  color: #1662ad;
  cursor: pointer;
  line-height: 1;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.woocommerce-order-pay #payment .msa-cr-payment-method__button:hover,
#add_payment_method #payment .msa-cr-payment-method__button:hover {
  border-color: #7fa9d6;
  background: #eff6ff;
  color: #124f8b;
}

.woocommerce-order-pay #payment .msa-cr-payment-method__input:focus-visible + .msa-cr-payment-method__button,
#add_payment_method #payment .msa-cr-payment-method__input:focus-visible + .msa-cr-payment-method__button {
  outline: 3px solid rgba(22, 98, 173, 0.24);
  outline-offset: 3px;
}

.woocommerce-order-pay #payment .msa-cr-payment-method__input:checked + .msa-cr-payment-method__button,
#add_payment_method #payment .msa-cr-payment-method__input:checked + .msa-cr-payment-method__button {
  border-color: #1662ad;
  background: #1662ad;
  box-shadow: 0 4px 12px rgba(22, 98, 173, 0.2);
  color: #fff;
  transform: translateY(1px);
}

.woocommerce-order-pay #payment .msa-cr-payment-method__icon,
#add_payment_method #payment .msa-cr-payment-method__icon {
  display: block;
  width: 38px;
  height: 38px;
  font-family: "Font Awesome 7 Pro", "Font Awesome 7 Free";
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.woocommerce-order-pay #payment .msa-cr-payment-method__label,
#add_payment_method #payment .msa-cr-payment-method__label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
}

.woocommerce-order-pay #payment .msa-cr-payment-method__panel.payment_box,
#add_payment_method #payment .msa-cr-payment-method__panel.payment_box {
  display: block;
  flex: 0 0 100%;
  order: 2;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 4px 0 0;
  padding: 22px;
  border: 1px solid #d7e3f2;
  border-radius: 8px;
  background: #f8fbff;
  color: inherit;
}

.woocommerce-order-pay #payment .msa-cr-payment-method__panel.payment_box::before,
#add_payment_method #payment .msa-cr-payment-method__panel.payment_box::before {
  display: none;
}

.woocommerce-order-pay #payment .msa-cr-payment-method__panel .form-row,
#add_payment_method #payment .msa-cr-payment-method__panel .form-row {
  box-sizing: border-box;
  max-width: 100%;
}

.woocommerce-order-pay #payment .msa-cr-payment-method__panel input,
.woocommerce-order-pay #payment .msa-cr-payment-method__panel select,
#add_payment_method #payment .msa-cr-payment-method__panel input,
#add_payment_method #payment .msa-cr-payment-method__panel select {
  max-width: 100%;
}

.woocommerce-order-pay #payment .msa-cr-payment-methods__notice,
#add_payment_method #payment .msa-cr-payment-methods__notice {
  flex: 0 0 100%;
}

.msa-cr-order-pay-help {
  margin: 28px 0 0;
  padding: 24px;
  border: 1px solid #d7e3f2;
  border-radius: 18px;
  background: #fff;
}

.msa-cr-order-pay-help h2 {
  margin: 0 0 8px;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.msa-cr-order-pay-help > p {
  margin: 0 0 18px;
  color: #526176;
}

@media (max-width: 768px) {
  .msa-cr-family-list__item {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .msa-cr-family-list__identity,
  .msa-cr-family-permissions,
  .msa-cr-family-list__actions {
    grid-column: 1;
    width: auto;
  }

  .msa-cr-family-list__actions .button {
    width: auto;
    text-align: center;
  }

  .msa-cr-family-scholarship-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .msa-cr-family-scholarship-actions .button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
  }

  .msa-cr-order-pay-billing {
    padding: 18px;
  }

  .msa-cr-order-pay-help {
    padding: 18px;
  }

  .msa-cr-order-pay-billing__grid {
    grid-template-columns: 1fr;
  }

  .woocommerce-order-pay #payment .msa-cr-payment-methods,
  #add_payment_method #payment .msa-cr-payment-methods {
    gap: 10px;
  }

  .woocommerce-order-pay #payment .msa-cr-payment-method__button,
  #add_payment_method #payment .msa-cr-payment-method__button {
    flex: 1 1 calc(50% - 5px);
    width: auto;
    max-width: 240px;
    min-height: 88px;
    padding: 12px;
  }

  .woocommerce-order-pay #payment .msa-cr-payment-method__icon,
  #add_payment_method #payment .msa-cr-payment-method__icon {
    width: 30px;
    height: 30px;
    font-size: 30px;
  }

  .woocommerce-order-pay #payment .msa-cr-payment-method__label,
  #add_payment_method #payment .msa-cr-payment-method__label {
    font-size: 11px;
  }

  .woocommerce-order-pay #payment .msa-cr-payment-method__panel.payment_box,
  #add_payment_method #payment .msa-cr-payment-method__panel.payment_box {
    padding: 18px;
  }
}

.msa-cr-section-title {
  margin: 24px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #ababab;
  font-size: 18px;
}

.msa-cr-player-card {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: 14px;
}

.msa-cr-player-card__title {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
}

.msa-cr-player-card__brand-logo {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 10px;
  object-fit: cover;
}

.msa-cr-player-card__top {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.msa-cr-player-card__identity {
  display: flex;
  align-items: center;
  gap: 14px;
}

.msa-cr-player-card__avatar {
  flex: 0 0 auto;
}

.msa-cr-player-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.msa-cr-player-summary__item {
  padding: 10px 12px;
  border-radius: 15px;
  background: #f7f7f7;
}

.msa-cr-player-summary__label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #666;
}

.msa-cr-player-summary__value {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #231f20;
}

.msa-cr-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.msa-cr-player-card__archive-form {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
}

.msa-cr-player-card__archive-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #b32d2e;
  cursor: pointer;
  text-decoration: none;
}

.msa-cr-player-card__archive-button::before {
  content: "\e126";
  font-family: "Font Awesome 7 Pro", "Font Awesome 7 Free";
  font-weight: 900;
  font-size: 16px;
  line-height: 1;
}

.msa-cr-player-card__archive-button:hover,
.msa-cr-player-card__archive-button:focus {
  background: #fff5f5;
  color: #8a2424;
  outline: 2px solid rgba(179, 45, 46, 0.2);
  outline-offset: 2px;
}

.msa-cr-payment-summary {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.msa-cr-offer-callout {
  padding: 14px 16px;
  border: 1px solid #bfdbfe;
  border-radius: 15px;
  background: #eff6ff;
}

.msa-cr-offer-callout__eyebrow {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #1d4ed8;
}

.msa-cr-offer-callout__title,
.msa-cr-offer-callout__meta {
  margin: 0;
}

.msa-cr-offer-callout__title {
  font-size: 16px;
  font-weight: 700;
}

.msa-cr-offer-callout__meta {
  margin-top: 6px;
  color: #334155;
}

.msa-cr-detail-actions {
  margin-top: 14px;
}

.msa-cr-offer-expired-notice {
  margin-top: 10px;
  padding: 18px;
  border: 1px solid #f4b4b4;
  border-radius: 16px;
  background: #fff7f7;
  color: #7f1d1d;
}

.msa-cr-offer-expired-notice p {
  margin: 0 0 12px;
}

.msa-cr-offer-expired-notice p:last-child {
  margin-bottom: 0;
}

.msa-cr-offer-review .woocommerce-message {
  margin-bottom: 18px;
}

.msa-cr-message-help {
  display: block;
  margin-top: 6px;
  color: #475569;
  font-size: 13px;
}

.msa-cr-thread-card__badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.msa-cr-thread-badge.is-muted {
  background: #e2e8f0;
  color: #475569;
}

.msa-cr-thread-closed-notice {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
  color: #334155;
}

.msa-cr-message-layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.msa-cr-message-sidebar,
.msa-cr-message-main {
  display: grid;
  gap: 18px;
  align-content: start;
}

.msa-cr-message-panel {
  padding: 18px;
  border: 1px solid #ababab;
  border-radius: 15px;
  background: #fff;
}

.msa-cr-message-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.msa-cr-message-panel__toggle {
  width: 34px;
  height: 34px;
  border: 1px solid #d7d7d7;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.msa-cr-message-panel__toggle:hover {
  background: #eef2f7;
}

button.msa-cr-message-panel__toggle {
  border-radius: 15px !important;
  padding: 10px 25px !important;
}

.msa-cr-message-panel__body[hidden] {
  display: none !important;
}

.msa-cr-message-panel.is-collapsed {
  padding-bottom: 14px;
}

.msa-cr-thread-list {
  display: grid;
  gap: 8px;
}

.msa-cr-thread-card {
  display: block;
  padding: 10px 12px;
  border: 1px solid #d7d7d7;
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  background: #fafafa;
}

.msa-cr-thread-card.is-active {
  border-color: #9ec5fe;
  background: #eff6ff;
}

.msa-cr-thread-card__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.msa-cr-thread-card__top strong {
  display: block;
  min-width: 0;
  font-size: 14px;
  line-height: 1.3;
}

.msa-cr-thread-card__preview,
.msa-cr-thread-card__meta,
.msa-cr-thread-header p {
  margin-top: 4px;
  color: #475569;
}

.msa-cr-thread-card__preview {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.35;
}

.msa-cr-thread-card__meta {
  font-size: 11px;
  line-height: 1.3;
}

.msa-cr-thread-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 700;
}

.msa-cr-unread-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  margin-right: 8px;
  padding: 0 6px;
  border-radius: 999px;
  background: #1d4ed8;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  flex: 0 0 auto;
}

.msa-cr-thread-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.msa-cr-thread-header h3,
.msa-cr-message-panel h3 {
  margin: 0;
}

.msa-cr-thread-header__meta {
  color: #64748b;
  font-size: 14px;
}

.msa-cr-message-stack {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.msa-cr-user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e3a8a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  flex: 0 0 auto;
}

.msa-cr-user-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.msa-cr-team-display {
  margin: 28px 0;
}

.msa-cr-team-staff-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 760px) {
  .msa-cr-team-staff-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

.msa-cr-team-title-with-brand {
  display: inline-flex;
  gap: clamp(18px, 3vw, 30px);
  align-items: center;
}

.msa-cr-team-title-brand-logo {
  width: clamp(74px, 8vw, 102px);
  height: clamp(74px, 8vw, 102px);
  flex: 0 0 auto;
  object-fit: cover;
}

.msa-cr-team-brand-logo {
  display: inline-block;
}

.msa-cr-team-display__heading {
  margin: 0 0 18px;
  color: #1f2933;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.msa-cr-team-display__parent-details {
  margin: -4px 0 18px;
}

.msa-cr-team-display__parent-details summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #1f5fa8;
  background: #eff6ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.msa-cr-team-display__parent-details summary::-webkit-details-marker {
  display: none;
}

.msa-cr-team-display__parent-details summary::after {
  content: "\f078";
  font-family: "Font Awesome 7 Pro", "Font Awesome 7 Free";
  font-size: 12px;
  font-weight: 900;
}

.msa-cr-team-display__parent-details[open] summary::after {
  content: "\f077";
}

.msa-cr-team-display__parent-details:not([open]) + .msa-cr-team-player-grid .msa-cr-team-card__parent-info {
  display: none;
}

.msa-cr-team-card {
  display: flex;
  gap: 18px;
  align-items: center;
  min-width: 0;
  padding: 18px;
  border: 1px solid #d8e1ec;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(246, 249, 252, 0.94)),
    #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.msa-cr-team-card__avatar {
  display: flex;
  flex: 0 0 auto;
}

.msa-cr-user-avatar--team-card {
  box-shadow: 0 0 0 4px #fff, 0 10px 24px rgba(15, 23, 42, 0.12);
}

.msa-cr-team-card__content {
  min-width: 0;
}

.msa-cr-team-info-card .msa-cr-team-card__content {
  width: 100%;
}

.msa-cr-team-card__eyebrow {
  margin: 0 0 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.msa-cr-team-card__name {
  margin: 0;
  color: #1f2933;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.1;
}

.msa-cr-team-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 10px;
  color: #475569;
  font-size: 15px;
}

.msa-cr-team-card__meta a {
  color: #1f5fa8;
  font-weight: 700;
  text-decoration: none;
}

.msa-cr-team-card__meta a:hover,
.msa-cr-team-card__meta a:focus {
  color: #17457d;
  text-decoration: underline;
}

.msa-cr-team-player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  align-items: start;
}

@media (min-width: 900px) {
  .msa-cr-team-player-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.msa-cr-team-player-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.msa-cr-team-card__identity {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-width: 0;
}

.msa-cr-team-player-card .msa-cr-team-card__avatar {
  flex: 0 0 auto;
}

.msa-cr-team-card__identity-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.msa-cr-team-player-card .msa-cr-team-card__name {
  font-size: 20px;
  overflow-wrap: anywhere;
}

.msa-cr-team-card__guest-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid #b8d8ff;
  border-radius: 999px;
  background: #eef6ff;
  color: #1f65a8;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .08em;
  padding: 7px 10px;
  text-transform: uppercase;
}

.msa-cr-team-card__guest-note {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.msa-cr-team-card__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 0;
}

.msa-cr-team-player-card .msa-cr-team-card__stats {
  width: 100%;
  margin: 0;
}

.msa-cr-team-player-card .msa-cr-team-card__stats--single {
  grid-template-columns: 1fr;
}

.msa-cr-team-card__stats div {
  min-width: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f1f5f9;
}

.msa-cr-team-card__stats dt {
  margin: 0 0 3px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.msa-cr-team-card__stats dd {
  margin: 0;
  color: #1f2933;
  font-size: 16px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.msa-cr-team-card__staff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin-top: 0;
}

.msa-cr-team-card__staff-action,
.msa-cr-team-card__staff-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.msa-cr-team-card__staff-action {
  color: #fff;
  background: #1f5fa8;
  text-decoration: none;
}

.msa-cr-team-card__staff-action:hover,
.msa-cr-team-card__staff-action:focus {
  color: #fff;
  background: #17457d;
  text-decoration: none;
}

.msa-cr-team-card__staff-status {
  color: #92400e;
  background: #fef3c7;
}

.msa-cr-team-card__parent-info {
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid #d8e1ec;
}

.msa-cr-team-card__parent-info h4 {
  margin: 0 0 10px;
  color: #1f2933;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.msa-cr-team-card__parent-list {
  display: grid;
  gap: 10px;
}

.msa-cr-team-card__parent-contact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.msa-cr-team-card__parent-avatar {
  display: flex;
}

.msa-cr-user-avatar--team-parent {
  box-shadow: 0 0 0 3px #fff, 0 8px 20px rgba(15, 23, 42, 0.1);
}

.msa-cr-team-card__parent-contact-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.msa-cr-team-card__parent-contact-body strong {
  color: #1f2933;
  font-size: 14px;
  line-height: 1.2;
}

.msa-cr-team-card__parent-contact-body a {
  color: #1f5fa8;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.msa-cr-team-card__parent-contact-body a:hover,
.msa-cr-team-card__parent-contact-body a:focus {
  color: #17457d;
  text-decoration: underline;
}

.msa-cr-team-card__stats--team-info {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.msa-cr-team-card__stats--team-info .msa-cr-team-card__stat--wide {
  grid-column: 1 / -1;
}

.msa-cr-team-display__empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  color: #64748b;
  background: #f8fafc;
}

.msa-cr-team-event-attendance-notice {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 800;
}

.msa-cr-team-event-attendance-notice.is-success {
  border: 1px solid #bbf7d0;
  color: #166534;
  background: #f0fdf4;
}

.msa-cr-team-event-attendance-notice.is-error {
  border: 1px solid #fecaca;
  color: #991b1b;
  background: #fef2f2;
}

.msa-cr-team-event-list {
  display: grid;
  gap: 14px;
}

.msa-cr-team-event-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  align-items: flex-start;
  min-width: 0;
  padding: 18px;
  border: 1px solid #d8e1ec;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 252, 0.96)),
    #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.msa-cr-team-event-card__date {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  border-radius: 18px;
  color: #1a63af;
  background: #eaf3ff;
  text-align: center;
  text-transform: uppercase;
}

.msa-cr-team-event-card__date span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.msa-cr-team-event-card__date strong {
  font-size: 28px;
  line-height: 1;
}

.msa-cr-team-event-card__body {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.msa-cr-team-event-card__body h3 {
  margin: 0 0 8px;
  color: #1f2933;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.1;
  text-transform: uppercase;
}

.msa-cr-team-event-card__body p {
  margin: 0 0 6px;
  color: #4b5563;
}

.msa-cr-team-event-card__notes {
  margin-top: 10px;
  color: #4b5563;
}

.msa-cr-team-event-card__map-actions {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 10px;
}

.msa-cr-team-event-card__map-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #1a63af;
  background: #eff6ff;
  text-decoration: none;
}

.msa-cr-team-event-card__map-button::before {
  font-family: "Font Awesome 7 Brands", "Font Awesome 6 Brands", "Font Awesome 5 Brands";
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
}

.msa-cr-team-event-card__map-button.is-apple::before {
  content: "\f179";
}

.msa-cr-team-event-card__map-button.is-google::before {
  content: "\f1a0";
}

.msa-cr-team-event-attendance,
.msa-cr-team-event-attendance-summary {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #d8e1ec;
}

.msa-cr-team-event-attendance h4,
.msa-cr-team-event-attendance-summary h5 {
  margin: 0 0 8px;
  color: #1f2933;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.msa-cr-team-event-attendance__players {
  display: grid;
  gap: 10px;
}

.msa-cr-team-event-attendance__player {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border: 1px solid #dbe6f2;
  border-radius: 14px;
  background: #f8fbff;
}

.msa-cr-team-event-attendance__player strong,
.msa-cr-team-event-attendance__player span {
  display: block;
}

.msa-cr-team-event-attendance__player span {
  color: #64748b;
  font-size: 13px;
}

.msa-cr-team-event-attendance__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.msa-cr-team-event-attendance__button {
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: #1f2933;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.msa-cr-team-event-attendance__button.is-active {
  border-color: #1a63af;
  color: #fff;
  background: #1a63af;
}

.msa-cr-team-event-attendance-summary summary {
  cursor: pointer;
  color: #1f2933;
  font-weight: 900;
}

.msa-cr-team-event-attendance-summary__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.msa-cr-team-event-attendance-summary__grid > div {
  padding: 12px;
  border: 1px solid #dbe6f2;
  border-radius: 14px;
  background: #f8fbff;
}

.msa-cr-team-event-attendance-summary ul,
.msa-cr-team-event-attendance-summary p {
  margin: 0;
}

.msa-cr-team-event-attendance-summary ul {
  padding-left: 0;
  list-style: none;
}

.msa-cr-team-event-attendance-summary li {
  list-style: none;
}

@media (max-width: 720px) {
  .msa-cr-team-event-attendance-summary__grid {
    grid-template-columns: 1fr;
  }
}

.msa-cr-my-teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.msa-cr-my-team-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: 22px;
  border: 1px solid #ababab;
  border-radius: 20px;
  background: #fff;
}

.msa-cr-my-team-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.msa-cr-my-team-card__brand {
  flex: 0 0 auto;
}

.msa-cr-my-team-card__brand-logo {
  width: 72px;
  height: 72px;
  display: block;
  object-fit: contain;
}

.msa-cr-my-team-card__title-wrap {
  min-width: 0;
}

.msa-cr-my-team-card__title {
  margin: 0;
  color: #1f2933;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.msa-cr-my-team-card__count {
  margin: 8px 0 0;
  color: #1f5fa8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.msa-cr-my-team-card__body {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 14px;
  background: #f1f5f9;
}

.msa-cr-my-team-card__body strong {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.msa-cr-my-team-card__body span {
  color: #1f2933;
  font-size: 16px;
  font-weight: 700;
}

.msa-cr-my-team-card__actions {
  margin-top: auto;
}

.msa-cr-message-row {
  display: flex;
  width: 100%;
  gap: 12px;
  align-items: flex-end;
}

.msa-cr-message-row.is-customer {
  flex-direction: row-reverse;
}

.msa-cr-message-row.is-admin {
  justify-content: flex-start;
}

.msa-cr-message-bubble {
  max-width: 78%;
  padding: 12px 16px;
  border-radius: 22px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  background: #f1f5f9;
}

.msa-cr-message-bubble.is-customer {
  justify-self: end;
  background: #0a84ff;
  color: #fff;
}

.msa-cr-message-bubble.is-admin {
  justify-self: start;
  background: #e5e7eb;
  color: #111827;
}

.msa-cr-message-bubble__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 13px;
  color: #475569;
}

.msa-cr-message-bubble.is-customer .msa-cr-message-bubble__meta,
.msa-cr-message-bubble.is-customer .msa-cr-message-bubble__body {
  color: #fff;
}

.msa-cr-message-bubble__body > *:first-child {
  margin-top: 0;
}

.msa-cr-message-bubble__body > *:last-child {
  margin-bottom: 0;
}

.msa-cr-message-empty p {
  margin: 0;
  color: #475569;
}

.msa-cr-message-send-button {
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 18px;
}

@media (max-width: 900px) {
  .msa-cr-message-layout {
    grid-template-columns: 1fr;
  }

  .msa-cr-message-row {
    gap: 10px;
  }

  .msa-cr-message-bubble {
    max-width: 100%;
  }

  .msa-cr-thread-header {
    flex-direction: column;
  }
}

.msa-cr-dashboard-home__hero,
.msa-cr-dashboard-section {
  padding: 20px;
  border: 1px solid #ababab;
  border-radius: 18px;
  background: #fff;
}

.msa-cr-dashboard-home__hero {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.msa-cr-dashboard-home__hero-main {
  display: flex;
  align-items: center;
  gap: 16px;
}

.msa-cr-dashboard-home__hero-avatar {
  flex: 0 0 auto;
}

.msa-cr-account-avatar-panel {
  margin-bottom: 20px;
}

.msa-cr-account-avatar-panel h3 {
  margin: 0 0 6px;
}

.msa-cr-account-avatar-panel .description {
  margin: 0 0 12px;
}

.msa-cr-2fa-gate {
  max-width: 720px;
  margin: 0 auto;
}

.msa-cr-2fa-gate__intro {
  margin: 0 0 16px;
}

.msa-cr-2fa-gate__forms {
  display: grid;
  gap: 16px;
}

.msa-cr-2fa-gate__form {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.msa-cr-2fa-gate__form--verify {
  padding-top: 16px;
  border-top: 1px solid #d8dee6;
}

.msa-cr-2fa-gate__form input {
  flex: 1 1 220px;
  border-color: #231f20;
  border-radius: 3px;
  color: #231f20;
}

.msa-cr-2fa-gate__form .button {
  border: 0;
  border-radius: 0;
  background-color: #231f20 !important;
  color: #fff !important;
  font-family: "Outfit", serif !important;
  font-weight: 800 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase;
}

.msa-cr-2fa-gate__form .button:hover,
.msa-cr-2fa-gate__form .button:focus {
  background-color: #1662ad !important;
  color: #fff !important;
}

.msa-cr-2fa-gate__resend {
  margin: 0;
}

.msa-cr-2fa-gate__resend button {
  padding: 0;
  border: 0;
  background: transparent;
  border-bottom: 2px solid #1662ad;
  color: #1662ad;
  font-family: "Outfit", serif;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.msa-cr-2fa-notice {
  margin: 0 0 16px;
  padding: 0;
  border-radius: 0;
  font-weight: 400;
}

.msa-cr-2fa-notice p {
  margin: 0;
  padding: 12px 16px;
}

.msa-cr-2fa-notice--success {
  border-left: 4px solid #1662ad;
  background: #fff;
  color: #231f20;
}

.msa-cr-2fa-notice--error,
.msa-cr-2fa-gate__error {
  border-left: 4px solid #CC5B61;
  background: #fff;
  color: #991b1b;
}

.msa-cr-2fa-status-list p {
  margin: 0 0 8px;
}

.msa-cr-account-edit .woocommerce-EditAccountForm {
  margin-top: 18px;
}

.msa-cr-account-edit__sections {
  display: grid;
  gap: 18px;
}

.msa-cr-account-edit .woocommerce-form-row:last-child {
  margin-bottom: 0;
}

.msa-cr-account-edit__password-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.msa-cr-account-edit__actions {
  margin: 18px 0 0;
}

.msa-cr-avatar-field {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.msa-cr-avatar-field__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.msa-cr-dashboard-home__hero h2 {
  margin: 0 0 8px;
}

.msa-cr-dashboard-home__hero p,
.msa-cr-dashboard-section__header p {
  margin: 0;
  color: #475569;
}

.msa-cr-dashboard-home__layout {
  display: grid;
  gap: 18px;
}

.msa-cr-dashboard-section__header {
  margin-bottom: 16px;
}

.msa-cr-dashboard-section__header h3 {
  margin: 0 0 6px;
}

.msa-cr-dashboard-section--tasks {
  border-color: #bfdbfe;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.msa-cr-dashboard-task-list,
.msa-cr-dashboard-player-list,
.msa-cr-dashboard-alert-list {
  display: grid;
  gap: 14px;
}

.msa-cr-dashboard-task-card,
.msa-cr-dashboard-player-card,
.msa-cr-dashboard-alert-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
}

.msa-cr-dashboard-player-card,
.msa-cr-dashboard-alert-card {
  justify-content: space-between;
}

.msa-cr-dashboard-task-card__content {
  flex: 1 1 auto;
  min-width: 0;
}

.msa-cr-dashboard-task-card h4,
.msa-cr-dashboard-player-card h4 {
  margin: 0 0 6px;
}

.msa-cr-dashboard-task-card p {
  margin: 0;
  color: #475569;
}

.msa-cr-dashboard-task-card__actions {
  display: flex;
  flex: 0 0 auto;
  max-width: 100%;
  gap: 8px;
  align-items: center;
  margin-left: auto;
}

.msa-cr-dashboard-task-card__actions .button {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

.msa-cr-dashboard-task-card__dismiss-form {
  margin: 0;
}

.msa-cr-dashboard-task-card__dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #b32d2e;
  background: transparent;
  cursor: pointer;
}

.msa-cr-dashboard-task-card__dismiss::before {
  content: "\e12e";
  font-family: "Font Awesome 7 Pro", "Font Awesome 7 Free";
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.msa-cr-dashboard-task-card__dismiss:hover,
.msa-cr-dashboard-task-card__dismiss:focus {
  border-color: #fecaca;
  color: #8a2424;
  background: #fef2f2;
}

.msa-cr-dashboard-task-card--payment {
  border-color: #fecaca;
  background: #fff7f7;
}

.msa-cr-dashboard-task-card--payment h4,
.msa-cr-dashboard-task-card--payment p {
  color: #991b1b;
}

.msa-cr-account .msa-cr-dashboard-task-card--payment .msa-cr-dashboard-task-card__actions .button.button-primary {
  border-color: #b91c1c !important;
  background: #b91c1c !important;
  color: #fff !important;
}

.msa-cr-account .msa-cr-dashboard-task-card--payment .msa-cr-dashboard-task-card__actions .button.button-primary:hover,
.msa-cr-account .msa-cr-dashboard-task-card--payment .msa-cr-dashboard-task-card__actions .button.button-primary:focus {
  border-color: #7f1d1d !important;
  background: #7f1d1d !important;
  color: #fff !important;
}

.msa-cr-dashboard-task-card--player {
  border-color: #fde68a;
  background: #fffbeb;
}

.msa-cr-dashboard-task-card--player h4,
.msa-cr-dashboard-task-card--player p {
  color: #92400e;
}

.msa-cr-account .msa-cr-dashboard-task-card--player .msa-cr-dashboard-task-card__actions .button.button-primary {
  border-color: #d97706 !important;
  background: #d97706 !important;
  color: #fff !important;
}

.msa-cr-account .msa-cr-dashboard-task-card--player .msa-cr-dashboard-task-card__actions .button.button-primary:hover,
.msa-cr-account .msa-cr-dashboard-task-card--player .msa-cr-dashboard-task-card__actions .button.button-primary:focus {
  border-color: #92400e !important;
  background: #92400e !important;
  color: #fff !important;
}

.msa-cr-dashboard-snapshot {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.msa-cr-dashboard-snapshot__card {
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8fafc;
}

.msa-cr-dashboard-snapshot__label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #64748b;
}

.msa-cr-dashboard-snapshot__card strong {
  font-size: 24px;
  color: #0f172a;
}

.msa-cr-dashboard-player-card__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.msa-cr-dashboard-player-meta {
  display: grid;
  gap: 8px;
  color: #334155;
}

.msa-cr-dashboard-alert-card {
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fffdf5;
  border-color: #fde68a;
}

.msa-cr-dashboard-alert-card span {
  color: #475569;
}

.msa-cr-dashboard-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.msa-cr-dashboard-empty {
  padding: 18px;
  border-radius: 16px;
  background: #f8fafc;
  color: #475569;
}

.msa-cr-dashboard-empty p,
.msa-cr-dashboard-empty strong {
  margin: 0;
}

@media (max-width: 768px) {
  .msa-cr-dashboard-home__hero,
  .msa-cr-dashboard-player-card {
    flex-direction: column;
  }

  .msa-cr-dashboard-task-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: flex-start;
  }

  .msa-cr-dashboard-task-card--has-dismiss {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .msa-cr-dashboard-task-card--has-dismiss .msa-cr-dashboard-task-card__content {
    grid-column: 2;
  }

  .msa-cr-dashboard-task-card__actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    margin-left: 0;
  }

  .msa-cr-dashboard-task-card__actions .button {
    width: 100%;
  }

  .msa-cr-dashboard-player-card__top {
    flex-direction: column;
  }

  .msa-cr-contact-form__grid {
    grid-template-columns: 1fr;
  }
}

.msa-cr-offer-snapshot {
  margin-top: 18px;
}

.msa-cr-offer-snapshot pre,
.msa-cr-managed-form__content {
  margin: 10px 0 0;
  padding: 16px;
  border: 1px solid #ababab;
  border-radius: 15px;
  background: #f8fafc;
  line-height: 1.6;
}

.msa-cr-offer-snapshot pre {
  white-space: pre-wrap;
  font-family: "Noto Sans", sans-serif;
  font-size: 13px;
}

.msa-cr-managed-form__content p {
  margin: 0 0 14px !important;
  white-space: pre-line;
}

.msa-cr-managed-form__content p:last-child {
  margin-bottom: 0 !important;
}

.msa-cr-managed-form__content li {
  margin: 0 0 12px;
}

.msa-cr-managed-form__content ul,
.msa-cr-managed-form__content ol {
  margin: 0 0 12px 22px;
}

.msa-cr-managed-form__content h1,
.msa-cr-managed-form__content h2,
.msa-cr-managed-form__content h3,
.msa-cr-managed-form__content h4 {
  margin: 0 0 12px;
}

.msa-cr-offer-page__hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding: 20px 22px;
  border: 1px solid #d8dee6;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.msa-cr-offer-page__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #1662ad;
}

.msa-cr-offer-page__hero h2 {
  margin: 0 0 8px;
}

.msa-cr-offer-page__summary,
.msa-cr-offer-page__hero-meta p,
.msa-cr-offer-page__note {
  margin: 0;
  color: #475569;
}

.msa-cr-offer-page__hero-meta {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.msa-cr-offer-page__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.msa-cr-offer-page__grid > .msa-cr-detail-section--offer-summary {
  grid-column: 1 / -1;
}

.msa-cr-offer-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: stretch;
}

.msa-cr-offer-summary__details {
  min-width: 0;
}

.msa-cr-offer-summary__details .msa-cr-detail-grid {
  height: 100%;
}

.msa-cr-offer-summary__brand {
  display: grid;
  place-items: center;
  min-width: 156px;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
}

.msa-cr-offer-summary__brand-logo {
  width: 132px;
  height: 132px;
  object-fit: contain;
}

.msa-cr-offer-page .msa-cr-detail-section > * + * {
  margin-top: 18px;
}

.msa-cr-offer-page .msa-cr-offer-page__note {
  margin-bottom: 4px;
}

.msa-cr-offer-actions {
  display: grid;
  gap: 18px;
}

.msa-cr-offer-form {
  padding: 18px;
  border: 1px solid #ababab;
  border-radius: 18px;
  background: #fff;
}

.msa-cr-offer-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.msa-cr-offer-form__full {
  grid-column: 1 / -1;
}

.msa-cr-offer-form__grid--three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.msa-cr-offer-form__grid--payment-choice {
  margin-bottom: 16px;
}

.msa-cr-offer-form__grid--jersey {
  margin-top: 10px;
}

.msa-cr-offer-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
}

.msa-cr-offer-form input[type="text"],
.msa-cr-offer-form input[type="number"],
.msa-cr-offer-form select {
  width: 100%;
}

.msa-cr-offer-form--decline p {
  margin-top: 0;
}

.msa-cr-offer-form__signature-mode {
  margin-top: 16px;
}

.msa-cr-offer-form__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.msa-cr-offer-form__radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 18px;
  font-weight: 400;
}

.msa-cr-offer-form__helper {
  margin: 10px 0 0;
  color: #64748b;
}

.msa-cr-offer-form__helper--inline {
  margin-top: 0;
  display: block;
  width: 100%;
}

.msa-cr-offer-form__typed {
  margin-top: 18px;
}

.msa-cr-offer-payment-preview {
  display: grid;
  gap: 14px;
}

.msa-cr-offer-payment-preview__empty,
.msa-cr-offer-payment-preview__option {
  padding: 16px 18px;
  border: 1px solid #ababab;
  border-radius: 16px;
  background: #fff;
}

.msa-cr-offer-payment-preview__option h4 {
  margin: 0 0 12px;
}

.msa-cr-offer-payment-table-wrap {
  overflow-x: auto;
}

.msa-cr-offer-payment-table {
  width: 100%;
  border-collapse: collapse;
}

.msa-cr-offer-payment-table th,
.msa-cr-offer-payment-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: middle;
}

.msa-cr-offer-payment-table thead th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #475569;
}

.msa-cr-offer-payment-table tbody tr:last-child td {
  border-bottom: 0;
}

.msa-cr-offer-form__drawn .button[data-msa-signature-clear] {
  padding: 6px 12px;
  min-height: 0;
  font-size: 13px;
  line-height: 1.2;
}

.msa-cr-signature-pad {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: 8px;
  border: 1px dashed #94a3b8;
  border-radius: 14px;
  background: #fff;
  touch-action: none;
}

.msa-cr-offer-signature-image {
  margin-top: 10px;
  padding: 14px;
  border: 1px solid #d8dee6;
  border-radius: 14px;
  background: #fff;
}

.msa-cr-offer-signature-image img {
  display: block;
  max-width: 320px;
  width: 100%;
  height: auto;
}

.msa-cr-offer-snapshot--formal pre,
.msa-cr-offer-snapshot--formal .msa-cr-managed-form__content {
  background: #fff;
}

.msa-cr-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.msa-cr-status-badge.is-paid {
  background: #e7f7ec;
  color: #166534;
}

.msa-cr-status-badge.is-unpaid {
  background: #fff4db;
  color: #92400e;
}

.msa-cr-status-badge.is-current {
  background: #dcfce7;
  color: #166534;
}

.msa-cr-status-badge.is-overdue {
  background: #fee2e2;
  color: #b91c1c;
}

.msa-cr-status-badge.is-expired {
  background: #fee2e2;
  color: #991b1b;
}

.msa-cr-status-badge.is-archived {
  background: #e2e8f0;
  color: #334155;
}

.msa-cr-notice-list {
  margin: 0;
  padding-left: 18px;
}

.msa-cr-tryout-player-grid {
  margin-top: 14px;
}

.msa-cr-tryout-player-option {
  gap: 16px;
}

.msa-cr-tryout-player-option__selector {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
}

.msa-cr-tryout-player-option__body {
  flex: 1;
  display: grid;
  gap: 14px;
}

.msa-cr-tryout-player-option__check {
  display: flex;
  align-items: flex-start;
}

.msa-cr-tryout-player-option__check input {
  margin-top: 2px;
}

.msa-cr-tryout-player-option .msa-cr-player-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.msa-cr-clinic-choice-box {
  margin-top: 14px;
}

.msa-cr-clinic-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.msa-cr-clinic-choice-box > label:not(.msa-cr-checkbox-row) {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
}

.msa-cr-clinic-choice-box select {
  width: 100%;
}

.msa-cr-clinic-choice-box .msa-cr-checkbox-row {
  margin: 0;
}

.msa-cr-clinic-choice-box__meta {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
}

.msa-cr-tryout-player-option__location,
.msa-cr-tryout-player-option__note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.msa-cr-tryout-player-option__location label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
}

.msa-cr-tryout-player-option__location select,
.msa-cr-tryout-player-option__location input[type="text"] {
  width: 100%;
}

.msa-cr-tryout-player-option__date-label,
.msa-cr-tryout-player-option__experience-label {
  margin-top: 14px;
}

.msa-cr-tryout-player-option__help {
  margin: 8px 0;
  font-size: 13px;
  color: #64748b;
}

.msa-cr-tryout-player-option__note {
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
}

.msa-cr-tryout-player-option.is-disabled {
  background: #f3f4f6;
  border-color: #d1d5db;
  opacity: 0.72;
}

.msa-cr-tryout-player-option.is-disabled .msa-cr-tryout-player-option__selector {
  cursor: not-allowed;
}

.msa-cr-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
}

.msa-cr-agreement-box {
  margin: 14px 0;
  padding: 14px 16px;
  border: 1px solid #d7dce3;
  border-radius: 14px;
  background: #f3f4f6;
}

.msa-cr-agreement-box__title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
  text-transform: uppercase;
}

.msa-cr-checkbox-row input[type="checkbox"] {
  width: auto !important;
  min-height: 0 !important;
  margin-top: 3px;
  margin-right: 10px;
}

.msa-cr-view-header {
  display: block;
  margin-bottom: 24px;
}

.msa-cr-view-header__actions {
  margin-bottom: 24px;
}

.msa-cr-detail-section {
  margin-bottom: 28px;
}

.msa-cr-download-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  margin: 18px 0;
  border: 1px solid #ababab;
  border-radius: 18px;
  background: #fff;
}

.msa-cr-download-card h3 {
  margin: 0 0 6px;
}

.msa-cr-download-card p {
  margin: 0;
}

.msa-cr-download-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.msa-cr-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
}

.msa-cr-detail-grid > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid #ababab;
  border-radius: 15px;
  background: #fff;
}

.msa-cr-detail-grid > div > strong {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #666;
}

.msa-cr-detail-grid span {
  font-size: 15px;
  color: #231f20;
}

.msa-cr-detail-grid .msa-cr-detail-list {
  display: grid;
  gap: 5px;
}

.msa-cr-detail-grid > .msa-cr-detail-grid__item--wide {
  grid-column: 1 / -1;
}

.msa-cr-detail-list__team-title {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: baseline;
}

.msa-cr-detail-list__team-title b,
.msa-cr-detail-list b {
  font-weight: 700;
}

.msa-cr-offer-payment-table__fee-note td {
  color: #64748b;
  font-size: 14px;
}

.msa-cr-player-document-form {
  margin-top: 16px;
}

.msa-cr-player-document-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.msa-cr-player-document-form input[type="file"] {
  display: block;
  width: 100%;
  max-width: 420px;
}

.msa-cr-player-document-form .description {
  margin-top: 10px;
  color: #64748b;
}

@media (max-width: 768px) {
  .msa-cr-player-summary,
  .msa-cr-detail-grid {
    grid-template-columns: 1fr;
  }

  .msa-cr-view-header {
    flex-direction: column;
    align-items: stretch;
  }

  .msa-cr-download-card,
  .msa-cr-download-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .msa-cr-offer-page__hero,
  .msa-cr-offer-page__grid {
    grid-template-columns: 1fr;
  }

  .msa-cr-offer-summary {
    grid-template-columns: 1fr;
  }

  .msa-cr-offer-summary__brand {
    min-width: 0;
  }

  .msa-cr-offer-form__grid {
    grid-template-columns: 1fr;
  }

  .msa-cr-offer-page__hero {
    flex-direction: column;
  }

  .msa-cr-offer-page__hero-meta {
    justify-items: start;
  }

  .msa-cr-offer-payment-preview__empty,
  .msa-cr-offer-payment-preview__option {
    padding: 14px;
    border-radius: 14px;
  }

  .msa-cr-offer-payment-preview__option h4 {
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 1.15;
  }

  .msa-cr-offer-payment-table-wrap {
    overflow-x: visible;
  }

  .msa-cr-offer-payment-table,
  .msa-cr-offer-payment-table thead,
  .msa-cr-offer-payment-table tbody,
  .msa-cr-offer-payment-table tfoot,
  .msa-cr-offer-payment-table tr,
  .msa-cr-offer-payment-table th,
  .msa-cr-offer-payment-table td {
    display: block;
    width: 100%;
  }

  .msa-cr-offer-payment-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .msa-cr-offer-payment-table tbody tr,
  .msa-cr-offer-payment-table tfoot tr:first-child {
    padding: 10px 12px;
    margin: 0 0 10px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
  }

  .msa-cr-offer-payment-table tbody tr:last-child {
    margin-bottom: 12px;
  }

  .msa-cr-offer-payment-table th,
  .msa-cr-offer-payment-table td {
    padding: 4px 0;
    border-bottom: 0;
    font-size: 14px;
    line-height: 1.35;
  }

  .msa-cr-offer-payment-table td[data-label]::before,
  .msa-cr-offer-payment-table th[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .msa-cr-offer-payment-table__item {
    padding-bottom: 7px;
    color: #1f2937;
    font-size: 15px;
    font-weight: 700;
  }

  .msa-cr-offer-payment-table__date,
  .msa-cr-offer-payment-table__amount,
  .msa-cr-offer-payment-table__total-amount {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }

  .msa-cr-offer-payment-table__date::before,
  .msa-cr-offer-payment-table__amount::before,
  .msa-cr-offer-payment-table__total-amount::before {
    margin-bottom: 0;
  }

  .msa-cr-offer-payment-table__amount,
  .msa-cr-offer-payment-table__total-amount {
    font-weight: 800;
  }

  .msa-cr-offer-payment-table__total-label {
    display: none;
  }

  .msa-cr-offer-payment-table__fee-note td {
    padding: 2px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
  }
}

.woocommerce-account .msa-cr-player-form input[type="text"],
.woocommerce-account .msa-cr-player-form input[type="date"],
.woocommerce-account .msa-cr-player-form select,
.woocommerce-account .msa-cr-player-form textarea {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 44px;
  padding: 10px 12px !important;
  border: 1px solid #d5d8dc !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: #231f20 !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  font-family: inherit !important;
  box-sizing: border-box;
  box-shadow: none !important;
}

.woocommerce-account .msa-cr-player-form textarea {
  min-height: 120px;
  resize: vertical;
}

.msa-cr-tryout-form input[type="text"],
.msa-cr-tryout-form select,
.msa-cr-tryout-form textarea {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 44px;
  padding: 10px 12px !important;
  border: 1px solid #d5d8dc !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: #231f20 !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  font-family: inherit !important;
  box-sizing: border-box;
  box-shadow: none !important;
}

.msa-cr-tryout-form input[type="text"]:focus,
.msa-cr-tryout-form select:focus,
.msa-cr-tryout-form textarea:focus {
  outline: none !important;
  border-color: #1662ad !important;
  box-shadow: 0 0 0 1px #1662ad !important;
}

.woocommerce-account .msa-cr-player-form select {
  height: 44px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image:
    linear-gradient(45deg, transparent 50%, #444 50%),
    linear-gradient(135deg, #444 50%, transparent 50%) !important;
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px) !important;
  background-size: 6px 6px, 6px 6px !important;
  background-repeat: no-repeat !important;
  padding-right: 34px !important;
}

.woocommerce-account .msa-cr-player-form input[type="text"]:focus,
.woocommerce-account .msa-cr-player-form input[type="date"]:focus,
.woocommerce-account .msa-cr-player-form select:focus,
.woocommerce-account .msa-cr-player-form textarea:focus {
  outline: none !important;
  border-color: #1662ad !important;
  box-shadow: 0 0 0 1px #1662ad !important;
}

.msa-payments-page {
  display: grid;
  gap: 28px;
}

.msa-payments-section__header {
  margin-bottom: 14px;
}

.msa-payments-section__header h2 {
  margin: 0;
}

.msa-payments-section__actions {
  margin-top: 14px;
}

.msa-payments-autopay__households {
  display: grid;
  gap: 16px;
}

.msa-payments-autopay-card {
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid #ababab;
  border-radius: 15px;
  background: transparent;
}

.msa-payments-autopay-card h3 {
  margin: 8px 0 6px;
}

.msa-payments-autopay-card p {
  margin: 0;
}

.msa-payments-autopay-card__warning {
  margin-top: 10px !important;
  color: #b91c1c !important;
  font-weight: 700;
}

.msa-payments-autopay-form {
  display: grid;
  gap: 16px;
}

.msa-payments-autopay-form > .button[type="submit"] {
  justify-self: end;
  width: auto !important;
  max-width: max-content;
}

.msa-payments-autopay-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.msa-payments-autopay-agreement {
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
}

.msa-payments-autopay-agreement p:last-child {
  margin-bottom: 0;
}

.msa-payments-autopay-consent {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 700;
}

.msa-payments-autopay-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: 0 0 auto;
}

.msa-payments-autopay-signature-actions {
  margin-top: 12px !important;
}

.msa-payments-autopay-note {
  margin-top: 6px;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
}

.msa-payments-batch-form {
  display: grid;
  gap: 14px;
}

.msa-payments-batch-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid #d8dee6;
  border-radius: 14px;
  background: #f8fbff;
}

.msa-payments-batch-bar__summary {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.msa-payments-batch-bar__count,
.msa-payments-batch-bar__total {
  font-weight: 700;
}

.msa-payments-batch-bar__note {
  color: #64748b;
  font-size: 13px;
}

.msa-payments-select-column {
  width: 72px;
  text-align: center;
}

.msa-payments-select-column input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.msa-payments-due-list {
  display: grid;
  gap: 14px;
}

.msa-payments-due-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid #ababab;
  border-radius: 15px;
  background: #fff;
}

.msa-payments-due-card__content h3 {
  margin: 0 0 10px;
}

.msa-payments-due-card__content p {
  margin: 0 0 8px;
}

.msa-payments-due-card__content p:last-child {
  margin-bottom: 0;
}

.msa-payments-due-card__actions {
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .msa-cr-dashboard-home__hero-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .msa-payments-due-card {
    flex-direction: column;
    align-items: stretch;
  }

  .msa-payments-batch-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .msa-payments-batch-bar .button {
    width: 100%;
    text-align: center;
  }

  .msa-payments-autopay-form__grid {
    grid-template-columns: 1fr;
  }

  .msa-payments-select-column {
    width: auto;
    text-align: left;
  }

  .msa-payments-due .account-orders-table,
  .msa-payments-due .account-orders-table thead,
  .msa-payments-due .account-orders-table tbody {
    display: block;
    width: 100%;
    border: 0;
  }

  .msa-payments-due .account-orders-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .msa-payments-due .account-orders-table tbody {
    display: grid;
    gap: 14px;
  }

  .msa-payments-due .account-orders-table tbody tr {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "select player status"
      "label label amount"
      "due due action";
    gap: 10px 12px;
    align-items: center;
    padding: 16px;
    border: 1px solid #d8dee6;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
  }

  .msa-payments-due .account-orders-table.shop_table_responsive tr td {
    display: block !important;
    width: auto !important;
    min-height: 0;
    padding: 0 !important;
    border: 0 !important;
    text-align: left !important;
  }

  .msa-payments-due .account-orders-table.shop_table_responsive tr td::before {
    content: none !important;
    display: none !important;
  }

  .msa-payments-cell--select {
    grid-area: select;
  }

  .msa-payments-cell--player {
    grid-area: player;
    justify-self: start;
    font-weight: 700;
  }

  .msa-payments-cell--label {
    grid-area: label;
    min-width: 0;
  }

  .msa-payments-cell--amount {
    grid-area: amount;
    justify-self: end;
    font-weight: 800;
    white-space: nowrap;
  }

  .msa-payments-cell--due {
    grid-area: due;
    color: #475569;
    font-size: 14px;
    white-space: nowrap;
  }

  .msa-payments-cell--status {
    grid-area: status;
    justify-self: end;
  }

  .msa-payments-cell--action {
    grid-area: action;
    justify-self: end;
  }

  .msa-payments-cell--action .button {
    margin: 0;
    white-space: nowrap;
  }

  .woocommerce .msa-payments-due table.shop_table.account-orders-table {
    border: 0 !important;
  }
}

@media (max-width: 640px) {
  .msa-cr-team-card {
    align-items: flex-start;
    padding: 16px;
  }

  .msa-cr-team-coach-card {
    flex-direction: column;
  }

  .msa-cr-team-card__stats {
    grid-template-columns: 1fr;
  }

  .msa-cr-team-player-card .msa-cr-team-card__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .msa-cr-team-player-card .msa-cr-team-card__stats--single {
    grid-template-columns: 1fr;
  }

  .msa-cr-team-card__stats--team-info .msa-cr-team-card__stat--wide {
    grid-column: auto;
  }

  .msa-cr-team-event-card {
    grid-template-columns: 74px minmax(0, 1fr);
    grid-template-areas:
      "date maps"
      "body body";
    gap: 16px 14px;
  }

  .msa-cr-team-event-card__date {
    grid-area: date;
    width: 74px;
  }

  .msa-cr-team-event-card__map-actions {
    grid-area: maps;
    align-self: start;
    justify-self: end;
    flex-wrap: nowrap;
    margin-top: 0;
  }

  .msa-cr-team-event-card__body {
    grid-area: body;
  }
}
