
:root {
  --brand-primary: #0091EA;
  --brand-primary-dark: #006bb3;
  --brand-accent: #12b9ff;
  --brand-gradient-start: #007ad9; /* 统一纯蓝系 */
  --brand-gradient-end: #004b92;
  --brand-bg-soft: #f5f9fc;
  --brand-nav-bg: #063357;
  --brand-nav-separator: #0d4a7d;
  --brand-header-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
/* 头部使用品牌蓝纯渐变 + 阴影 */
/* .header { background: linear-gradient(90deg,var(--brand-gradient-start),var(--brand-gradient-end)); box-shadow: var(--brand-header-shadow); } */
/* 去掉旧的紫色重复定义 (覆盖) */
/* 导航容器与菜单 */
.nav-container { background: var(--brand-nav-bg); box-shadow: inset 0 -1px 0 var(--brand-nav-separator);
}
.el-menu-demo { background: transparent !important;
}
.el-menu--horizontal>.el-menu-item { border-bottom: 2px solid transparent;
}
.el-menu--horizontal>.el-menu-item.is-active { border-bottom-color: var(--brand-accent) !important; color: #fff !important;
}
.el-menu--horizontal>.el-menu-item:hover { color: var(--brand-accent) !important;
}
/* 文字按钮颜色保持一致 */
.auth-buttons .el-button--text { color: #333;
}
.logo span { color:#333;
}

/* 页面背景柔和化 */
body, #app { background: var(--brand-bg-soft);
}

/* 导航栏背景 & 交互 */
.nav-container { background: var(--brand-nav-bg);
}
.el-menu-demo { background: var(--brand-nav-bg) !important;
}
.el-menu--horizontal>.el-menu-item {
  background: transparent !important;
}
.el-menu--horizontal>.el-menu-item.is-active {
  border-bottom-color: var(--brand-accent) !important;
  color: var(--brand-accent) !important;
}
.el-menu--horizontal>.el-menu-item:hover {
  color: var(--brand-accent) !important;
}

/* 页脚渐变同步 */
.footer, .footer::before {
  background: linear-gradient(135deg, var(--brand-gradient-start) 0%, var(--brand-gradient-end) 100%) !important;
}
.footer-logo { color: var(--brand-accent);
}
.footer-links a i { color: var(--brand-primary);
}
.social-links a:hover { background: var(--brand-primary);
}

/* 主内容区阴影/卡片背景可根据需要统一 */
.el-card { border-color: #e3eef5;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 头部样式 */
.header {
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  color: #333;
  padding: 0;
  height: 60px !important;
  line-height: 60px;
}
.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 20px;
}
.logo {
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s;
}
.logo:hover {
  color: #ffd04b;
}
.logo-image {
  height: 34px;
  width: auto;
  margin-right: 10px;
  display: block;
}
.auth-buttons .el-button--text {
  color: #333;
}

/* 导航栏样式 */
.nav-container {
  display: flex;
  justify-content: center;
  background-color: #545c64;
}
.el-menu-demo {
  max-width: 1200px;
  width: 100%;
  justify-content: center;
}
.el-menu--horizontal>.el-menu-item {
  height: 60px;
  line-height: 60px;
  border-bottom: 2px solid transparent;
}
.el-menu--horizontal>.el-menu-item:hover,
.el-menu--horizontal>.el-menu-item.is-active {
  border-bottom-color: #ffd04b;
}

/* 主要内容区域 */
.main-container {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  width: 100%;
}

/* 页脚样式 */
.footer {
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
  color: white;
  margin-top: auto;
  padding: 0;
  height: auto !important;
  /* 覆盖 Element UI 的默认高度 */
  min-height: auto;
  width: 100%;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
  z-index: 0;
}
.footer>* {
  position: relative;
  z-index: 1;
}

/* 主要页脚内容 */
.footer-main {
  padding: 40px 0;
  width: 100%;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-section {
  margin-bottom: 20px;
  height: 100%;
}
.footer-section h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ecf0f1;
  padding-bottom: 8px;
  border-bottom: 2px solid #3498db;
  display: inline-block;
}

/* Logo 区域 */
.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: bold;
  color: #3498db;
}
.footer-logo-image {
  height: 30px;
  width: auto;
  margin-right: 10px;
  display: block;
}
.footer-section p {
  line-height: 1.6;
  color: #bdc3c7;
  margin-bottom: 15px;
  font-size: 14px;
}

/* 社交媒体链接 */
.social-links {
  display: flex;
  gap: 10px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 16px;
}
.social-links a:hover {
  background: #3498db;
  transform: translateY(-2px);
}

/* 页脚链接列表 */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: #bdc3c7;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  padding: 4px 0;
  font-size: 14px;
}
.footer-links a i {
  margin-right: 8px;
  width: 16px;
  color: #3498db;
}
.footer-links a:hover {
  color: #3498db;
  padding-left: 5px;
}

