/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

:root {
  --bg: #f5f7f8;
  --panel: #ffffff;
  --text: #172026;
  --muted: #60707c;
  --line: #d8e0e5;
  --primary: #146c5f;
  --primary-dark: #0d4f46;
  --danger: #b3261e;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--primary);
}

.page-shell {
  width: min(100%, 1680px);
  margin: 0 auto;
  padding: 24px;
}

.admin-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 0 24px;
  background: #102027;
  color: #fff;
}

.admin-nav a,
.admin-nav .link-button {
  color: #fff;
}

.brand {
  font-weight: 700;
  text-decoration: none;
}

.admin-nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.link-button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
}

.flash {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.flash-notice {
  border-color: #9bd5c8;
  background: #eaf8f5;
}

.flash-alert,
.error-panel {
  border-color: #efb4ad;
  background: #fff1ef;
}

.error-panel {
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: 6px;
}

.public-form,
.auth-panel,
.admin-page {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.public-form,
.auth-panel,
.narrow {
  max-width: 900px;
  margin: 0 auto;
}

.page-heading {
  margin-bottom: 20px;
}

.page-heading.inline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.page-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.muted,
.page-heading p {
  color: var(--muted);
}

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

.form-grid.compact {
  grid-template-columns: minmax(0, 1fr);
}

label,
fieldset {
  display: grid;
  gap: 6px;
}

label span,
legend {
  font-size: 0.82rem;
  font-weight: 700;
  color: #344650;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--text);
  font: inherit;
}

textarea {
  resize: vertical;
}

.full-span,
.form-actions {
  grid-column: 1 / -1;
}

.form-actions,
.row-actions,
.toolbar,
.toolbar-form,
.stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.row-actions {
  flex-wrap: nowrap;
}

.toolbar {
  justify-content: space-between;
  margin-bottom: 18px;
}

.toolbar-form {
  flex: 0 1 auto;
}

.toolbar-form input[type="search"] {
  width: 320px;
  max-width: 360px;
}

.primary-button,
.secondary-button,
.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  justify-self: start;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
}

.primary-button {
  background: var(--primary);
  color: #fff;
}

.primary-button:hover {
  background: var(--primary-dark);
}

.secondary-button {
  border-color: var(--line);
  background: #fff;
  color: var(--text);
}

.danger-button {
  background: var(--danger);
  color: #fff;
}

.small {
  min-height: 30px;
  padding: 5px 8px;
  font-size: 0.85rem;
}

.data-grid {
  overflow-x: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.grid-header,
.grid-row {
  display: grid;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.grid-header {
  background: #eef3f5;
  color: #455760;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.grid-row:last-child {
  border-bottom: 0;
}

.grid-row:hover {
  background: #fafcfc;
}

.conversion-warning-row,
.conversion-warning-row:hover {
  background: #fff7ed;
}

.submissions-grid {
  grid-template-columns: minmax(125px, 0.9fr) minmax(145px, 0.85fr) 135px minmax(180px, 1.25fr) 105px 135px 82px;
}

.song-source a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
}

.icon-text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  padding: 5px 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.icon-button:hover,
.icon-text-button:hover {
  background: #eef3f5;
}

.upload-action-button {
  border-color: #7c3aed;
  background: #f3e8ff;
  color: #5b21b6;
}

.upload-action-button:hover {
  background: #e9d5ff;
}

.print-action-button {
  border-color: #2563eb;
  background: #dbeafe;
  color: #1d4ed8;
}

.print-action-button:hover {
  background: #bfdbfe;
}

.clear-action-button {
  border-color: var(--danger);
  background: #fff1ef;
  color: var(--danger);
}

.clear-action-button:hover {
  background: #ffe0dc;
}

.danger-icon-button {
  color: var(--danger);
}

.warning-icon-button {
  border-color: #f97316;
  background: #ffedd5;
  color: #9a3412;
}

.warning-icon-button:hover {
  background: #fed7aa;
}

.conversion-error-panel {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid #fdba74;
  border-radius: 8px;
  background: #fff7ed;
  color: #7c2d12;
}

.conversion-error-panel h2,
.conversion-error-panel p {
  margin: 0;
}

.conversion-error-panel p {
  white-space: pre-wrap;
}

.file-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
}

.file-summary span {
  font-weight: 700;
}

.icon-button svg,
.icon-text-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.row-actions form {
  margin: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e6ecef;
  color: #344650;
  font-size: 0.8rem;
  font-weight: 700;
}

.status-pending,
.status-processing {
  background: #fff7ed;
  color: #9a3412;
}

.status-processed {
  background: #eaf8f5;
  color: #146c5f;
}

.status-failed {
  background: #fff1ef;
  color: var(--danger);
}

.auditionees-grid {
  grid-template-columns: 76px minmax(120px, 1fr) 54px minmax(140px, 0.8fr) minmax(300px, 0.9fr);
}

.staff-grid {
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 1.5fr) 140px 250px;
}

.preview-grid {
  grid-template-columns: 76px minmax(120px, 1fr) 54px minmax(140px, 0.8fr) minmax(160px, 1fr);
}

