/* 本地补充样式：只定义原站 index.css / shop-home.css 未覆盖的类，不改动原站视觉 */
/* 查单页、商品页、导航的样式均由原站 assets/user/css/index.css 原样提供 */

.local-hint { color: #94a3b8; font-size: 12px; }
.dropdown-menu.show { display: block; }
.dropdown-menu { border-radius: 12px; font-size: 13px; }
.dropdown-item { padding: 8px 14px; }
.user-login-box .dropdown-toggle { border-radius: 12px; }

/* 站点头像：统一使用用户提供的品牌图 assets/brand/myc.jpg */
.member-avatar { text-align: center; margin-bottom: 12px; }
.member-avatar img { width: 104px; height: 104px; object-fit: cover; border-radius: 16px; background: #fff; border: 1px solid #e9ecef; box-shadow: 0 6px 20px rgba(20,16,60,.12); }
.member-avatar-img { width: 64px; height: 64px; object-fit: cover; border-radius: 16px; background: #fff; border: 1px solid #e9ecef; box-shadow: 0 4px 14px rgba(20,16,60,.10); }
.nav-avatar { width: 20px; height: 20px; object-fit: cover; border-radius: 6px; vertical-align: -4px; margin-right: 4px; background: #fff; }
.brand-logo, .brand-icon { object-fit: cover; background: #fff; }
.nav-icon, [class*="fa-"]:not(.fa-spin) { display: inline-block; min-width: 1em; }
.icon-spin { animation: acg-spin 1s linear infinite; }
@keyframes acg-spin { to { transform: rotate(360deg); } }

/* 后台可配置页脚 */
.site-footer { max-width: 1600px; margin: 0 auto; padding: 0 20px 24px; text-align: center; font-size: 12px; color: #9ca3af; }

/* 商品页新增控件（原站 setVar 开关打开时才出现） */
.image-code { height: 48px; border-radius: 8px; cursor: pointer; border: 1px solid #e5e7eb; }
.captcha-img { max-width: 100%; }
.optional-card { display: block; }
.goods-tag--red { background: #fee2e2; color: #dc2626; }
.wholesale-table { font-size: 12px; }

/* 查单页查询密码区块（原站 query.js 会渲染这些节点） */
.shipment-title { font-weight: 700; font-size: 14px; }
.card-password-section .password-form { margin-top: 8px; }
.card-loading { padding: 14px 0; color: #6b7280; font-size: 13px; }
.card-loading .loading-content { display: flex; align-items: center; gap: 8px; }
.payment-icon { width: 18px; height: 18px; object-fit: contain; margin-right: 4px; }
.card-content { margin-top: 8px; }

/* 卡密标准格式：原站 query.js / dashboard/index.js 把 secret 用 innerHTML 插入，
   加 pre-line 才能让「用户名：… / 邮箱：…」逐行显示，买家一眼能看懂 */
.card-display, .md-secret__code {
  white-space: pre-line !important;
  word-break: break-word;
  line-height: 1.85;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Courier New", monospace;
}
