/* Hide the "Built with" footer watermark. */
.watermark {
  display: none !important;
}

/* Previous and Next Phase Button */
.phase-button {
  padding: 8.5px 14px;
  background-color: rgb(7, 33, 71); /* Fallback background color */
  color: rgb(238, 238, 238);
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6655em;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  margin: 0 10px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-width: 180px;
  max-width: 200px;
  height: auto;
  position: relative; 
  overflow: hidden;
}

.phase-button:hover {
  background-color: rgb(23, 58, 110);
}

.phase-button:disabled {
  display: none;
}

.phase-button:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(238, 238, 238, 0.4);
}

/* Gradient fade for the Next button */
.phase-next {
  background: linear-gradient(
    to right,
    rgb(7, 33, 71) 0%,
    rgba(7, 33, 71, 0) 100%
  );
}

/* Gradient fade for the Previous button */
.phase-prev {
  background: linear-gradient(
    to left,
    rgb(7, 33, 71) 0%,
    rgba(7, 33, 71, 0) 100%
  );
}

/* Arrow icons */
.phase-prev::before,
.phase-next::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.phase-prev::before {
  margin-right: 8px;
  background-image: url('data:image/svg+xml;charset=UTF8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M9.66667%2012L5.66667%208L9.66667%204%22%20stroke%3D%22%23EEEEEE%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E');
}

.phase-next::after {
  margin-left: 8px;
  background-image: url('data:image/svg+xml;charset=UTF8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M6.33333%204L10.3333%208L6.33333%2012%22%20stroke%3D%22%23EEEEEE%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E');
}

/* Ensure the container is a flex container */
.profile-container {
  display: flex;
  align-items: center;
}

#sentry-feedback {
  --z-index: 49;
}

/* Move Sentry feedback button out of the way on mobile. */
@media (max-width: 1036px) {
  #sentry-feedback {
    --inset: auto 0 140px auto;
  }
}
