
body {
  background-color: var(--background-color, #000);
  color: #00ffff;
  font-family: 'Share Tech Mono', monospace;
  padding: 2rem;
  
}

h2 {
  font-family: 'Share Tech Mono', monospace;
  font-size: 22px;
  margin-left: 27px;
  justify-content: center;
  text-align: center;
  color: #397eff;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px solid #040404;

}

h3 {
  font-size: 20px;
  color: #bababa;
}

h5 {
  font-size: 16px;
  color: #b5b5b5;
}


.ascii-header {
  line-height: 1.3;
  text-align: left;
  font-family: 'Courier New', Courier, monospace;
  font-size: 18px;
  padding-right: 50px;
  font-weight: bold;
  margin-top: 1.rem;
  white-space: pre;
  color: #00ffff;
  text-shadow: 0 0 10px #00ffff, 0 0 15px #00ffff;
  z-index: 1000;
}

.header-logo {
  height: 145px;
  margin-bottom: 15px;
  margin-top: 20px;
  margin-left: 5px;
  border: 1px solid #00ffff;
  border-radius: 8px;
  padding: 5px;
  box-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff;
}

.terminal-card {
  background-color: #111;
  border: 2px solid #00ffff;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem auto;
  box-shadow: 0 0 10px #00ffff;
  width: 800px;
  max-width: 100%;
}

/* Preview image default style (when not in upload slot) */
.preview-img {
  max-height: 310px;
  max-width: 220px;
  border: 3px solid #347afb;
  padding: 1px;
  background-color: #111;
  border-radius: 4px;
  box-shadow: 0 0 10px #367cff;
  margin: 0 0.75rem;
}

#resultsCard {
  background-color: #111;
  border: 2px solid #00ffff;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem auto;
  box-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff;
  width: 800px;
  max-width: 100%;
}

.btn-terminal {
  background-color: black;
  color: #00ffff;
  border: 2px solid #00ffff;
  font-family: 'Share Tech Mono', monospace;
  box-shadow: 0 0 8px #00ffff;
  transition: all 0.3s ease;
}

#resultsButtons {
  margin-top: 2rem;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transition: opacity 0.5s ease;
}

#resultsButtons.show {
  opacity: 1;
}

#resultsButtons .btn-terminal {
  margin: 0 0.5rem;
}
.guide-toggle-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.guide-toggle-wrapper .btn {
  border: none;
  background-color: #111;
  color: #00ffff;
  font-family: 'Share Tech Mono', monospace;
  box-shadow: 0 0 6px #00ffff;
}

.guide-toggle-wrapper .btn:hover {
  background-color: #00ffff;
  color: #000;
  box-shadow: 0 0 12px #00ffff;
}

#gptLink {
 background-color: #111;
 color: #3375ee;
 font-family: 'Share Tech Mono', monospace;
 border: none;
}

#analyzeButton {
  font-size: 18x;
  margin-top: 15px;
  justify-content: center;
  background-color: black;
  color: #00ffff;
  font-family: 'Share Tech Mono', monospace;
  border: 2px solid #00ffff;
  border-radius: 4px;
  box-shadow: 0 0 8px #00ffff;
  transition: all 0.3s ease;
}

#analyzeButton:hover {
  background-color: #00ffff;
  color: black;
  box-shadow: 0 0 20px #00ffff, 0 0 30px #00ffff;
}

.confidence-badge-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 1rem;
  text-shadow: #000000 0px 0px 3px;
}

.confidence-badge {
  background-color: #111;
  border: 1px solid #00ffff;
  border-radius: 5px;
  flex-direction: column;
  padding: 2px;
  font-size: 0.9rem;
  min-width: 70px;
  font-family: 'Roboto Mono', monospace;
  display: flex;
  align-items: center;
}

.badge-grade {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 2px;
}

.badge-percent {
  font-size: 14px;
  opacity: 0.85;
}
/* AI explanation block styling */
.ai-explanation {
  background-color: #111;
  font-family: 'Share Tech Mono', monospace;
  color: #f2f2f2;
  font-size: 14px;
  white-space: pre-line;
}

/* Preview image label styling */
.label {
  text-align: center;
  font-size: 14px;
  color: #00ffff;
  margin-top: 0.5rem;
}

