/* ── Modal de bienvenue — valeurs px fixes (indépendant de la base app) ── */

.welcome-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 28, 0.75);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: welcome-fade-in 0.3s ease;
}

.welcome-overlay.hidden {
  display: none;
}

@keyframes welcome-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.welcome-box {
  background: #0d1b2e;
  border: 1px solid rgba(69,128,255,0.25);
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  font-family: Inter, system-ui, sans-serif;
  animation: welcome-slide-up 0.35s ease;
}

@keyframes welcome-slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.welcome-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px 14px;
  border-bottom: 1px solid rgba(69,128,255,0.15);
}

.welcome-icon {
  width: 50px;
  height: 50px;
  background: rgba(69,128,255,0.1);
  border: 1px solid rgba(69,128,255,0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.welcome-title {
  font-size: 16px;
  font-weight: 700;
  color: #e8f0ff;
  margin: 0 0 3px;
  line-height: 1.3;
}

.welcome-subtitle {
  font-size: 11px;
  color: rgba(140,160,200,0.8);
  margin: 0;
}

.welcome-body {
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.welcome-section h3 {
  all: unset;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4580ff;
  margin-bottom: 8px;
}

.welcome-section p {
  all: unset;
  display: block;
  font-size: 11px;
  color: rgba(180,200,240,0.85);
  line-height: 1.65;
  margin-top: 6px;
}

.welcome-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}

.welcome-tag {
  font-size: 10px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(200,220,255,0.85);
}

.welcome-tag.blue {
  background: rgba(69,128,255,0.15);
  border-color: rgba(69,128,255,0.35);
  color: #7ba8ff;
}

.welcome-list {
  all: unset;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.welcome-list li {
  all: unset;
  display: block;
  font-size: 11px;
  color: rgba(180,200,240,0.85);
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
}

.welcome-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: #4580ff;
  font-weight: 700;
}

.welcome-footer {
  padding: 12px 22px 20px;
  border-top: 1px solid rgba(69,128,255,0.12);
  display: flex;
  justify-content: flex-end;
}

.welcome-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #4580ff;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.welcome-btn:hover {
  background: #5a8fff;
  transform: translateX(2px);
}
