#proceduralSafeScreen {
    text-align: center;
    padding: 20px;
    color: #fff;
    max-width: 500px;
    margin: auto;
    border-radius: 10px;
    position: relative;
    z-index: 1;
}

/* Optional: dim background for readability */
#proceduralSafeScreen::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* semi-transparent */
    z-index: 0;
}

.protocol-title {
    font-size: 2em;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.safe-header {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

/* Stack for heat, arrow, and input rows */
.feedback-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

/* Each feedback row */
.feedback-row {
    display: flex;
    justify-content: center;
    gap: 25px;
}

/* Icons */
.digit-feedback,
.digit-arrow {
    font-size: 2em;
}

/* Inputs */
.code-digit {
    width: 35px;
    height: 35px;
    font-size: 1.1em;
    text-align: center;
    border-radius: 6px;
    border: 2px solid #ccc;
    background-color: #fff;
    color: #000;
}

/* Power-ups */
.powerups {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 18px 0;
    position: relative;
    z-index: 1;
}

.powerups button {
    font-size: 1.1em;
    padding: 4px 8px;
    border-radius: 5px;
    background-color: #222;
    color: #fff;
    border: 1px solid #888;
    cursor: pointer;
    min-width: 60px;
}


.powerups button:hover {
    background-color: #444;
}

/* Submit button */
.action-section {
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

#submitGuessBtn {
    padding: 10px 20px;
    font-size: 1.1em;
    background-color: #00cc88;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: #fff;
}

#submitGuessBtn:hover {
    background-color: #00aa77;
}

/* Description text */
.safe-description {
    margin-top: 15px;
    font-style: italic;
    font-size: 0.95em;
    color: #ddd;
    position: relative;
    z-index: 1;
}


/* X-Ray feedback */
.code-digit.xray-match {
  background-color: #00cc88; /* Green for correct */
  color: #fff;
  border: 2px solid #00aa77;
}

.code-digit.xray-wrong {
  background-color: #cc3344; /* Red for wrong */
  color: #fff;
  border: 2px solid #992222;
}


/* Intro overlay for Frostbyte Protocol */
.intro-card {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 40, 0.85);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.intro-label {
  max-width: 90%;
  background-color: rgba(10, 10, 30, 0.9);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  font-size: 1em;
}

#frostStartBtn {
  margin-top: 15px;
  padding: 10px 25px;
  font-size: 1.1em;
  background-color: #00cc88;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

#frostStartBtn:hover {
  background-color: #00aa77;
}

.arrow-clickable {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.arrow-clickable:hover {
  transform: scale(1.2);
  color: gold;
}

.arrow-tip {
  font-size: 0.9em;
  color: #eee;
  text-align: center;
  margin-top: 4px;
  opacity: 0.75;
}