/* 联系信息 */
.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}
.contact-item i {
  font-size: 16px;
  color: #3498db;
  margin-right: 10px;
  margin-top: 2px;
  min-width: 18px;
}
.contact-item div strong {
  display: block;
  color: #ecf0f1;
  font-weight: bold;
  margin-bottom: 3px;
  font-size: 14px;
}
.contact-item div p {
  color: #bdc3c7;
  margin: 0;
  line-height: 1.4;
  font-size: 13px;
}

/* 页脚底部 */
.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 0;
  width: 100%;
}
.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.copyright {
  flex: 1;
}
.copyright p {
  margin: 0;
  color: #bdc3c7;
  font-size: 14px;
  line-height: 1.4;
}
.footer-bottom-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.footer-bottom-links a {
  color: #bdc3c7;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
  position: relative;
}
.footer-bottom-links a:hover {
  color: #3498db;
}
.footer-bottom-links a:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -8px;
  color: #7f8c8d;
}

/* 响应式设计 */
@media (max-width: 768px) {
.header-content,
  .footer-content {
    flex-direction: column;
    height: auto;
    padding: 10px;
}
.logo {
    margin-bottom: 10px;
}
.main-container {
    padding: 10px;
}

  /* 页脚响应式 */
.footer-main {
    padding: 30px 0;
}
.footer-content {
    padding: 0 15px;
}
.footer-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
}
.footer-section {
    margin-bottom: 25px;
    text-align: center;
}
.footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 0 15px;
}
.footer-bottom-links {
    justify-content: center;
    gap: 10px;
}
.footer-bottom-links a:not(:last-child)::after {
    right: -6px;
}
.contact-item {
    margin-bottom: 12px;
    justify-content: center;
}
.social-links {
    justify-content: center;
}
.footer-logo {
    justify-content: center;
    font-size: 16px;
}
}
.beian a {
  color: #bdc3c7;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}
/* 兼容旧样式：去掉 .logo i 的占位 */
.logo i, .footer-logo i { display: none;
}


.home[data-v-782782c7] {
  padding: 20px;
  background-color: #f8fafc;
  min-height: 100vh;
}
.main-container[data-v-782782c7] {
  max-width: 1400px;
  margin: 0 auto;
}
.main-content[data-v-782782c7] {
  margin-top: 20px;
}

/* 快速体验区域 */
.demo-card[data-v-782782c7] {
  border-radius: 12px;
  height: 100%;
}
.demo-title[data-v-782782c7] {
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
}
.demo-title i[data-v-782782c7] {
  margin-right: 8px;
  color: #409eff;
}
.demo-controls[data-v-782782c7] {
  padding-right: 20px;
}
.demo-preview[data-v-782782c7] {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  background-color: #f9fafb;
  border-radius: 8px;
  border: 2px dashed #d1d5db;
}

/* 工具面板 */
.tools-panel[data-v-782782c7] {
  background: white;
  border-radius: 12px;
  padding: 24px;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.panel-header[data-v-782782c7] {
  text-align: center;
  margin-bottom: 30px;
}
.panel-header h2[data-v-782782c7] {
  margin: 0 0 8px 0;
  font-size: 22px;
  font-weight: 600;
  color: #2d3748;
}
.panel-header p[data-v-782782c7] {
  margin: 0;
  font-size: 14px;
  color: #718096;
}
.tool-buttons[data-v-782782c7] {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tool-button-item[data-v-782782c7] {
  display: flex;
  align-items: center;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
}
.tool-button-item[data-v-782782c7]:hover {
  border-color: #409eff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(64, 158, 255, 0.15);
}
.tool-button-icon[data-v-782782c7] {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
}
.qrcode-icon[data-v-782782c7] {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}
.barcode-icon[data-v-782782c7] {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}
.tool-button-icon i[data-v-782782c7] {
  font-size: 28px;
}
.tool-button-content[data-v-782782c7] {
  flex: 1;
}
.tool-button-content h3[data-v-782782c7] {
  margin: 0 0 6px 0;
  font-size: 16px;
  font-weight: 600;
  color: #2d3748;
}
.tool-button-content p[data-v-782782c7] {
  margin: 0 0 12px 0;
  font-size: 13px;
  color: #718096;
  line-height: 1.4;
}
.tool-button-content .el-button[data-v-782782c7] {
  font-size: 13px;
  padding: 6px 16px;
}

/* 表单样式 */
.el-form-item[data-v-782782c7] {
  margin-bottom: 20px;
}
.el-input__inner[data-v-782782c7], .el-textarea__inner[data-v-782782c7] {
  border-radius: 8px;
}
.el-select .el-input__inner[data-v-782782c7] {
  border-radius: 8px;
}

/* 响应式设计 */
@media (max-width: 768px) {
.home[data-v-782782c7] {
    padding: 10px;
}
.main-content[data-v-782782c7] {
    flex-direction: column;
}
.main-content .el-col[data-v-782782c7] {
    width: 100%;
    margin-bottom: 20px;
}
.demo-controls[data-v-782782c7] {
    padding-right: 0;
    margin-bottom: 20px;
}
.tool-button-item[data-v-782782c7] {
    padding: 16px;
}
.tool-button-icon[data-v-782782c7] {
    width: 48px;
    height: 48px;
}
.tool-button-icon i[data-v-782782c7] {
    font-size: 24px;
}
}


.vt-wrapper[data-v-0a48fa86] { border:1px solid #ebeef5; font-size:12px; background:#fff;
}
.vt-header[data-v-0a48fa86] { display:flex; background:#f5f7fa; border-bottom:1px solid #ebeef5; position:sticky; top:0; z-index:2;
}
.vt-th[data-v-0a48fa86] { flex:1 0 0; padding:6px 8px; font-weight:600; border-right:1px solid #ebeef5;
}
.vt-th[data-v-0a48fa86]:last-child, .vt-td[data-v-0a48fa86]:last-child { border-right:none;
}
.vt-body[data-v-0a48fa86] { overflow:auto; height:480px; position:relative; font-size:12px;
}
.vt-row[data-v-0a48fa86] { display:flex; border-bottom:1px solid #f0f0f0; min-height:36px; box-sizing:border-box;
}
.vt-td[data-v-0a48fa86] { flex:1 0 0; padding:4px 6px; display:flex; align-items:center; border-right:1px solid #f5f5f5;
}
.vt-input[data-v-0a48fa86] { width:100%; border:1px solid #dcdfe6; height:24px; font-size:12px; padding:0 4px; box-sizing:border-box; border-radius:2px;
}
.vt-input[data-v-0a48fa86]:focus { outline:none; border-color:#409EFF;
}
.vt-op[data-v-0a48fa86] { width:60px; flex:0 0 60px; text-align:center;
}
.vt-btn[data-v-0a48fa86] { cursor:pointer; background:#f56c6c; border:none; color:#fff; padding:4px 6px; border-radius:3px; font-size:12px;
}
.vt-btn[data-v-0a48fa86]:hover { opacity:.85;
}


.batch-qrcode-container[data-v-4e1feff4] {
  padding: 20px;
  background-color: #f5f7fa;
  min-height: 100vh;
}
.page-header[data-v-4e1feff4] {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
}
.page-header h1[data-v-4e1feff4] {
  margin: 10px 0;
  font-size: 28px;
  font-weight: bold;
}
.page-header p[data-v-4e1feff4] {
  margin: 0;
  opacity: 0.9;
}
.main-config-section[data-v-4e1feff4] {
  margin-bottom: 20px;
}
.clearfix[data-v-4e1feff4] {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-buttons[data-v-4e1feff4] {
  display: flex;
  gap: 8px;
}
.section-header[data-v-4e1feff4] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e4e7ed;
}
.section-title[data-v-4e1feff4] {
  font-weight: bold;
  color: #303133;
  font-size: 16px;
}
.data-actions[data-v-4e1feff4] {
  display: flex;
  gap: 8px;
}
.config-group[data-v-4e1feff4] {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #fafbfc;
  border-radius: 6px;
  border: 1px solid #e4e7ed;
}
.group-title[data-v-4e1feff4] {
  margin: 0 0 15px 0;
  color: #606266;
  font-size: 14px;
  font-weight: bold;
  padding-bottom: 8px;
  border-bottom: 1px solid #e4e7ed;
}
.preview-container[data-v-4e1feff4] {
  position: relative;
  background: #f8f9fa;
  border: 1px solid #dcdfe6;
  border-radius: 8px;
  padding: 30px;
  margin: 0 auto;
  max-width: 800px;
  min-height: 400px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}
.single-label-preview[data-v-4e1feff4] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.label-info[data-v-4e1feff4] {
  text-align: center;
  background: white;
  padding: 15px;
  border-radius: 6px;
  border: 1px solid #e4e7ed;
  max-width: 400px;
}
.label-info p[data-v-4e1feff4] {
  margin: 8px 0;
  color: #606266;
}
.label-info strong[data-v-4e1feff4] {
  color: #303133;
}
.preview-page[data-v-4e1feff4] {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
}
.qr-label-item[data-v-4e1feff4] {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.qr-content[data-v-4e1feff4] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-code-container[data-v-4e1feff4] {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  background: transparent !important;
}
.qr-code-container canvas[data-v-4e1feff4] {
  background: transparent !important;
}
.qr-text[data-v-4e1feff4] {
  text-align: center;
  font-weight: bold;
  flex-shrink: 0;
}

/* 文字位置布局 */
.text-top-layout .qr-content[data-v-4e1feff4] {
  flex-direction: column-reverse; /* 文字在上，二维码在下 */
}
.text-bottom-layout .qr-content[data-v-4e1feff4] {
  flex-direction: column; /* 二维码在上，文字在下 */
}

/* 左右位置时的布局 */
.text-left-layout .qr-content[data-v-4e1feff4] {
  flex-direction: row-reverse; /* 文字在左，二维码在右 */
}
.text-right-layout .qr-content[data-v-4e1feff4] {
  flex-direction: row; /* 二维码在左，文字在右 */
}

/* 左右位置时的竖直文字样式 */
.text-left-layout .qr-text[data-v-4e1feff4],
.text-right-layout .qr-text[data-v-4e1feff4] {
  writing-mode: vertical-rl !important;
  text-orientation: upright !important;
  text-align: center !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  letter-spacing: 1px !important;
}
.page-info[data-v-4e1feff4] {
  position: absolute;
  bottom: 5px;
  right: 10px;
  font-size: 12px;
  color: #999;
}

/* 响应式设计 */
@media (max-width: 768px) {
.batch-qrcode-container[data-v-4e1feff4] {
    padding: 10px;
}
.page-header[data-v-4e1feff4] {
    padding: 20px 10px;
}
.page-header h1[data-v-4e1feff4] {
    font-size: 24px;
}
.preview-container[data-v-4e1feff4] {
    width: 100%;
    padding: 10mm;
}
}

/* 文件名验证错误对话框样式 */
.filename-validation-alert .el-message-box__message[data-v-4e1feff4] {
  white-space: pre-line;
  font-family: monospace;
  max-height: 300px;
  overflow-y: auto;
}


.batch-barcode-container[data-v-ebd3b4fc] {
  padding: 20px;
  background-color: #f5f7fa;
  min-height: 100vh;
}
.page-header[data-v-ebd3b4fc] {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
}
.page-header h1[data-v-ebd3b4fc] {
  margin: 10px 0;
  font-size: 28px;
  font-weight: bold;
}
.page-header p[data-v-ebd3b4fc] {
  margin: 0;
  opacity: 0.9;
}
.main-config-section[data-v-ebd3b4fc] {
  margin-bottom: 20px;
}
.clearfix[data-v-ebd3b4fc] {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-buttons[data-v-ebd3b4fc] {
  display: flex;
  gap: 8px;
}
.section-header[data-v-ebd3b4fc] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e4e7ed;
}
.section-title[data-v-ebd3b4fc] {
  font-weight: bold;
  color: #303133;
  font-size: 16px;
}
.data-actions[data-v-ebd3b4fc] {
  display: flex;
  gap: 8px;
}
.config-group[data-v-ebd3b4fc] {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #fafbfc;
  border-radius: 6px;
  border: 1px solid #e4e7ed;
}
.group-title[data-v-ebd3b4fc] {
  margin: 0 0 15px 0;
  color: #606266;
  font-size: 14px;
  font-weight: bold;
  padding-bottom: 8px;
  border-bottom: 1px solid #e4e7ed;
}
.preview-container[data-v-ebd3b4fc] {
  position: relative;
  background: #f8f9fa;
  border: 1px solid #dcdfe6;
  border-radius: 8px;
  padding: 30px;
  margin: 0 auto;
  max-width: 800px;
  min-height: 400px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}
.single-label-preview[data-v-ebd3b4fc] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.label-info[data-v-ebd3b4fc] {
  text-align: center;
  background: white;
  padding: 15px;
  border-radius: 6px;
  border: 1px solid #e4e7ed;
  max-width: 400px;
}
.label-info p[data-v-ebd3b4fc] {
  margin: 8px 0;
  color: #606266;
}
.label-info strong[data-v-ebd3b4fc] {
  color: #303133;
}
.barcode-label-item[data-v-ebd3b4fc] {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.barcode-content[data-v-ebd3b4fc] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.barcode-container[data-v-ebd3b4fc] {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}
.page-info[data-v-ebd3b4fc] {
  position: absolute;
  bottom: 5px;
  right: 10px;
  font-size: 12px;
  color: #999;
}

/* 响应式设计 */
@media (max-width: 768px) {
.batch-barcode-container[data-v-ebd3b4fc] {
    padding: 10px;
}
.page-header[data-v-ebd3b4fc] {
    padding: 20px 10px;
}
.page-header h1[data-v-ebd3b4fc] {
    font-size: 24px;
}
.preview-container[data-v-ebd3b4fc] {
    width: 100%;
    padding: 10mm;
}
}

