/* ========================================================================== 
   Eventsuite - Registration Status Pages
   Shared by registration_success.php and registration_closed.php
   Designed to sit on top of registration-form.css so both pages follow the
   same blue / purple public registration visual system without duplicating
   the base theme.
   ========================================================================== */

body.registration-status-page {
  min-height: 100vh;
  padding: 0;
}

.registration-status-wrap {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 48px;
}

/* Event overview ---------------------------------------------------------- */
.status-event-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 22px 24px;
  margin-bottom: 22px;
  border-radius: 22px;
}

.status-logo-box {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  border: 1px solid #e4e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(42, 47, 91, .05);
}

.status-logo-box img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
}

.status-event-copy {
  min-width: 0;
}

.status-kicker {
  margin: 0 0 5px;
  color: #8590a6;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.status-event-title {
  margin: 0;
  color: #202d46;
  font-size: clamp(22px, 2.7vw, 32px);
  font-weight: 850;
  line-height: 1.17;
  letter-spacing: -.025em;
}

.status-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 14px;
  color: #66728a;
  font-size: 12.5px;
}

.status-event-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.status-event-meta-item svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: #5d6ce8;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-content: center;
  min-height: 36px;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.status-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.status-pill-success {
  color: #14724b;
  border: 1px solid #b8e8d2;
  background: #edf9f3;
}

.status-pill-success .status-pill-dot {
  background: #22a66b;
  box-shadow: 0 0 0 4px rgba(34, 166, 107, .11);
}

.status-pill-closed {
  color: #b42318;
  border: 1px solid #f4c8c4;
  background: #fff3f2;
}

.status-pill-closed .status-pill-dot {
  background: #ef5350;
  box-shadow: 0 0 0 4px rgba(239, 83, 80, .10);
}

/* Main status shell ------------------------------------------------------- */
.status-shell {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .66);
  border-radius: 24px;
  background: rgba(255, 255, 255, .985);
  box-shadow: var(--sa-shadow);
}

.status-shell-head {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 24px;
  color: #fff;
  background: linear-gradient(100deg, #7edcff 0%, #6ebdfb 33%, #6975ef 100%);
}

.status-shell-head-left {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.status-head-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #5966df;
  box-shadow: 0 8px 20px rgba(68, 74, 163, .16);
}

.status-head-icon svg {
  width: 21px;
  height: 21px;
}

.status-shell-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.01em;
}

.status-shell-head p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, .83);
  font-size: 11.5px;
  line-height: 1.45;
}

.status-head-progress {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
}

.status-head-progress svg {
  width: 14px;
  height: 14px;
}

.status-body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
}

.status-primary,
.status-secondary {
  padding: 36px;
}

.status-primary {
  border-right: 1px solid #e8ecf3;
  background: #fff;
}

.status-secondary {
  background: linear-gradient(180deg, #fbfcff 0%, #f7f9ff 100%);
}

.status-result-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 29px;
  padding: 6px 10px;
  margin-bottom: 16px;
  border-radius: 999px;
  color: #5865dc;
  background: #f0f2ff;
  border: 1px solid #dfe3ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.status-result-badge::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #72d3ff, #5b67f1);
}

.status-result-badge.closed {
  color: #b45309;
  border-color: #f5dfae;
  background: #fff9ed;
}

.status-result-badge.closed::before {
  background: #d7a23b;
}

.status-title {
  max-width: 710px;
  margin: 0;
  color: #293750;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.status-copy {
  max-width: 720px;
  margin: 16px 0 0;
  color: #6c778d;
  font-size: 14px;
  line-height: 1.8;
}

.status-copy strong {
  color: #33405a;
  font-weight: 800;
}

/* Compact information cards --------------------------------------------- */
.status-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.status-info-card {
  min-height: 96px;
  padding: 15px 16px;
  border: 1px solid #e2e7f0;
  border-radius: 14px;
  background: #fbfcff;
}

.status-info-label {
  margin: 0;
  color: #929bad;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.status-info-value {
  margin: 7px 0 0;
  color: #33405b;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  word-break: break-word;
}

.status-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 25px;
  padding: 15px 16px;
  border: 1px solid #f0d79e;
  border-radius: 14px;
  background: #fff9ec;
  color: #7b5914;
  font-size: 12.5px;
  line-height: 1.65;
}

.status-alert svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 1px;
  color: #c38a1d;
}

.status-alert strong {
  color: #68490d;
}

/* Secondary panel / next steps ------------------------------------------ */
.status-side-title {
  margin: 0;
  color: #293750;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -.02em;
}

.status-side-copy {
  margin: 7px 0 0;
  color: #7b8598;
  font-size: 12.5px;
  line-height: 1.65;
}

.status-steps {
  display: grid;
  gap: 11px;
  margin-top: 21px;
}

.status-step {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid #e1e6ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(42, 47, 91, .04);
}

.status-step-no {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #5967e7;
  background: #eef2ff;
  border: 1px solid #d9e0ff;
  font-size: 13px;
  font-weight: 900;
}

.status-step strong {
  display: block;
  margin: 1px 0 3px;
  color: #36435c;
  font-size: 12.5px;
  font-weight: 850;
}

.status-step p {
  margin: 0;
  color: #7b8699;
  font-size: 11.5px;
  line-height: 1.55;
}

.status-actions {
  margin-top: 24px;
  padding-top: 21px;
  border-top: 1px solid #e5e9f1;
}

.status-actions-label {
  margin: 0 0 11px;
  color: #8791a5;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.status-action-list {
  display: grid;
  gap: 9px;
}

.status-action-list .sa-btn {
  width: 100%;
  min-height: 45px;
  justify-content: center;
}

.status-action-list .sa-btn svg {
  width: 16px;
  height: 16px;
}

.status-footer-note {
  margin: 15px auto 0;
  max-width: 320px;
  color: #939caf;
  font-size: 10.5px;
  line-height: 1.55;
  text-align: center;
}

/* Closed-date callout ---------------------------------------------------- */
.status-closed-date {
  margin-top: 25px;
  padding: 18px;
  border: 1px solid #eed9a6;
  border-radius: 15px;
  background: linear-gradient(180deg, #fffaf0 0%, #fff7e6 100%);
}

.status-closed-date-label {
  margin: 0;
  color: #95651a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.status-closed-date-value {
  margin: 7px 0 0;
  color: #8a4d12;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.5;
}

.status-contact {
  margin-top: 20px;
  color: #7b8598;
  font-size: 12px;
  line-height: 1.65;
}

.status-contact strong {
  color: #536078;
  font-weight: 800;
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 930px) {
  .status-event-card {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .status-event-card > .status-pill {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .status-body {
    grid-template-columns: 1fr;
  }

  .status-primary {
    border-right: 0;
    border-bottom: 1px solid #e8ecf3;
  }
}

@media (max-width: 650px) {
  .registration-status-wrap {
    width: min(100% - 22px, 1160px);
    padding: 18px 0 28px;
  }

  .status-event-card {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 18px;
    border-radius: 18px;
  }

  .status-logo-box {
    justify-self: stretch;
  }

  .status-logo-box img {
    max-height: 46px;
  }

  .status-event-card > .status-pill {
    grid-column: auto;
  }

  .status-shell {
    border-radius: 18px;
  }

  .status-shell-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 18px;
  }

  .status-head-progress {
    margin-left: 55px;
  }

  .status-primary,
  .status-secondary {
    padding: 25px 18px;
  }

  .status-title {
    font-size: 29px;
  }

  .status-info-grid {
    grid-template-columns: 1fr;
  }

  .status-event-meta {
    flex-direction: column;
    gap: 8px;
  }
}
