/* 聚彩售后统一样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

/* 全局渐变背景 */
body {
    min-height: 100vh;
    background: linear-gradient(-45deg, #2c3e50, #3498db, #8e44ad, #2980b9);
    background-size: 400% 400%;
    animation: bgMove 15s ease infinite;
    color: #fff;
    padding: 60px 20px;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

@keyframes bgMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 首页容器 */
.container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

h1 {
    font-size: 44px;
    margin-bottom: 10px;
    font-weight: 700;
}

.desc {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 50px;
}

/* 卡片布局 */
.card-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 35px 25px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    text-align: left;
}

.card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.18);
}

.card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card p {
    opacity: 0.9;
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: 12px 12px;
    background: rgba(255,255,255,0.25);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn:hover {
    background: #ffffff;
    color: #2c3e50;
    transform: scale(1.05);
}

/* 登录表单 */
.login-form .form-item {
    margin-bottom: 15px;
}

.login-form input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 15px;
}

.login-form input::placeholder {
    color: rgba(255,255,255,0.7);
}

.login-form input:focus {
    outline: none;
    border-color: #3498db;
}

/* 错误提示 */
.error-tip {
    color: #ff6b6b;
    font-size: 14px;
    margin-bottom: 10px;
    text-align: center;
}

/* 标题通用 */
.title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin: 30px 0;
    color: #fff;
}

/* 查询/详情卡片 */
.result-card, .query-card {
    max-width: 800px;
    margin: 0 auto 20px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 30px;
    color: #fff;
}

/* 维修信息 */
.repair-info {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
}

/* 物流轨迹 */
.logistics-trace {
    border: 1px solid rgba(255,255,255,0.2);
    padding: 10px;
    border-radius: 6px;
    margin-top: 10px;
    background: rgba(255,255,255,0.05);
}

/* 支付按钮 */
.pay-btn {
    color: #fff;
    background: #ff6700;
    border: none;
    padding: 5px 15px;
    border-radius: 4px;
    text-decoration: none;
}

.pay-btn:hover {
    background: #ff8800;
    color: #fff;
}

/* 售后图片 */
.after-sale-img {
    margin: 15px 0;
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    background: rgba(255,255,255,0.05);
}

.after-sale-img img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.after-sale-img img:hover {
    transform: scale(1.02);
}

.img-note {
    color: #eee;
    font-size: 14px;
    margin-bottom: 8px;
}

/* 文字颜色 */
.text-muted {
    color: rgba(255,255,255,0.7) !important;
}

/* 表格透明 + 边框，和售后图片板块样式完全一致 */
.table {
    color: #fff;
    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 6px;
}
.table tr,
.table td {
    background: transparent !important;
}

/* 表单样式 */
.hint {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin-bottom: 15px;
}

.form-label {
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.form-control {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
}

.form-control::placeholder {
    color: rgba(255,255,255,0.7);
}

.btn-primary {
    background: rgba(255,255,255,0.25);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
}

.btn-primary:hover {
    background: #fff;
    color: #2c3e50;
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.35);
    color: #fff;
}

.scan-tips {
    color: #ff9900;
    font-size: 14px;
    margin-top: 8px;
    line-height: 1.5;
}

.sel-express {
    background: #ffffff !important;
    color: #222222 !important;
    padding: 3px 6px;
    border-radius: 3px;
    border: none;
}

/* 扫码弹窗 */
.scan-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.scan-modal.active {
    display: flex;
}

#qr-reader {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

#qr-reader video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transform: scaleX(1) !important;
}

.wx-scan-ux {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.wx-scan-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    border: 3px solid #10B981;
    border-radius: 12px;
    box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.6);
}

.wx-scan-box::before,
.wx-scan-box::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid #10B981;
}

.wx-scan-box::before {
    top: -3px;
    left: -3px;
    border-right: none;
    border-bottom: none;
}

.wx-scan-box::after {
    bottom: -3px;
    right: -3px;
    border-left: none;
    border-top: none;
}

.wx-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #10B981;
    animation: wxScan 1.5s linear infinite;
}

@keyframes wxScan {
    0% { top: 0; }
    100% { top: 100%; }
}

.wx-close-btn {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid #fff;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 16px;
    z-index: 10;
}

/* 手机适配 */
@media (max-width:768px) {
    h1 { font-size: 30px; }
    .desc { font-size: 16px; }
    .title { font-size: 24px; }
}
/* 右上角标题 - 提高权重确保不被覆盖 */
.top-nav-title {
            position: fixed;
            top: 15px;
            right: 110px; /* 距离右侧菜单按钮的距离 */
            z-index: 9999;
            color: #fff;
            font-size: 18px;
            font-weight: 600;
            line-height: 38px; /* 和菜单按钮高度对齐 */
            text-shadow: 0 2px 4px rgba(0,0,0,0.1);
            white-space: nowrap;
        }

        /* 移动端适配 */
        @media (max-width:768px) {
            .top-nav-title {
                top: 10px;
                right: 85px;
                font-size: 15px;
                line-height: 32px;
            }
        }