.swastv3-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 80px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1a1a1a;
}

.swastv3-progress {
  display: flex;
  gap: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid #e2e2e2;
  padding-bottom: 12px;
}
.swastv3-progress .step {
  color: #999;
  font-weight: 600;
  font-size: 14px;
}
.swastv3-progress .step.active {
  color: #1a1a1a;
  border-bottom: 2px solid #1a6fd4;
  padding-bottom: 10px;
}

.swastv3-hint { color: #777; font-size: 13px; margin-top: -6px; }
.swastv3-optional { font-weight: 400; color: #999; font-size: 14px; }

.swastv3-theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.swastv3-theme-card {
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  transition: box-shadow 0.15s ease;
}
.swastv3-theme-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.swastv3-theme-card h3 { margin: 8px 0 4px; font-size: 16px; }
.swastv3-theme-card p { font-size: 13px; color: #666; margin: 0 0 12px; min-height: 32px; }

.swastv3-theme-swatch {
  height: 80px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.swastv3-swatch-bold-dark { background: linear-gradient(135deg, #1a1208, #c0411a); }
.swastv3-swatch-clean-light { background: linear-gradient(135deg, #ffffff, #1a6fd4); }
.swastv3-swatch-warm-earthy { background: linear-gradient(135deg, #f0ead6, #4a8c3f); }
.swastv3-swatch-minimal-pro { background: linear-gradient(135deg, #0f0f23, #6c63ff); }
.swastv3-swatch-grayscale { background: linear-gradient(135deg, #eeeeee, #333333); }
.swastv3-swatch-freelancer { background: linear-gradient(135deg, #ffffff, #1abc9c); }
.swastv3-swatch-agency { background: linear-gradient(135deg, #222222, #fdb827); }
.swastv3-swatch-business-casual { background: linear-gradient(135deg, #eef2f5, #3a5a78); }

.swastv3-btn {
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.swastv3-btn.primary { background: #1a6fd4; color: #fff; }
.swastv3-btn.secondary { background: #eee; color: #333; }
.swastv3-link-btn { background: none; border: none; color: #1a6fd4; cursor: pointer; font-size: 13px; }

.swastv3-preview-panel {
  margin: 28px 0;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  overflow: hidden;
}
.swastv3-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: #f7f7f7;
  font-size: 13px;
  font-weight: 600;
}
#swastv3-preview-frame {
  width: 100%;
  height: 480px;
  border: none;
  display: block;
}

.swastv3-field-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.swastv3-field-group[data-group="about"],
.swastv3-field-group[data-group="services"] {
  grid-template-columns: 1fr;
}
.swastv3-field { display: flex; flex-direction: column; font-size: 13px; font-weight: 600; color: #444; }
.swastv3-field input, .swastv3-field textarea {
  margin-top: 6px;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}

.swastv3-stage-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}


.swastv3-image-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin: 16px 0;
}
.swastv3-image-slot { text-align: center; }
.swastv3-image-slot label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
}
.swastv3-image-drop {
  border: 2px dashed #ccc;
  border-radius: 8px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  background: #fafafa;
  position: relative;
}
.swastv3-image-drop:hover { border-color: #1a6fd4; background: #f0f6fd; }
.swastv3-image-placeholder-text { font-size: 12px; color: #999; padding: 0 8px; }
.swastv3-image-preview { width: 100%; height: 100%; object-fit: cover; }
.swastv3-image-remove {
  margin-top: 6px;
  background: none;
  border: none;
  color: #c0392b;
  font-size: 12px;
  cursor: pointer;
}

.swastv3-ai-btn { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; }
#swastv3-ai-status { margin-left: 12px; }

.swastv3-draft-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}
.swastv3-draft-fields label.swastv3-field { grid-column: span 1; }

#swastv3-zip-result { margin-top: 14px; }
#swastv3-zip-result a { text-decoration: none; display: inline-block; }
#swastv3-zip-status { margin-left: 12px; }
