/* NxRoms - Pop-up tutoriel téléchargement */
.nx-tuto-open-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9998;
  border: 0;
  border-radius: 14px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #00ff88, #00c76a);
  color: #06130c;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 255, 136, .22);
  font-family: inherit;
}

.nx-tuto-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, .74);
  backdrop-filter: blur(8px);
}

.nx-tuto-backdrop.is-visible { display: flex; }

.nx-tuto-modal {
  width: min(980px, 100%);
  max-height: 92vh;
  overflow: auto;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: #0b0f14;
  color: #fff;
  box-shadow: 0 20px 80px rgba(0,0,0,.55);
  font-family: Inter, Outfit, Arial, sans-serif;
}

.nx-tuto-header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 22px 10px;
}

.nx-tuto-title { margin: 0; font-size: clamp(20px, 3vw, 30px); }
.nx-tuto-subtitle { margin: 8px 0 0; color: rgba(255,255,255,.72); line-height: 1.5; }

.nx-tuto-close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  background: rgba(255,255,255,.07);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.nx-tuto-body { padding: 12px 22px 22px; }

.nx-tuto-video {
  width: 100%;
  max-height: 520px;
  border-radius: 16px;
  background: #000;
  outline: 1px solid rgba(255,255,255,.12);
}

.nx-tuto-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.nx-tuto-step {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255,255,255,.045);
  line-height: 1.45;
}

.nx-tuto-step strong {
  display: block;
  margin-bottom: 4px;
  color: #00ff88;
}

.nx-tuto-warning {
  margin-top: 14px;
  padding: 13px 14px;
  border-radius: 14px;
  background: rgba(255, 193, 7, .10);
  border: 1px solid rgba(255, 193, 7, .25);
  color: rgba(255,255,255,.84);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .nx-tuto-steps { grid-template-columns: 1fr; }
  .nx-tuto-open-btn { left: 14px; right: 14px; bottom: 14px; }
  .nx-tuto-header, .nx-tuto-body { padding-left: 16px; padding-right: 16px; }
}