/* Grouped result buttons styling */
.results-button-wrapper {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Optional results section divider */
.results-section {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px dashed #00ffff33;
}

/* Confidence Score Bar Chart */
/* Improved Confidence Score Bar Chart */
.confidence-bar {
  display: flex;
  justify-content: center;
  height: 30px;
  direction: ltr;
  gap: 0;
  border-radius: 4px;
  overflow: hidden;
}

.confidence-graph-container {
  width: 100%;
  max-width: 500px;
  margin: 2rem auto 0;
  background: #111;
  border: 1px solid #00ffff44;
  border-radius: 6px;
  overflow: hidden;
  direction: ltr;
  justify-content: center;
}

/* Improved segment style */
.confidence-segment {
  flex-grow: 1;
  text-align: center;
  line-height: 30px;
  font-family: 'Share Tech Mono', monospace;
  font-weight: bold;
  color: #ffffff;
  text-shadow: #000000 0px 0px 3px;
  opacity: 0.4;
  transition: opacity 0.3s ease;
  border-right: 1px solid #000000;
}

.confidence-segment:last-child {
  border-right: none;
}

.score-10 { background-color:#00ffcc; }
.score-9 { background-color: #66ffd9; }
.score-8 { background-color: #99ffee; }
.score-7 { background-color: #ccffff; }
.score-6 { background-color: #ffffcc; }
.score-5 { background-color: #ffdd99; }
.score-4 { background-color: #ffbb66; }
.score-3 { background-color: #ff9966; }
.score-2 { background-color: #ff6666; }
.score-1 { background-color: #ff3333; }

.confidence-segment.highlighted {
  opacity: 1 !important;
  border: 2px solid #00ffff !important;
  font-weight: bold;
  border: 2px solid #00ffff;
  box-shadow: 0 0 10px #00ffff;
}

.btn-terminal.btn-download {
  background-color: black;
  color: #ff3333;
  font-family: 'Share Tech Mono', monospace;
  border: 2px solid #ff3333;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  box-shadow: 0 0 8px #ff3333;
}

.btn-terminal.btn-download:hover {
  background-color: #ff3333;
  color: black;
  box-shadow: 0 0 20px #ff3333, 0 0 30px #ff3333;
}

#aboutTCGraderButton {
  background-color: black;
  color: #3375ee;
  font-family: 'Share Tech Mono', monospace;
  padding: 0.75rem 1.5rem;
  border: 2px solid #000000;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  box-shadow: 0 0 8px #000000;
  
}

#userAgreementButton {
  background-color: black;
  color: #3375ee;
  font-family: 'Share Tech Mono', monospace;
  padding: 0.75rem 1.5rem;
  border: 2px solid #000000;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  box-shadow: 0 0 8px #000000;
  
}

#dataPolicyButton {
  background-color: black;
  color: #3375ee;
  font-family: 'Share Tech Mono', monospace;
  padding: 0.75rem 1.5rem;
  border: 2px solid #000000;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  box-shadow: 0 0 8px #000000;
  
}

#feedbackButton {
  background-color: black;
  color: #3375ee;
  font-family: 'Share Tech Mono', monospace;
  padding: 0.75rem 1.5rem;
  border: 2px solid #000000;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  box-shadow: 0 0 8px #000000;
}

/* Centered PSA submission button below thumbnails */
.psa-submit-btn-wrapper {
  text-align: center;
  margin-top: 1.5rem;
}

#submitToPSAButton {
  background-color: #111;
  color: #ff0000;
  font-family: 'Share Tech Mono', monospace;
  border: none;
}

.btn-cancel {
  background-color: black;
  color: #ff3333;
  font-family: 'Share Tech Mono', monospace;
  border: 2px solid #ff3333;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  box-shadow: 0 0 8px #ff3333;
  transition: all 0.3s ease;
}

.btn-cancel:hover {
  background-color: #ff3333;
  color: black;
  box-shadow: 0 0 20px #ff3333, 0 0 30px #ff3333;
}

/* Specific hover rule for .btn-terminal.btn-cancel to avoid conflicts with .btn-terminal:hover */
.btn-terminal.btn-cancel:hover {
  background-color: #ff3333;
  color: black;
  box-shadow: 0 0 20px #ff3333, 0 0 30px #ff3333;
}

/* Optional: Custom modal styling */
.modal-content {
  max-width: 80%;
  margin: 2rem auto;
  background-color: #000;
  color: #d4d4d4;
  border-radius: 8px;
  border: 1px solid #00ffff;
  box-shadow: 0 0 12px #00ffff;
  font-family: 'Share Tech Mono', monospace;
  text-align: center;
}

.modal-close {
  color: #aaa;
  text-align: right;
  font-size: 28px;
  font-weight: bold;
  margin-top: -10px;
  margin-right: 2px;
  cursor: pointer;
}

.close {
  color: #e6e6e6;
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin-top: -10px;
  cursor: pointer;
}

.close:hover {
  color: black;
}

.upload-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #090909;
  border: 1px solid #00ffff;
  border-radius: 8px;
  box-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff;
  width: 32rem;
  margin: 1.5rem auto 1rem auto;
}

.upload-slot {
  position: relative;
  width: 230px;
  height: 310px;
  border: 3px dashed #3a7fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #1c1b1b;
}

/* Only use .upload-slot.hidden for completely hidden slots (do not interfere with preview rendering) */
.upload-slot.hidden {
  display: none;
}

.upload-placeholder {
  text-shadow: 0 1px 0 #000000, 0 1px 0 #000000;
  position: relative;
  z-index: 1;
  font-size: 14px;
  color: #00ffff;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.upload-slot input[type="file"] {
  display: none;
}

.upload-slot.has-image {
  border: none;
  background: none;
}

.upload-slot.has-image .upload-placeholder {
  display: none;
}

.upload-slot img.preview-img {
  display: none;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 0 3px #3375ee;
}

.upload-slot.has-image img.preview-img {
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.clickable-thumbnail {
  cursor: pointer;
  border: 3px solid #3375ee;
  border-radius: 6px;
  max-width: 220px;
  max-height: 310px;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.clickable-thumbnail:hover {
  transform: scale(1.03);
  box-shadow: 0 0 10px #3375ee;
}

#resultsSummary {
  color: #ff0000;
  font-size: 1.05rem;
  font-style: italic;
  border-left: 3px solid #00ffcc;
  padding-left: 10px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.thumbnail-container {
  display: inline-block;
  text-align: center;
  margin: 10px;
}

.thumbnail-caption {
  text-align: center;
  font-size: 0.85rem;
  color: #00ffff;
  margin-top: 5px;
}

.breakdown-score {
  font-family: 'Courier New', monospace;
  color: #0f0;
}

.btn-terminal:hover {
  background-color: #00ffcc;
  color: #000;
  transition: 0.2s ease;
}

.main-content {
  position: relative; 
}

.ad-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  top: 0;
  width: 300px;
  height: 100%;
}

.left-ads {
  left: 0;
}

.right-ads {
  right: 0;
}

/* Fade-in animation for modal dialogs */
.modal.fade .modal-dialog {
  transform: translateY(-20px);
  opacity: 0;
}

.modal.fade.show .modal-dialog {
  transform: translateY(0);
  opacity: 1;
}

#welcomeModal {
  visibility: hidden;
  align-items: center;
  justify-content: center;
  z-index: 1055;
  margin-left: 10px
}

#welcomeModal.show {
  visibility: visible;
}

.modal-backdrop {
  display: none !important;
}

#welcomeModal .modal-dialog {
  margin: 1rem auto;
  height: auto;
  display: block;
  min-height: unset;
}

#checkout-button {
  display: none;
}

.d-flex .btn-terminal {
  margin: 0 0.5rem;
}

.show-button {
  display: inline-block !important;
}
/* ===== Footer Styling ===== */
footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  padding: 1rem 0;
}

footer a {
  text-decoration: none;
  color: #3375ee;
  font-weight: bold;
  padding: 0 6px;
}

.footer-links {
  font-size: 15px;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.footer-links a {
  color: #3375ee;
  text-decoration: none;
  font-family: 'Share Tech Mono', monospace;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-text {
  text-align: center !important;
  font-size: 16px !important;
  color: #00ffff !important;
  opacity: 0.8 !important;
  margin-bottom: 0.5rem !important;
  font-family: 'Share Tech Mono', monospace !important;
  font-weight: bold !important;
  width: 100%;
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #007bff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* Modal open/close body overflow adjustment */
body.modal-open {
  overflow: hidden !important;
}

#welcomeModal:not(.show) ~ body {
  overflow: auto !important;
}

/* Only use .upload-slot.hidden for completely hidden slots (do not interfere with preview rendering) */
.upload-slot.hidden {
  display: none;
}

/* ===== PDF Print Optimization for html2pdf ===== */
.pdf-print-area {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff !important;
  color: #000 !important;
  font-family: 'Arial', sans-serif;
  /* Move off-screen for html2pdf rendering so it doesn't affect layout */
  position: absolute;
  top: -9999px;
  left: -9999px;
  z-index: -1;
}

.pdf-print-area img {
  max-width: 100%;
  height: auto;
}
.pdf-print-area * {
  page-break-inside: avoid;
  box-sizing: border-box;
}

@media print {
  body {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    margin: 0 !important;
    padding: 0 !important;
  }
  #pdfHiddenContainer{
    position: static !important;
    z-index: auto !important;
  }
}

/* ===== PDF Print Styling for html2pdf Hidden Container ===== */
#pdfHiddenContainer .pdf-print-area {
  width: 800px;
  padding: 10px;
  margin: 5px;
  background-color: #fff;
  color: #000;
  font-family: Arial, sans-serif;
}

#pdfHiddenContainer .pdf-print-area img {
  max-width: 100%;
  height: auto;
}

