/* Commish "Reports" page family -- ported from legacy's commish_email_addresses_report_modern.css,
   commish_duplicate_users_report_modern.css, and commish_signup_attempts_report_modern.css. Three separate
   pages, each scoped under its own root class so none of them leak into each other or into other pages reusing
   the same .card/table/callout classes. */

/* -------------------- Email Addresses Report -------------------- */

.commishEmailAddressesIntroNote {
  max-width: 700px;
  padding: 12px 16px;
  margin-bottom: 16px;
}

.commishEmailAddressesReportPage .card {
  max-width: 700px;
  border: 1px solid var(--ptfg-border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(11, 26, 103, 0.06);
  margin-bottom: 16px;
}

.commishEmailAddressesReportPage .card-header {
  background: var(--ptfg-bg-card-tint);
  border-bottom: 1px solid var(--ptfg-border);
  padding: 12px 20px;
}

.commishEmailAddressesReportPage .ptfgCardHeader {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--ptfg-navy);
}

.commishEmailAddressesReportPage .card-block {
  padding: 16px 20px;
}

.commishEmailAddressesRadioRow,
.emailAddressesRadioRow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
}

.emailAddressesRadioRow i {
  color: var(--ptfg-text-muted);
  font-style: normal;
}

.commishEmailAddressesUnsubscribedNote {
  max-width: 700px;
  padding: 12px 16px;
  margin-bottom: 16px;
}

.commishEmailAddressesResultsCard {
  max-width: 700px;
}

.commishEmailAddressesResultsCard .card-block {
  padding: 18px 20px;
  font-size: 13px;
  line-height: 1.8;
}

/* -------------------- Duplicate Users Report -------------------- */

.commishDuplicateUsersCountCard {
  display: inline-block;
  width: fit-content;
  background: #fff;
  border: 1px solid var(--ptfg-border);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(11, 26, 103, 0.06);
  padding: 10px 20px;
  margin-bottom: 16px;
}

.commishDuplicateUsersCountLabel {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--ptfg-text-muted);
}

.commishDuplicateUsersCountValue {
  font-size: 24px;
  font-weight: 700;
  color: var(--ptfg-navy);
}

.commishDuplicateUsersIntroNote {
  max-width: 750px;
  padding: 12px 16px;
  margin-bottom: 16px;
}

.commishDuplicateUsersIntroNote ol {
  padding-left: 18px;
  margin-bottom: 12px;
}

.duplicateUsersTableWrap {
  display: block;
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--ptfg-border);
  border-radius: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.commishDuplicateUsersTable {
  width: auto;
  border-collapse: collapse;
  margin: 0;
}

.commishDuplicateUsersTable thead th {
  background: var(--ptfg-navy);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 6px 10px;
  border-color: var(--ptfg-navy-dark);
  text-align: left;
}

.commishDuplicateUsersTable tbody td {
  padding: 8px 10px;
  font-size: 12px;
  border-color: var(--ptfg-border);
}

.commishDuplicateUsersTable tbody tr:hover td {
  background-color: var(--ptfg-bg-tint);
}

.commishDuplicateUsersTable tr.duplicateUsersGroupSpacer td {
  background-color: var(--ptfg-navy-tint);
  border-color: #c7cfe6;
  height: 6px;
  padding: 0;
}

/* -------------------- Signup Attempts Report -------------------- */

.commishSignupAttemptsNote {
  max-width: 750px;
  padding: 12px 16px;
  margin-bottom: 14px;
}

.signupAttemptsTableWrap {
  display: block;
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--ptfg-border);
  border-radius: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.signupAttemptsTableWrap table {
  width: auto;
  margin: 0;
  border-collapse: collapse;
}

#signupAttemptsTable thead th {
  background: var(--ptfg-navy);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 5px 8px;
  border-color: var(--ptfg-navy-dark);
  text-align: center;
  white-space: nowrap;
}

#signupAttemptsTable tbody td {
  padding: 4px 8px;
  font-size: 12px;
  border-color: var(--ptfg-border);
  white-space: nowrap;
}

#signupAttemptsTable tbody tr.signupAttemptsRowOdd td {
  background-color: var(--ptfg-bg-row-shade);
}

#signupAttemptsTable tbody tr.signupAttemptsRowEven td {
  background-color: #fff;
}

#signupAttemptsTable tbody tr:hover td {
  background-color: var(--ptfg-bg-hover);
}

#signupAttemptsTable tbody tr.signupAttemptNotEntered td {
  background-color: var(--ptfg-bg-red-tint);
  color: var(--ptfg-red-text);
}

#signupAttemptsTable .actionLink form {
  margin: 0;
}

#signupAttemptsTable .actionLink button {
  background: none;
  border: none;
  padding: 0;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
}

#signupAttemptsTable .actionLink button:hover {
  text-decoration: underline;
}

#signupAttemptsTable .actionLink:nth-last-child(2) button {
  color: var(--ptfg-red);
}

#signupAttemptsTable .actionLink:last-child button {
  color: var(--ptfg-navy);
}

.commishSignupAttemptsPagination {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  font-size: 13px;
}

.commishSignupAttemptsPageInfo {
  color: var(--ptfg-text-muted);
}

