.submission-form select {
  width: 100%;
  font: 500 13px Manrope, sans-serif;
  border: 1px solid #dfe5ec;
  border-radius: 5px;
  padding: 10px;
  background: #fff;
  color: var(--ink);
  outline-color: var(--blue);
}

.candidate {
  width: 100%;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.candidate > span:last-child {
  display: grid;
  gap: 4px;
}

.candidate > span:last-child > small {
  color: var(--muted);
  max-width: 170px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.candidate:hover {
  border-color: #b9c9ef;
  transform: translateY(-1px);
}

.empty-state { color: var(--muted); }
[hidden] { display: none !important; }
.modal-video { width: 100%; border: 0; cursor: pointer; }
.social-post-link{color:#3267dc;font-weight:700;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
.modal-social-link{min-height:220px;margin:20px 0;border-radius:7px;background:#f4f8ff;border:1px solid #cddcfa;color:#2f63d6;display:grid;place-items:center;text-align:center;padding:24px;font:700 16px Manrope,sans-serif;text-decoration:none}
.modal-social-link:hover{background:#eaf1ff}
.status.REVIEW { background: #eaf7f1; color: var(--green); }
.avatar { border: 0; cursor: pointer; }
.profile-control { position: relative; }
.profile-menu { position: absolute; z-index: 20; top: calc(100% + 10px); right: 0; width: 230px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 14px 32px #14203320; }
.profile-menu-label { margin: 0 0 5px; color: var(--muted); font: 500 10px 'DM Mono', monospace; letter-spacing: .05em; text-transform: uppercase; }
.profile-menu strong { display: block; color: var(--ink); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-menu span { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.profile-menu-divider { height: 1px; margin: 13px 0 9px; background: var(--line); }
.profile-menu button { width: 100%; border: 0; border-radius: 5px; padding: 9px 10px; background: #fff; color: #a74445; text-align: left; font: 700 12px Manrope; cursor: pointer; }
.profile-menu button:hover { background: #fbecec; }

.cookie-consent {
  position: fixed;
  z-index: 30;
  right: 20px;
  bottom: 20px;
  width: min(520px, calc(100% - 40px));
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 45px #1420332b;
}
.cookie-consent.hidden { display: none; }
.cookie-consent strong { display: block; font-size: 14px; color: var(--ink); margin-bottom: 5px; }
.cookie-consent p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.cookie-consent a { color: var(--blue); }
.cookie-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.cookie-actions button { min-height: 40px; border: 0; border-radius: 6px; padding: 0 14px; font: 700 12px Manrope; cursor: pointer; }
.cookie-actions > button:first-child { background: #eef2f8; color: #56657a; }
.cookie-actions .button { background: var(--blue); color: #fff; }

@media (max-width: 800px) {
  .submission-form select {
    font-size: 16px;
    padding: 13px;
  }
}

@media (max-width: 600px) {
  .cookie-consent { right: 12px; bottom: 12px; width: calc(100% - 24px); display: block; padding: 17px; }
  .cookie-actions { margin-top: 14px; }
  .cookie-actions button { flex: 1; }
}

.text-button{appearance:none;border:0;background:transparent;color:#3267dc;font:600 13px Manrope,sans-serif;padding:14px 0 0;cursor:pointer;text-align:left}.text-button:disabled{opacity:.6;cursor:wait}

/* Review queue: preserve each participant's original video framing. */
.video-frame { background: #0a1119; }
.video-frame .portal-video { width: 100%; height: 100%; display: block; object-fit: contain !important; object-position: center center !important; background: #0a1119; }
.video-frame .portal-video.portrait-video { width: auto !important; max-width: 100% !important; height: 100% !important; margin: 0 auto; }

/* Simple carousel controls for the administrative review queue. */
.review-heading-actions { display: flex; align-items: center; gap: 10px; }
.review-carousel { display: flex; align-items: center; gap: 4px; border: 1px solid #e0e7f0; background: #fff; border-radius: 6px; padding: 3px; }
.review-carousel button { width: 30px; height: 30px; border: 0; border-radius: 4px; background: #f3f6fb; color: #3c5578; font: 800 16px Manrope, sans-serif; line-height: 1; cursor: pointer; }
.review-carousel button:hover:not(:disabled) { background: #e7eeff; color: var(--blue); }
.review-carousel button:disabled { opacity: .42; cursor: not-allowed; }
.review-carousel span { min-width: 42px; color: #728097; text-align: center; font: 600 10px 'DM Mono', monospace; }

/* Keep destructive and primary actions separated on narrow panels and dialogs. */
.review-actions { display: grid; grid-template-columns: minmax(120px, .75fr) minmax(180px, 1.25fr); gap: 12px; padding-top: 4px; }
.review-actions .button { min-width: 0; padding: 0 10px; white-space: nowrap; }
.confirm-actions { gap: 12px; align-items: center; }
.confirm-actions .button { position: static; min-width: 100px; white-space: nowrap; }

/* The approved campaign key visual replaces the former branding placeholder. */
.campaign-artwork { height: 156px; border: 1px solid #dce5f1; border-radius: 7px; background: #f6f8fc; display: grid; place-items: center; padding: 12px; overflow: hidden; }
.campaign-artwork img { display: block; width: auto !important; height: 120px !important; max-width: 100% !important; max-height: 100% !important; object-fit: contain; }

/* Participant details use the same secure inline player as the review screen. */
video.modal-video.portal-video { width: 100%; height: 260px; margin: 20px 0; padding: 0; border: 0; display: block; object-fit: contain !important; object-position: center center !important; background: #0a1119; }
video.modal-video.portal-video.portrait-video { width: auto !important; max-width: 100% !important; height: 260px !important; margin-left: auto; margin-right: auto; }

@media (max-width: 800px) {
  .review-heading-actions { width: 100%; justify-content: space-between; }
  .review-actions { grid-template-columns: 1fr; }
  .review-actions .button { min-height: 42px; }
  video.modal-video.portal-video { height: 220px; }
  .modal-social-link{min-height:160px;font-size:14px}
}

/* Cash Credit public registration theme. */
:root {
  --cc-green: #78be20;
  --cc-blue: #00a9e0;
  --cc-dark-blue: #005a8b;
  --cc-white: #ffffff;
  --cc-background: #e4f4ef;
  --cc-text: #005a8b;
  --cc-border: #b8dfe5;
}
.public-page,
.public-page *,
.admin-gate,
.admin-gate * { font-family: Roboto, Arial, sans-serif; }
.public-page {
  background:
    radial-gradient(45% 52% at -4% 98%, rgba(31, 196, 101, .82) 0%, rgba(78, 214, 170, .42) 31%, rgba(78, 214, 170, 0) 69%),
    radial-gradient(28% 37% at 96% 16%, rgba(0, 213, 138, .58) 0%, rgba(0, 169, 224, .28) 34%, rgba(0, 169, 224, 0) 72%),
    radial-gradient(48% 55% at 72% 42%, rgba(151, 224, 244, .52) 0%, rgba(151, 224, 244, 0) 72%),
    linear-gradient(112deg, #d9f4df 0%, #c9eff1 47%, #bfe8f5 100%);
  color: var(--cc-text);
}
.public-campaign {
  width: min(100% - 48px, 680px);
  min-height: auto;
  margin: 28px 0;
  padding: 30px 38px 24px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 90, 139, .15);
}
.public-header .cash-logo { width: 175px; }
.campaign-kicker { color: var(--cc-dark-blue); font: 700 12px Roboto, Arial, sans-serif; letter-spacing: .1em; }
.public-page h1 { color: var(--cc-dark-blue); font-weight: 900; }
.public-page h1 em { color: var(--cc-green); }
.public-lead { color: #275f75; font-size: 18px; }
.campaign-video { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 26px 0; overflow: hidden; border-radius: 12px; background: #d9eff4; box-shadow: 0 10px 24px rgba(0, 90, 139, .16); }
.campaign-video iframe, .campaign-video video { width: 100%; height: 100%; border: 0; display: block; background: #071c25; }
.campaign-video video { object-fit: contain; }
.prize-highlight { border-left-color: var(--cc-green); background: #f2fbf5; }
.prize-highlight span { color: var(--cc-dark-blue); font: 700 11px Roboto, Arial, sans-serif; letter-spacing: .06em; }
.prize-highlight strong { color: var(--cc-dark-blue); font-weight: 900; }
.prize-highlight small { color: #426c7b; }
.public-deadline { color: #275f75; font-size: 14px; }
.public-cta { background: var(--cc-blue); box-shadow: 0 7px 15px rgba(0, 169, 224, .26); font-weight: 700; }
.public-cta:hover { background: #0093c5; }
.public-hint { color: #2f6476; font-size: 13px; line-height: 1.5; }
.submission-form { max-width: 540px; padding: 30px; border: 1px solid var(--cc-border); border-radius: 14px; background: var(--cc-white); box-shadow: 0 12px 28px rgba(0, 90, 139, .08); }
.form-step.active { gap: 20px; }
.submission-form label { color: #18566f; font-size: 14px; gap: 8px; }
.submission-form input,.submission-form textarea,.submission-form select { border-color: #acd7df; font-family: Roboto, Arial, sans-serif; font-size: 16px; }
.submission-form input:focus,.submission-form textarea:focus,.submission-form select:focus { border-color: var(--cc-blue); box-shadow: 0 0 0 3px rgba(0, 169, 224, .16); }
.submission-form .field-invalid { border-color: #c55050 !important; box-shadow: 0 0 0 3px rgba(197, 80, 80, .14); }
.submission-form .field-hint { color: #557485; font-size: 12px; font-weight: 400; line-height: 1.4; }
.form-error { margin: 0 0 14px !important; font-size: 14px !important; line-height: 1.45; }
.entry-method:has(input:checked) { border-color: var(--cc-blue); background: #edfaff; }
.entry-method small,.form-help { font-size: 13px; line-height: 1.55; }
#social-entry { display: grid; gap: 18px; padding: 4px 0 8px; }
#social-entry .form-help { margin: 0; max-width: 500px; }
.upload-field { border-color: var(--cc-blue); background: #f2fbff; color: var(--cc-dark-blue) !important; }
.upload-meter i { background: var(--cc-green); }
.check { font-size: 13px !important; color: #285e72 !important; }
.check a,.privacy-link a { color: var(--cc-dark-blue); font-weight: 700; text-decoration-thickness: 1px; }
.privacy-link { color: #315f72; font-size: 13px; line-height: 1.5; }
.public-footer { gap: 14px 22px; font-size: 12px; color: #3e6e7d; }
.public-footer a,.return-link { color: var(--cc-dark-blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.thank-you h2 { color: var(--cc-dark-blue); }
.return-link { display: inline-flex; min-height: 44px; align-items: center; }

@media (max-width: 800px) {
  .public-page { align-items: stretch; background-position: left bottom, right top, center, center; }
  .public-campaign { width: 100%; min-height: 100vh; margin: 0; padding: 24px 21px; border: 0; border-radius: 0; background: rgba(255, 255, 255, .87); box-shadow: none; }
  .public-header .cash-logo { width: 154px; }
  .public-hero { padding: 40px 0 26px; }
  .public-page h1 { font-size: clamp(36px, 10vw, 43px); line-height: 1.04; }
  .public-lead { font-size: 16px; line-height: 1.5; }
  .campaign-video { margin: 22px 0; border-radius: 10px; }
  .prize-highlight { grid-template-columns: auto 1fr; gap: 4px 12px; padding: 16px; }
  .prize-highlight span { grid-column: 1; grid-row: 1; font-size: 11px; }
  .prize-highlight strong { grid-column: 2; grid-row: 1; font-size: 27px; }
  .prize-highlight small { grid-column: 1 / -1; grid-row: 2; font-size: 12px; }
  .public-deadline { font-size: 15px; }
  .public-hint { font-size: 13px; }
  .submission-form { margin: 0; padding: 24px 18px; border-radius: 12px; }
  .form-step.active { gap: 22px; }
  .submission-form label { font-size: 15px; }
  .submission-form input,.submission-form textarea,.submission-form select { font-size: 16px; }
  .entry-method small,.form-help { font-size: 14px; line-height: 1.6; }
  #social-entry { gap: 20px; padding: 6px 0 10px; }
  .form-progress span,.campaign-kicker { font-size: 12px; }
  .public-footer { padding-top: 20px; font-size: 13px; }
  .public-footer span { width: 100%; margin-left: 0; }
}

@media (max-width: 390px) {
  .public-campaign { padding-left: 17px; padding-right: 17px; }
  .public-page h1 { font-size: 35px; }
  .prize-highlight strong { font-size: 25px; }
  .submission-form { padding: 22px 15px; }
}