#pdfHiddenContainer .pdf-print-area * {
  box-sizing: border-box;
  page-break-inside: avoid;
}

@media (max-width: 1200px) {
  .ad-column {
    display: none;
  }
}

@media (max-width: 760px) {
  .header-logo {
    margin-bottom: 15px;
  }

 
}

@media (max-width: 670px) {
  .header-logo {
    margin-bottom: 15px;
  }
  .ascii-header {
    margin-bottom: 15px;
    line-height: 1.3;
  }
  h2.text-center {
    margin-left: 20px;
  }
  .preview-combo {
    gap: 1rem;
  }
  .results-button-wrapper {
    align-items: center;
  }
  .report-section {
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media (max-width: 659px) {
  #welcomeModal {
    max-width: 90%;
    margin-left: 25px;
  }
  .header-logo {
  margin-bottom: 15px;
  }
  .terminal-card {
    padding: 1rem;
  }
   #analyzeButton {
    font-size: 16px;
  }
  .ascii-header {
   font-size: 16px;
  }
  .preview-combo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
  }
  img.preview-img {
    max-width: 90%;
    height: auto;
  }
  .custom-file-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .custom-file-upload .btn {
    width: 100%;
    margin: 0.25rem 0;
  }
  h2.text-center {
  font-size: 18px;
  }
   .modal {
    max-width: 90%;
    align-content: center;
  }
}


