/* SIRENity — surcouche au-dessus de brand.css */

@keyframes sirenity-fade-in {
  from { opacity: 0; transform: translateY(-3px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sirenity-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.sirenity-stepper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 2rem auto;
  max-width: 900px;
}

.sirenity-stepper-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--subtle);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sirenity-stepper-item .step-circle {
  width: 32px;
  height: 32px;
}

.sirenity-stepper-link {
  flex: 1;
  height: 1px;
  background: rgba(148, 163, 184, 0.18);
  min-width: 16px;
}

.sirenity-stepper-link.active {
  background: var(--brand-emerald);
}

.sirenity-card {
  position: relative;
  padding: 2rem;
  border-radius: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.sirenity-dropzone {
  border: 2px dashed rgba(148, 163, 184, 0.3);
  border-radius: 12px;
  padding: 4rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.sirenity-dropzone:hover,
.sirenity-dropzone.is-drag-over {
  border-color: var(--brand-emerald);
  background: rgba(16, 185, 129, 0.04);
}

.sirenity-progress {
  height: 8px;
  background: rgba(148, 163, 184, 0.14);
  border-radius: 999px;
  overflow: hidden;
  margin: 1.25rem 0;
}

.sirenity-progress-bar {
  height: 100%;
  background: var(--brand-emerald);
  width: 0%;
  transition: width 0.3s ease;
}

.sirenity-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.sirenity-modal {
  background: var(--ink-700);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  padding: 2rem;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.sirenity-candidate {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 10px;
  margin-bottom: 0.6rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.sirenity-candidate:hover {
  border-color: rgba(16, 185, 129, 0.4);
}

.sirenity-candidate.is-selected {
  border-color: var(--brand-emerald);
  background: rgba(16, 185, 129, 0.06);
}

.sirenity-candidate-radio {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(148, 163, 184, 0.4);
  margin-top: 3px;
  flex-shrink: 0;
}

.sirenity-candidate.is-selected .sirenity-candidate-radio {
  border-color: var(--brand-emerald);
  background: var(--brand-emerald);
  box-shadow: inset 0 0 0 3px var(--ink-700);
}

.hidden { display: none !important; }
