/* Stage II — specific styles */

#screen-briefing,
#screen-success {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Dossier card */
.dossier {
  border: 1px solid var(--color-primary);
  padding: 1.5rem;
  background: rgba(0, 255, 65, 0.03);
}

.dossier__photo {
  text-align: center;
  margin-bottom: 1.5rem;
}

.dossier__photo img {
  max-width: 100%;
  max-height: 70vh;
  border: 2px solid var(--color-primary);
  filter: brightness(0.9);
}

.dossier__info h3 {
  color: var(--color-accent);
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.dossier__table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.dossier__table td {
  padding: 0.4rem 0.8rem;
  border-bottom: 1px solid rgba(0, 255, 65, 0.15);
}

.dossier__table td:first-child {
  color: var(--color-dim);
  white-space: nowrap;
  width: 1%;
}

/* Audio hint */
.audio-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 255, 65, 0.3);
  background: rgba(0, 255, 65, 0.05);
  font-size: 0.85rem;
  color: var(--color-dim);
  letter-spacing: 0.05em;
}

.audio-hint__icon {
  font-size: 1.3rem;
  animation: audioPulse 2s ease-in-out infinite;
}

@keyframes audioPulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* Confirm action */
.confirm-wrapper {
  border: 2px solid var(--color-accent);
  padding: 1.5rem;
  text-align: center;
  background: rgba(255, 50, 50, 0.05);
  animation: confirmPulse 2s ease-in-out infinite;
}

.confirm-label {
  color: var(--color-accent);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.btn--confirm {
  font-size: 1.1rem;
  padding: 1rem 2rem;
  background: var(--color-accent);
  color: var(--color-bg);
  border: none;
  font-weight: bold;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-transform: uppercase;
  width: 100%;
}

.btn--confirm:hover {
  filter: brightness(1.2);
}

@keyframes confirmPulse {
  0%,
  100% {
    border-color: var(--color-accent);
    box-shadow: 0 0 8px rgba(255, 50, 50, 0.3);
  }
  50% {
    border-color: var(--color-primary);
    box-shadow: 0 0 16px rgba(255, 50, 50, 0.6);
  }
}