@media (max-width: 600px) {
  #gradingReportContainer {
    max-width: 98%;
  }
  .upload-container {
    max-width: 45%;
  }
  .ascii-header {
    font-size: 14px;
    margin-left: 20px;
    line-height: 1.3;
  }
  .upload-slot.has-image {
    border: none;
    background: none;
  }
  .upload-slot.has-image .upload-placeholder {
    display: none;
  }
  .upload-slot img.preview-img {
    display: none;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 0 0 3px #3375ee;
  }
  .upload-slot.has-image img.preview-img {
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  #resultsCard {
    padding: 1rem;
    margin: 1rem auto;
    width: 98%;
    max-width: 560px;
    font-size: 14px;
  }
  .terminal-card {
    padding: 1rem;
    width: 98%;
    max-width: 560px;
    margin: 1.25rem auto;
    font-size: 14px;
    word-break: break-word;
  }
  .ai-explanation,
  .report-summary,
  .confidence-bar,
  .confidence-graph-container {
    font-size: 13px;
    padding: 0.75rem;
  }
  .confidence-segment {
    font-size: 10px;
  }
  .results-button-wrapper {
    align-items: center;
    gap: 0.75rem;
  }
  .uploaded-image-preview {
    width: 220px;
    height: 320px;
  }
  .btn-terminal,
  .results-button-wrapper,
  .terminal-card {
    text-align: center;
  }
  .modal {
    margin-left: .5em;
  }

}
 

@media (max-width: 550px) {
  #welcomeModal {
    max-width: 90%;
    padding-left: 20px;
  }
  #gradingReportContainer {
    max-width: 98%;
  }
  #resultsCard {
    padding: 1rem;
    margin: 1rem auto;
    width: 98%;
    font-size: 13px;
  }
  .terminal-card {
    padding: 1rem;
    width: 98%;
    margin: 1rem auto;
    font-size: 13px;
    word-break: break-word;
  }
  .ai-explanation,
  .report-summary,
  .confidence-bar,
  .confidence-graph-container {
    font-size: 13px;
    padding: 0.75rem;
  }
  .confidence-segment {
    font-size: 10px;
  }
  .results-button-wrapper {
    align-items: center;
    gap: 0.75rem;
  }
  .ascii-header {
    padding-left: 14px;
    margin-left: 20px;
    line-height: 1.3; 
  }
  .upload-container {
   max-width: 55%;
   width: 100%;
  }

  .btn-terminal,
  .results-button-wrapper,
  .terminal-card {
    text-align: center;
  }
  #analyzeButton {
    font-size: 16px;
  }
}

