/* Legal Scheduler AI - Onboarding Styles */
/* Based on w03-onboarding.html from Stitch design */

.onboarding-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px;
  min-height: 100vh;
  background: var(--gray-100);
}

/* Progress Indicator */
.progress-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--gray-300);
  z-index: -1;
}

.step.completed:not(:last-child)::after {
  background: var(--success);
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-300);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 8px;
  transition: all 0.3s;
}

.step.active .step-circle {
  background: var(--primary);
  color: white;
}

.step.completed .step-circle {
  background: var(--success);
  color: white;
}

.step-label {
  font-size: 12px;
  color: var(--gray-500);
  text-align: center;
}

.step.active .step-label {
  color: var(--primary);
  font-weight: 500;
}

/* Content Card */
.content-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 48px;
  text-align: center;
  margin-bottom: 24px;
}

.icon-large {
  font-size: 64px;
  margin-bottom: 24px;
}

.content-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.content-description {
  font-size: 16px;
  color: var(--gray-500);
  margin-bottom: 32px;
}

/* Calendar Selection */
.calendar-grid {
  display: grid;
  gap: 24px;
  margin: 32px 0;
  text-align: left;
}

.calendar-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  min-height: 80px;
}

.calendar-item .calendar-color {
  flex-shrink: 0;
}

.calendar-item .calendar-info {
  flex: 0 0 180px;
  min-width: 180px;
}

.calendar-item .calendar-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
  white-space: nowrap;
}

.calendar-item .calendar-desc {
  font-size: 13px;
  color: var(--gray-500);
  white-space: nowrap;
}

.calendar-item .select {
  flex: 1;
  min-width: 250px;
}

.calendar-color {
  width: 12px;
  height: 48px;
  border-radius: 4px;
}

.calendar-color.lbox {
  background: var(--lbox);
}

.calendar-color.work {
  background: var(--work);
}

.calendar-color.personal {
  background: var(--personal);
}

.calendar-info {
  flex: 1;
  min-width: 0;
}

.calendar-label {
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
  white-space: nowrap;
}

.calendar-desc {
  font-size: 14px;
  color: var(--gray-500);
  white-space: nowrap;
}

.calendar-item .select {
  width: 100%;
  max-width: 300px;
  flex-shrink: 0;
}

/* Keyword Input */
.keyword-input-group {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

/* Buttons */
.button-group {
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.step-content {
  display: none;
}

.step-content.active {
  display: block;
}

@media (max-width: 640px) {
  .content-card {
    padding: 32px 24px;
  }

  .progress-bar {
    margin-bottom: 32px;
  }

  .step-label {
    font-size: 10px;
  }
}
