/* Wizard styles from mtgproxy modal patterns */

.wizard-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.4s ease;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.wizard-overlay.show {
  opacity: 1;
}

.wizard-content-container {
  background: linear-gradient(135deg, #2c2d3e, #363749);
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  border: 1px solid rgba(114, 164, 242, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: slideInScale 0.5s ease;
  overflow: hidden;
  margin: 20px;
  display: flex;
  flex-direction: column;
}

.wizard-header {
  background: linear-gradient(135deg, rgba(114, 164, 242, 0.15), rgba(78, 205, 196, 0.15));
  padding: 25px 30px;
  border-bottom: 1px solid rgba(114, 164, 242, 0.2);
  position: relative;
  flex-shrink: 0;
}

.wizard-header h3 {
  color: #72a4f2;
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  padding-right: 40px;
}

.wizard-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 28px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}

.wizard-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: rotate(90deg);
}

.wizard-content {
  padding: 25px 30px;
  overflow-y: auto;
  flex: 1;
}

.wizard-footer {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 20px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.wizard-step-indicator {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.wizard-step {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.wizard-step.active {
  background: #72a4f2;
  width: 32px;
  border-radius: 6px;
}

.wizard-step.completed {
  background: rgba(78, 205, 196, 0.6);
}

/* Scrollbar Styling for Wizard Content */
.wizard-content::-webkit-scrollbar {
  width: 8px;
}

.wizard-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.wizard-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.wizard-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}

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

@keyframes slideInScale {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .wizard-content-container {
    margin: 10px;
    max-height: 95vh;
  }

  .wizard-header {
    padding: 20px;
  }

  .wizard-content {
    padding: 20px;
  }

  .wizard-footer {
    flex-direction: column;
    padding: 15px 20px;
  }

  .wizard-footer .btn {
    width: 100%;
  }
}
