/**
 * SimCzech Onboarding — styles
 * Dark theme
 */

/* Overlay */
.sc-onboarding {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  padding: 1rem;
}

.sc-onboarding--visible {
  opacity: 1;
}

/* Modal */
.sc-onb__modal {
  position: relative;
  background: var(--sc-bg-card, #1e293b);
  border: 1px solid var(--sc-border, #334155);
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  padding: 2rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  animation: sc-onb-slideUp 0.3s ease;
}

@keyframes sc-onb-slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.sc-onb__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: var(--sc-text-muted, #64748b);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s;
}

.sc-onb__close:hover {
  color: var(--sc-text, #e2e8f0);
  background: rgba(255, 255, 255, 0.1);
}

/* Welcome */
.sc-onb__title {
  text-align: center;
  font-size: 1.5rem;
  color: var(--sc-text, #e2e8f0);
  margin: 0 0 8px;
}

.sc-onb__subtitle {
  text-align: center;
  color: var(--sc-text-muted, #94a3b8);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* Path selection buttons */
.sc-onb__paths {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.sc-onb__path-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 2px solid var(--sc-border, #334155);
  border-radius: 10px;
  background: transparent;
  color: var(--sc-text, #e2e8f0);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1rem;
  text-align: left;
}

.sc-onb__path-btn:hover {
  border-color: var(--path-color, var(--sc-accent));
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(4px);
}

.sc-onb__path-icon {
  font-size: 1.5rem;
}

.sc-onb__path-name {
  font-weight: 600;
}

/* Skip */
.sc-onb__skip {
  display: block;
  margin: 0 auto;
  background: none;
  border: none;
  color: var(--sc-text-muted, #64748b);
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}

.sc-onb__skip:hover {
  color: var(--sc-text, #e2e8f0);
}

/* Steps */
.sc-onb__step {
  display: none;
  gap: 12px;
  padding: 1rem 0;
}

.sc-onb__step--active {
  display: flex;
  align-items: flex-start;
  animation: sc-onb-fadeIn 0.3s ease;
}

@keyframes sc-onb-fadeIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

.sc-onb__step-number {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 800;
  font-size: 1rem;
}

.sc-onb__step-title {
  margin: 0 0 4px;
  font-size: 1.1rem;
  color: var(--sc-text, #e2e8f0);
}

.sc-onb__step-desc {
  color: var(--sc-text-muted, #94a3b8);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

/* Dots */
.sc-onb__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 1rem 0;
}

.sc-onb__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sc-border, #334155);
  transition: all 0.2s;
}

.sc-onb__dot.active {
  background: var(--dot-color, var(--sc-accent));
  width: 24px;
  border-radius: 4px;
}

/* Navigation */
.sc-onb__nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.sc-onb__prev,
.sc-onb__next {
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid var(--sc-border, #334155);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
}

.sc-onb__prev {
  background: transparent;
  color: var(--sc-text-muted, #94a3b8);
}

.sc-onb__prev:hover:not(:disabled) {
  border-color: var(--sc-text, #e2e8f0);
  color: var(--sc-text, #e2e8f0);
}

.sc-onb__prev:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.sc-onb__next {
  color: #000;
  border: none;
  flex: 1;
}

.sc-onb__next:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Restart button (bottom-right corner) */
.sc-onb-restart {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 1000;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid var(--sc-border, #334155);
  background: var(--sc-bg-card, #1e293b);
  color: var(--sc-text-muted, #94a3b8);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.sc-onb-restart:hover {
  border-color: var(--sc-accent, #f59e0b);
  color: var(--sc-accent, #f59e0b);
}

/* Mobile */
@media (max-width: 768px) {
  .sc-onb__modal {
    padding: 1.5rem;
    border-radius: 12px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .sc-onb__title {
    font-size: 1.2rem;
  }
}
