.submission-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: none; /* Initially hidden */
  justify-content: center;
  align-items: center;
  z-index: 9998;
  color: #e5e5e5;
  font-family: "Poppins", sans-serif;
}

.submission-modal-overlay.visible {
  display: flex;
}

.submission-modal-content {
  background-color: #1e1e1e;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid #f39c12;
  text-align: center;
  max-width: 600px;
  width: 90%;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.submission-modal-content h2 {
  margin-top: 0;
  font-size: 1.5rem;
  background: linear-gradient(to right, #f39c12, #87ceeb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.submission-modal-content p {
  color: #b0b0b0;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.submission-modal-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.submission-btn {
  text-decoration: none;
  color: #000;
  background-color: #f39c12;
  padding: 0.8em 1.5em;
  border-radius: 21px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.submission-btn:hover {
  box-shadow: 0 0 25px #f39c12;
  filter: brightness(1.1);
}

.submission-btn.secondary {
  background-color: transparent;
  color: #b0b0b0;
  border: 1px solid #555;
}

.submission-btn.secondary:hover {
  background-color: #3a3a3e;
  color: #fff;
  filter: none;
  box-shadow: none;
}

.giv-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  text-align: left;
  margin-top: 2rem;
  padding: 1rem;
  background-color: #252526;
  border-radius: 8px;
}

.giv-results-grid div {
  padding: 0.5rem;
}

.giv-results-grid strong {
  color: #f39c12;
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}