.conversions-grid {
  grid-template-columns: minmax(150px, 1fr) 140px 130px minmax(220px, 1.2fr) minmax(180px, 1fr) 140px;
}

.invalid {
  background: #fff1ef;
}

.warning {
  background: #fff7ed;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thumb {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  object-fit: cover;
}

.photo-cell {
  position: relative;
  display: inline-flex;
  width: 72px;
  height: 72px;
}

.photo-cell form {
  margin: 0;
}

.photo-remove-button {
  position: absolute;
  top: 4px;
  right: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgb(255 255 255 / 0.85);
  border-radius: 999px;
  background: rgb(179 38 30 / 0.92);
  color: #fff;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.2);
}

.photo-remove-button:hover {
  background: var(--danger);
}

.photo-remove-button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.photo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 6px;
  background: #e6ecef;
  color: var(--muted);
  font-size: 0.75rem;
}

.photo-actions {
  align-items: center;
  gap: 8px;
}

.photo-upload-form {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
}

.upload-status {
  max-width: 68px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.print-card-shell {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.print-toolbar {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.a6-page {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 105mm;
  height: 148mm;
  margin: 0 auto;
  padding: 8mm;
  background: #fff;
  color: #111;
  box-sizing: border-box;
  box-shadow: 0 8px 28px rgb(0 0 0 / 0.16);
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 6mm;
  width: 100%;
  height: 100%;
}

.card-photo-section {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-photo {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.card-no-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #9ca3af;
  font-size: 16px;
}

.card-info-section {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 2mm;
}

.card-name {
  margin: 0;
  color: #111827;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.card-info-line {
  margin: 0;
  color: #374151;
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

.card-label {
  color: #6b7280;
  font-weight: 600;
}

.bulk-panel {
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.bulk-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.bulk-panel-header.is-open {
  cursor: default;
}

.bulk-panel-header h2 {
  margin: 0;
}

.bulk-panel-header button {
  cursor: pointer;
}

.bulk-panel-body {
  margin-top: 16px;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-line input {
  width: auto;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-row input {
  width: auto;
}

.permission-list {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
}

.settings-section {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.settings-logo-preview {
  max-width: min(100%, 420px);
  max-height: 180px;
  object-fit: contain;
}

.danger-zone {
  border-top-color: #efb4ad;
}

.reset-warning-box {
  padding: 14px 18px;
  border: 1px solid #efb4ad;
  border-radius: 8px;
  background: #fff1ef;
}

.reset-warning-box p {
  margin: 0 0 6px;
}

.reset-warning-box p:last-child {
  margin-bottom: 0;
}

.reset-warning-title {
  font-weight: 700;
  color: var(--danger) !important;
}

.reset-backup-note {
  padding: 10px 16px;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  background: #fffbeb;
  color: #92400e;
}

@media (max-width: 900px) {
  .page-shell,
  .admin-nav {
    padding: 16px;
  }

  .admin-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-heading.inline {
    flex-direction: column;
  }

  .admin-page {
    padding: 16px;
  }

  .toolbar,
  .toolbar-form {
    width: 100%;
  }

  .toolbar-form {
    align-items: stretch;
  }

  .toolbar-form input,
  .toolbar-form select,
  .toolbar-form .primary-button,
  .toolbar-form .secondary-button {
    flex: 1 1 100%;
    min-width: 0;
  }

  .toolbar-form input[type="search"] {
    width: 100%;
    max-width: none;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .grid-header {
    display: none;
  }

  .grid-row {
    min-width: 0;
    grid-template-columns: 1fr;
  }

  .auditionees-grid.grid-row {
    align-items: start;
    gap: 8px;
  }

  .photo-actions {
    flex-wrap: wrap;
  }

  .photo-upload-form {
    max-width: 100%;
  }

  .upload-status {
    max-width: 150px;
  }
}

@media print {
  @page {
    size: A6 portrait;
    margin: 0;
  }

  body {
    background: #fff;
  }

  .admin-nav,
  .flash,
  .print-toolbar {
    display: none !important;
  }

  .page-shell {
    width: auto;
    margin: 0;
    padding: 0;
  }

  .print-card-shell {
    display: block;
  }

  .a6-page {
    width: 105mm;
    height: 148mm;
    margin: 0;
    padding: 8mm;
    box-shadow: none;
  }
}

.submission-page {
  min-height: calc(100vh - 48px);
  margin: -24px;
  padding: 24px 16px 48px;
  background: linear-gradient(to bottom, #f9fafb, #f3f4f6);
  color: #111827;
  font-family: Arial, Helvetica, sans-serif;
}

.submission-container {
  max-width: 672px;
  margin: 0 auto;
}

.submission-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 32px;
}

.players-logo {
  width: 33.333%;
  max-width: 160px;
  object-fit: contain;
}

.show-logo {
  width: 66.667%;
  max-width: 360px;
  object-fit: contain;
}

.submission-intro {
  margin-bottom: 32px;
  text-align: center;
}

.submission-intro h1 {
  margin: 0 0 8px;
  min-height: 48px;
  color: #111827;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
}

.submission-title {
  margin-bottom: 8px;
  color: #111827;
  font-size: 1.5rem;
  line-height: 2rem;
}

.submission-help {
  margin-bottom: 0;
  color: #374151;
  font-size: 1rem;
  line-height: 1.5rem;
}

.blue-link {
  color: #3b82f6;
  text-decoration: underline;
}

.submission-card {
  padding: 32px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.submission-unavailable {
  padding: 32px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  text-align: center;
}

.submission-unavailable p {
  margin: 0;
  color: #374151;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
}

.submission-success {
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  background: #f0fdf4;
}

.submission-success p {
  margin: 0;
  color: #166534;
  font-weight: 500;
}

.next-submission-form {
  display: grid;
  gap: 24px;
}

.field-block {
  display: block;
}

.next-label,
.next-section-label {
  display: block;
  margin-bottom: 4px;
  color: #374151;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
}

.next-section-label {
  margin-top: 0;
  margin-bottom: 8px;
}

.next-small-label {
  display: block;
  margin-bottom: 4px;
  color: #374151;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
}

.required {
  color: #ef4444;
}

.next-input {
  width: 100%;
  padding: 8px 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  color: #111827;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.next-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgb(59 130 246 / 0.25);
}

.field-hint {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 8px 0 0;
  color: #6b7280;
  font-size: 0.75rem;
  line-height: 1rem;
}

.field-hint.align-start {
  align-items: flex-start;
}

.hint-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border: 1.5px solid #f59e0b;
  border-radius: 999px;
  color: #f59e0b;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

.date-time-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.time-field {
  margin-top: 0;
}

.time-selects {
  display: flex;
  gap: 8px;
}

.time-hour-select,
.time-minute-select {
  flex: 1 1 82px;
}

.period-select {
  flex: 1 1 104px;
}

.field-error {
  margin: 8px 0 0;
  color: #b91c1c;
  font-size: 0.75rem;
  line-height: 1rem;
}

.form-section {
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.track-heading {
  margin: 0 0 4px;
  color: #111827;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 500;
}

.track-heading.no-margin {
  margin-bottom: 0;
}

.track-copy {
  margin: 0 0 16px;
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.range-copy {
  margin-top: 4px;
}

.range-copy span {
  font-size: 0.75rem;
}

.media-choice-grid {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.media-choice {
  display: block;
  flex: 1;
  cursor: pointer;
}

.media-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.media-choice-content {
  display: block;
  padding: 16px 24px;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #374151;
  text-align: center;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.media-choice:hover .media-choice-content {
  border-color: #9ca3af;
}

.media-radio:checked + .media-choice-content {
  border-color: #3b82f6;
  background: #eff6ff;
  color: #1d4ed8;
}

.media-icon {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto 8px;
}

.media-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.media-title {
  display: block;
  font-weight: 600;
}

.media-subtitle {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  opacity: 0.75;
}

.media-field + .media-field {
  margin-top: 16px;
}

.file-input::file-selector-button {
  margin-right: 16px;
  padding: 8px 16px;
  border: 0;
  border-radius: 6px;
  background: #eff6ff;
  color: #1d4ed8;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
}

.file-input:hover::file-selector-button {
  background: #dbeafe;
}

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

.submit-zone {
  padding-top: 16px;
}

.next-submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 24px;
  border: 0;
  border-radius: 6px;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.next-submit-button:hover {
  background: #1d4ed8;
}

.next-submit-button:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

.next-submit-button:focus {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgb(59 130 246 / 0.8);
}

.upload-progress {
  margin-top: 12px;
}

.upload-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
  color: #4b5563;
  font-size: 0.75rem;
  line-height: 1rem;
}

.upload-progress-track {
  width: 100%;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e7eb;
}

.upload-progress-bar {
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: #2563eb;
  transition: width 0.2s ease;
}

.submit-another-button {
  display: block;
  margin: 14px auto 0;
  border: 0;
  background: transparent;
  color: #2563eb;
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: underline;
}

.submit-another-button:hover {
  color: #1d4ed8;
}

.submission-upload-error {
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid #fecaca;
  border-radius: 6px;
  background: #fef2f2;
}

.submission-upload-error p {
  margin: 0;
  color: #991b1b;
  font-weight: 500;
}

.submission-footer,
.submission-admin-link {
  margin-top: 24px;
  text-align: center;
}

.submission-footer p {
  margin: 0;
  color: #374151;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.submission-admin-link a {
  color: #4b5563;
  font-size: 0.75rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.submission-admin-link a:hover {
  color: #111827;
}

.submission-page .error-panel {
  margin-bottom: 24px;
  padding: 16px;
  border-color: #fecaca;
  border-radius: 6px;
  background: #fef2f2;
  color: #991b1b;
}

@media (max-width: 768px) {
  .players-logo {
    width: 50%;
  }

  .show-logo {
    width: 83.333%;
  }

  .submission-card {
    padding: 24px;
  }

  .date-time-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .submission-page {
    margin: -16px;
    padding: 24px 16px 40px;
  }

  .submission-intro h1 {
    min-height: 20px;
  }

  .media-choice-grid,
  .range-grid {
    grid-template-columns: 1fr;
    display: grid;
  }
}
