﻿.mc7-mode {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 600;
}

.mc7-mode select {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.15);
  color: white;
  font-weight: 600;
  outline: none;
}

.mc7-mode option {
  color: #1d2a44;
}

.mc7-help-btn {
  margin-left: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
}
.mc7-help-btn:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.28);
}

.mc7-panel.hidden {
  display: none;
}

.mc7-placeholder {
  background: #ffffff;
  border: 1px dashed #7aa7ff;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  font-size: 1.2rem;
  color: #4c6fbf;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.mc7-step {
  background: #ffffff;
  border: 1px solid #d6e5ff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.mc7-step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #1d3a6f;
  margin-bottom: 14px;
}

.mc7-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-height: 120px;
}

#mc7Part1 .prototypes-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mc7-choice-item {
  background: #f7fbff;
  border: 1px solid #cfe0ff;
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mc7-choice-item img {
  width: 100%;
  display: block;
  border-radius: 6px;
}

.mc7-choice-item.selected {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0,123,255,0.2);
}

.mc7-step-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.mc7-variants-actions {
  margin-top: 24px;
  background: #ffffff;
  border: 1px solid #d6e5ff;
  border-radius: 12px;
  padding: 20px;
}

.mc7-variants-title {
  font-weight: 700;
  color: #1d3a6f;
  margin-bottom: 12px;
}

.mc7-variants-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mc7-loading {
  text-align: center;
  padding: 30px;
  color: #007BFF;
  font-weight: 600;
}

.mc7-error {
  text-align: center;
  padding: 20px;
  color: #c0392b;
  font-weight: 600;
}

.mc7-help-dialog {
  max-width: 520px;
}
.mc7-help-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.mc7-help-title {
  font-size: 16px;
  font-weight: 700;
  color: #1d2a44;
}
.mc7-help-close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #64748b;
}
.mc7-help-body {
  color: #1f2937;
  font-size: 14px;
  line-height: 1.5;
}
.mc7-help-section {
  margin-bottom: 14px;
}
.mc7-help-section-title {
  font-weight: 700;
  margin-bottom: 6px;
  color: #1d3a6f;
}
.mc7-help-section ul {
  margin: 0;
  padding-left: 18px;
}

.v-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}
.v-modal.hidden {
  display: none;
}
.v-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}
.v-modal__dialog {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 18px 20px;
  min-width: 280px;
  max-width: 420px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
  z-index: 1;
}
.v-modal__text {
  margin-bottom: 14px;
  font-size: 14px;
  color: #0f172a;
}
.v-progress {
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.v-progress__bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  background: #2563eb;
  border-radius: 999px;
  animation: v-progress 1.1s ease-in-out infinite;
}
@keyframes v-progress {
  0% { transform: translateX(-120%); }
  50% { transform: translateX(60%); }
  100% { transform: translateX(220%); }
}
