/* 欢喜筑巢商家端样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', sans-serif; background: #f7f8fa; -webkit-font-smoothing: antialiased; }

/* 登录页 */
#loginPage { min-height: 100vh; background: linear-gradient(180deg, #1e3c72 0%, #2a5298 50%, #f7f8fa 50%); display: flex; align-items: center; justify-content: center; padding: 20px; }
.login-container { width: 100%; max-width: 380px; }
.login-logo { text-align: center; margin-bottom: 16px; }
.login-logo-img { height: 60px; }
.logo-circle { display: inline-flex; width: 72px; height: 72px; background: #fff; border-radius: 50%; align-items: center; justify-content: center; font-size: 32px; color: #1e3c72; font-weight: bold; box-shadow: 0 4px 15px rgba(0,0,0,0.15); }
.login-container h2 { text-align: center; color: #fff; font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.login-subtitle { text-align: center; color: rgba(255,255,255,0.8); font-size: 13px; margin-bottom: 30px; }
.login-tip { text-align: center; color: #999; font-size: 12px; margin-top: 20px; }

/* 通用布局 */
.page-container { padding: 16px; padding-bottom: 60px; min-height: 100vh; background: #f7f8fa; }
.page-header { background: #1e3c72; color: #fff; padding: 16px 20px; font-size: 17px; font-weight: 600; position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; }
.page-header .back-btn { color: #fff; font-size: 20px; cursor: pointer; }

/* 卡片样式 */
.card { background: #fff; border-radius: 12px; padding: 16px; margin-bottom: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.card-title { font-size: 16px; font-weight: 600; color: #333; }
.card-subtitle { font-size: 13px; color: #999; }

/* 订单卡片 */
.order-card { background: #fff; border-radius: 12px; padding: 16px; margin-bottom: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); position: relative; }
.order-card .order-no { font-size: 13px; color: #999; margin-bottom: 8px; }
.order-card .order-customer { font-size: 16px; font-weight: 600; color: #333; margin-bottom: 6px; }
.order-card .order-info { display: flex; gap: 16px; font-size: 13px; color: #666; margin-bottom: 10px; }
.order-card .order-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.order-card .tag { display: inline-block; padding: 2px 10px; border-radius: 10px; font-size: 11px; }
.tag-blue { background: #e3f2fd; color: #1976d2; }
.tag-green { background: #e8f5e9; color: #388e3c; }
.tag-orange { background: #fff3e0; color: #f57c00; }
.tag-red { background: #fce4ec; color: #d32f2f; }
.tag-gray { background: #f5f5f5; color: #999; }
.order-actions { display: flex; gap: 10px; margin-top: 12px; justify-content: flex-end; }
.order-actions .van-button { font-size: 13px; }

/* 个人中心 */
.profile-section { margin-bottom: 16px; }
.profile-section .section-title { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 12px; padding-left: 8px; border-left: 3px solid #1e3c72; }
.profile-cell { background: #fff; border-radius: 10px; padding: 14px 16px; margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.profile-cell:hover { background: #f9f9f9; }
.profile-cell .cell-icon { font-size: 20px; margin-right: 12px; color: #1e3c72; width: 24px; text-align: center; }
.profile-cell .cell-content { flex: 1; }
.profile-cell .cell-title { font-size: 15px; color: #333; }
.profile-cell .cell-desc { font-size: 12px; color: #999; margin-top: 2px; }
.profile-cell .cell-arrow { font-size: 14px; color: #ccc; }

/* 空状态 */
.empty-state { text-align: center; padding: 60px 20px; color: #999; }
.empty-state .empty-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.3; }
.empty-state p { font-size: 14px; }

/* 文本省略 */
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ellipsis-2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

/* 加载动画 */
.loading-more { text-align: center; padding: 20px; color: #999; font-size: 13px; }
