/* Commissioner's Corner, "League Setup" panel: a lead paragraph, a note, then titled sections (schedule options as
   cards, the two prices as tiles, menu paths as chips). The other two panels keep the classic look (panels.css). */
.ccSetup > p,
.ccSection > p {
  line-height: 1.6;
}

.ccSetup-lead {
  font-size: 16px;
  margin-bottom: 14px;
}

.ccNote {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 16px;
  margin-bottom: 8px;
  background: var(--ptfg-navy-hover);
  border-left: 4px solid var(--ptfg-navy);
  border-radius: 8px;
  line-height: 1.6;
}

.ccNote-icon {
  color: var(--ptfg-navy);
  font-size: 20px;
  line-height: 1.4;
}

.ccSection {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--ptfg-border);
}

.ccSection-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: bold;
  color: var(--ptfg-navy);
}

.ccSection-title .bi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ptfg-navy-light);
  font-size: 16px;
}

/* Schedule options: three cards side by side on a wide screen, stacked on a narrow one. */
.ccOptions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 12px;
}

.ccOption {
  --cc-accent: var(--ptfg-navy);
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--ptfg-border);
  border-top: 4px solid var(--cc-accent);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(20, 20, 40, 0.06);
}

.ccOption--blue { --cc-accent: var(--ptfg-navy); }
.ccOption--green { --cc-accent: var(--ptfg-green); }
.ccOption--red { --cc-accent: var(--ptfg-red); }

.ccOption-title {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 6px;
  font-weight: bold;
  color: var(--cc-accent);
}

.ccOption p {
  margin: 0;
  line-height: 1.55;
}

.ccHint {
  color: var(--ptfg-muted);
  margin-bottom: 0;
}

/* The two prices as tiles. */
.ccPrices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  max-width: 960px;
  margin-bottom: 14px;
}

.ccPrice {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #eaf7ee 0%, #f6fbf7 100%);
  border: 1px solid #cfe9d6;
  border-radius: 10px;
}

.ccPrice-amount {
  font-size: 30px;
  font-weight: bold;
  line-height: 1.1;
  color: var(--ptfg-green);
}

.ccPrice-label {
  color: var(--ptfg-body-gray);
}

/* A menu path ("Commish > PTFG Payment") as a chip. */
.ccPath {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--ptfg-navy-light);
  border-radius: 18px;  /* not 999px: a path that wraps on a phone would balloon into an oval */
  color: var(--ptfg-navy);
}

.ccPath .bi {
  font-size: 12px;
}

/* The red "please read this page" alert at the top: a gradient card with a glowing icon badge, a small "Please
   read" label, and each update as a white inset row with its own number. Bootstrap's .alert-danger still supplies
   the text color; the rest is set here. */
.ccAlert {
  padding: 18px 22px 20px;
  background: linear-gradient(135deg, #fdeceb 0%, #fff7f6 100%);
  border: 1px solid #f4c9c6;
  border-left: 6px solid var(--ptfg-red);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(195, 9, 0, 0.12);
  color: #7a1410;
}

.ccAlert-head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}

.ccAlert-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ptfg-red);
  color: #fff;
  font-size: 26px;
  box-shadow: 0 0 0 6px rgba(195, 9, 0, 0.15);
}

/* Sits just above the card, not inside it. */
.ccAlert-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--ptfg-red);
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ccAlert-lead {
  margin: 0;
  font-size: 17px;
  font-weight: bold;
  line-height: 1.4;
}

.ccAlert-list {
  list-style: none;
  counter-reset: ccAlert;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ccAlert-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #f4c9c6;
  border-radius: 10px;
  line-height: 1.55;
  color: #4a1511;
}

.ccAlert-list li::before {
  counter-increment: ccAlert;
  content: counter(ccAlert);
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ptfg-red);
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}

/* What's New and Reminders: each item is a card, numbered (What's New) or with an icon in its title (Reminders). */
.ccItems {
  --cc-item-accent: var(--ptfg-navy);
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: ccItem;
  display: grid;
  gap: 16px;
}

.ccItems--green { --cc-item-accent: var(--ptfg-green); }
.ccItems--red { --cc-item-accent: var(--ptfg-red); }

.ccItem {
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--ptfg-border);
  border-left: 5px solid var(--cc-item-accent);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(20, 20, 40, 0.06);
  line-height: 1.6;
}

.ccItem p {
  margin: 0 0 10px 0;
}

.ccItem > :last-child {
  margin-bottom: 0;
}

.ccItem-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px 0;
  font-size: 17px;
  font-weight: bold;
  color: var(--cc-item-accent);
}

.ccItems--numbered .ccItem-title::before {
  counter-increment: ccItem;
  content: counter(ccItem);
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cc-item-accent);
  color: #fff;
  font-size: 15px;
}

.ccItems:not(.ccItems--numbered) .ccItem-title .bi {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cc-item-accent);
  color: #fff;
  font-size: 15px;
}

/* A short list of key points inside an item, with a check mark in the item's accent color. */
.ccBullets {
  list-style: none;
  margin: 0 0 10px 0;
  padding: 0;
}

.ccBullets li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 6px;
}

.ccBullets li::before {
  content: "\2713";
  position: absolute;
  left: 4px;
  font-weight: bold;
  color: var(--cc-item-accent);
}

/* A red variant of the shaded note, for the one warning that must not be missed. */
.ccNote--red {
  margin: 12px 0 0 0;
  background: #fdeceb;
  border-left-color: var(--ptfg-red);
  color: #7a1410;
}

.ccNote--red .ccNote-icon {
  color: var(--ptfg-red);
}

.ccPath--onRed {
  margin-top: 8px;
  background: #fff;
  color: var(--ptfg-red);
}

/* The closing "bumps and hiccups" message under the list of changes: a warm gold card with a heart badge, so it reads
   as a personal note rather than another item. */
.ccPatience {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 18px 22px;
  background: linear-gradient(135deg, #fff4d6 0%, #fffbee 100%);
  border: 1px solid #f0d58a;
  border-left: 6px solid #d9930d;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(217, 147, 13, 0.18);
  color: #5a3d05;
  line-height: 1.6;
}

.ccPatience-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #d9930d;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 0 0 6px rgba(217, 147, 13, 0.2);
}

.ccPatience-title {
  margin: 2px 0 8px 0;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.3;
  color: #8a5a00;
}

.ccPatience p {
  margin: 0 0 8px 0;
}

.ccPatience-thanks {
  margin-bottom: 0;
  font-size: 16px;
  font-weight: bold;
  color: #8a5a00;
}

/* On a phone the badge and the bold lead compete for width, so both shrink and the rows tighten. */
@media (max-width: 575.98px) {
  .ccAlert {
    padding: 14px 14px 16px;
  }

  .ccAlert-head {
    gap: 12px;
  }

  .ccAlert-icon {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .ccAlert-lead {
    font-size: 15px;
  }

  .ccAlert-list li {
    gap: 10px;
    padding: 10px 12px;
  }

  .ccPatience {
    gap: 12px;
    padding: 14px;
  }

  .ccPatience-icon {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .ccPatience-title {
    font-size: 16px;
  }
}