@media (max-width: 515px) {
  #gradingReportContainer {
    max-width: 99%;
  }
  .header-logo {
    margin-top: 15px;
  }
  .upload-container {
   max-width: 57%;
   width: 100%;
  }

  .upload-placeholder {
    color: #00ffff;
    padding: 0.5rem;
    text-shadow: 0 1px 0 #000000, 0 1px 0 #000;
  }

  .btn-terminal {
    font-size: 12px;
    padding: 5px;
    margin: 5px;
  }
  #resultsCard {
    font-size: 12px;
    padding: 0.75rem;
    margin: 1rem auto;
  }
  .confidence-graph-container {
    font-size: 11px;
    padding: 0.5rem;
  }
  .results-button-wrapper {
    gap: 0.5rem;
  }
  .confidence-badge-group {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-top: 1rem;
    text-shadow: #000000 0px 0px 3px;
  }
  .confidence-badge {
    background-color: #183631;
    border: 1px solid #3083ff;
    border-radius: 5px;
    flex-direction: column;
    padding: 2px;
    font-size: 0.5rem;
    min-width: 60px;
    font-family: 'Roboto Mono', monospace;
    display: flex;
    align-items: center;
  }
  .badge-grade {
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 2px;
  }
  .badge-percent {
    font-size: 12px;
    opacity: 0.85;
  }
  .confidence-graph-container {
    padding: 0.5rem;
    font-size: 12px;
  }
  .confidence-segment {
    font-size: 9px;
  }
  .footer {
    margin-top: 0;
  }
  .footer-text {
    font-size: 12px !important;
  }
  .footer-links {
    display: flex;
    flex-direction: column;
    justify-content: center;  
    align-items: center;
    gap: 1px;
    margin-top: 1px;
  }
  .footer-links a {
    font-size: 12px;
  }
  .gap-4 {
    gap: 1px;
  }
  p {
    font-size: 15px;
    margin: 1rem;
  }
  ul {
    font-size: 15px;
     text-align: left;
     margin: 1rem;
  }
  .modal {
    max-width: 98%;
    align-content: center;
    
  }
  .modal-content {
    color: #c5c5c5;
  }
}

@media (max-width: 500px) {
  .header-logo {
    margin-bottom: 15px; 
  }
    .ascii-header {
    font-size: 13px;
    margin-left: 20px;
    line-height: 1.3;
  }
}

@media (max-width: 480px) {
  .header-logo {
    margin-bottom: 15px; 
    height: 220px;
  }
   .ascii-header {
    padding: 0px;
    margin: 0px;
    line-height: 0px;
    visibility: hidden;
  }
  .modal-content {
    max-width: 95%;
  }
   .upload-container {
    max-width: 57%;
  }
  h2 {
   visibility: hidden;
    margin: 0px;
    padding: 0px;
  }
}

@media (max-width: 460px) {
  .upload-container {
   max-width: 67%;
  }
}

@media (max-width: 420px) {
   .upload-container {
    max-width: 60%;
  }

}

@media (max-width: 390px) {
   .upload-container {
    max-width: 75%;
  }
}



/* ===== Modal Content Narrower and Centered Styling ===== */


@media (max-width: 768px) {
  .modal-content {
    max-width: 90%;
    margin: 1rem auto;
  }
}

/* ===== Rerun Warning Styles (Yellow/Gold) ===== */
#rerun-warning .alert {
  background-color: #1a1a1a;
  color: #ffd700;
  font-family: 'Share Tech Mono', monospace;
  border: 2px solid #ffd700;
  box-shadow: 0 0 10px #ffd700;
  font-size: 15px;
  padding: 1rem;
  text-align: center;
  margin: 1.5rem auto;
  max-width: 600px;
  border-radius: 6px;
}

#rerun-warning button {
  margin-top: 0.75rem;
  background-color: black;
  color: #ffd700;
  border: 2px solid #ffd700;
  font-family: 'Share Tech Mono', monospace;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  box-shadow: 0 0 8px #ffd700;
  transition: all 0.3s ease;
}

#rerun-warning button:hover {
  background-color: #ffd700;
  color: black;
  box-shadow: 0 0 20px #ffd700, 0 0 30px #ffd700;
}