/* 到店指引管理 */

.guide-editor .form-card {
  margin-bottom: 16px;
}

.section-hint, .empty-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.list-editor {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.list-editor-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.list-editor-row input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
}

.step-editor {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
}

.step-editor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.step-editor-header h4 {
  font-size: 14px;
  color: var(--accent);
}

/* 图片上传 */
.image-upload-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.image-preview-wrap {
  width: 100%;
  min-height: 120px;
  border-radius: 10px;
  border: 2px dashed var(--border);
  background: var(--bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-preview-wrap.has-image {
  border-style: solid;
  border-color: rgba(94, 179, 246, 0.3);
}

.step-preview-img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  display: block;
}

.image-placeholder {
  color: var(--text-muted);
  font-size: 13px;
  padding: 24px;
  text-align: center;
}

.image-upload-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.upload-hint {
  font-size: 11px;
  color: var(--text-dim);
  margin: 0;
}

/* 底部保存栏 */
.guide-save-bar {
  position: sticky;
  bottom: 0;
  background: linear-gradient(transparent, var(--sidebar) 20%);
  padding: 24px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}

.save-hint {
  font-size: 12px;
  color: var(--text-muted);
  flex: 1;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
  white-space: nowrap;
}

/* 预览 */
.guide-preview-card {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 16px;
  font-size: 12px;
  color: #ccc;
  max-height: 720px;
  overflow-y: auto;
}

.guide-preview-card .pv-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.guide-preview-card .pv-sub {
  font-size: 10px;
  color: #666;
  margin-bottom: 12px;
}

.guide-preview-card .pv-section {
  margin-bottom: 12px;
}

.guide-preview-card .pv-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 6px;
}

.guide-preview-card .pv-hint {
  font-size: 10px;
  color: #888;
  margin-bottom: 4px;
}

.guide-preview-card .pv-row {
  background: #252525;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 4px;
  color: #fff;
}

.guide-preview-card .pv-empty {
  color: #555;
  font-size: 11px;
  font-style: italic;
}

.guide-preview-card .pv-tips {
  border: 1px solid rgba(201, 168, 0, 0.4);
  border-radius: 8px;
  padding: 10px;
  color: #c9a800;
  font-size: 11px;
  margin-bottom: 12px;
}

.guide-preview-card .pv-tip-line {
  margin-bottom: 4px;
  line-height: 1.5;
}

.guide-preview-card .pv-route-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.guide-preview-card .pv-step {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #333;
}

.guide-preview-card .pv-step:last-child {
  border-bottom: none;
}

.guide-preview-card .pv-step-img {
  width: 100%;
  max-height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
  display: block;
}

.guide-preview-card .pv-badge {
  display: inline-block;
  background: #c9a800;
  color: #000;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.guide-preview-card .pv-step-desc {
  color: #fff;
  font-size: 11px;
  line-height: 1.5;
}

/* 到店指引预览 */
.guide-preview-card .pv-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}
.guide-preview-card .pv-close { color: #666; font-size: 14px; }
.guide-preview-card .pv-block { margin-bottom: 14px; }
.guide-preview-card .pv-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-size: 11px;
  margin-right: 6px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.28);
  vertical-align: middle;
}

.guide-preview-card .pv-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 100%);
}

.guide-preview-card .pv-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.guide-preview-card .pv-icon.pink {
  background: linear-gradient(145deg, #ff5c8d 0%, #e11d48 100%);
  box-shadow: 0 3px 10px rgba(225, 29, 72, 0.32);
}

.guide-preview-card .pv-icon.chat {
  background: linear-gradient(145deg, #5eb3f6 0%, #3b82f6 100%);
  box-shadow: 0 3px 10px rgba(59, 130, 246, 0.28);
}

.guide-preview-card .pv-icon.parking {
  background: linear-gradient(145deg, #60a5fa 0%, #2563eb 100%);
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.32);
  color: #fff;
  font-weight: 800;
}
.guide-preview-card .pv-contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #252525;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 6px;
  color: #fff;
  font-size: 11px;
}
.guide-preview-card .pv-call-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff5c8d 0%, #e11d48 100%);
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.guide-preview-card .pv-copy-btn {
  font-size: 10px;
  color: #8ec8f8;
  background: linear-gradient(145deg, rgba(94, 179, 246, 0.35) 0%, rgba(59, 130, 246, 0.2) 100%);
  border: 1px solid rgba(94, 179, 246, 0.35);
  padding: 4px 10px;
  border-radius: 12px;
}
.guide-preview-card .pv-address {
  font-size: 11px;
  color: #ccc;
  line-height: 1.5;
  padding-left: 2px;
}
.guide-preview-card .pv-no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  background: #252525;
  color: #555;
  font-size: 11px;
}

/* 到店指引可视化编辑区 */
.arrival-visual-editor {
  max-width: 640px;
}

.ave-card {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.08);
}

.ave-card-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ave-title-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ave-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #252525;
  color: var(--text);
  font-size: 14px;
  box-sizing: border-box;
}

.ave-input.ave-title {
  font-size: 16px;
  font-weight: 700;
}

.ave-input.ave-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.ave-section {
  margin-bottom: 20px;
}

.ave-section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.ave-section-label.gold { color: #c9a800; }

.ave-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  vertical-align: middle;
}

.ave-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 100%);
}

.ave-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.ave-icon.pink {
  background: linear-gradient(145deg, #ff5c8d 0%, #e11d48 100%);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
}

.ave-icon.chat {
  background: linear-gradient(145deg, #5eb3f6 0%, #3b82f6 100%);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.28);
}

.ave-icon.parking {
  background: linear-gradient(145deg, #60a5fa 0%, #2563eb 100%);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.32);
  color: #fff;
  font-weight: 800;
}

.ave-contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #252525;
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 8px;
}

.ave-contact-row .ave-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 6px 0;
}

.ave-copy-demo {
  font-size: 11px;
  color: #888;
  background: rgba(255,255,255,0.08);
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.ave-wechat-hint {
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.ave-tips-box {
  border: 1px solid rgba(201,168,0,0.4);
  border-radius: 10px;
  padding: 14px;
  background: rgba(201,168,0,0.04);
  margin-top: 8px;
}

.ave-tip-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.ave-tip-dot {
  color: #c9a800;
  font-size: 10px;
  flex-shrink: 0;
}

.ave-tip-row .ave-input {
  flex: 1;
  color: #c9a800;
}

.ave-add-btn {
  margin-top: 8px;
}

.ave-route {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.08);
}

.ave-step {
  background: #252525;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
}

.ave-step-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--accent);
}

.ave-step-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
