* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #00FFFF 0%, #FFD700 50%, #1E90FF 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 400px;
    background: white;
    border-radius: 20px;
    padding: 25px 30px 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

.logo h1 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.logo p {
    color: #666;
    font-size: 14px;
}

/* 面包屑Tab切换样式 */
.tab-container {
    margin-bottom: 15px;
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e1e5e9;
    background: #f8f9fa;
}

.tab-item {
    flex: 1;
    padding: 12px 15px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-right: 1px solid #e1e5e9;
    color: #666;
    user-select: none;
}

.tab-item:last-child {
    border-right: none;
}

.tab-item:hover {
    background: #e9ecef;
}

.tab-item.active {
    background: #4F98E4;
    color: white;
    font-weight: 600;
}

.tab-item.active:hover {
    background: #3A7BC8;
}

/* 根据品牌调整标签颜色 */
.tab-item[data-brand="qingju"].active {
    background: #1ccac8; /* 青桔青 */
}

.tab-item[data-brand="meituan"].active {
    background: #f3ce3a; /* 美团黄 */
}

.tab-item[data-brand="hello"].active {
    background: #00aedf; /* 哈啰蓝 */
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.input-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
}

.input-group input:focus {
    border-color: #4F98E4;
    box-shadow: 0 0 0 3px rgba(79, 152, 228, 0.1);
}

.input-group input.error {
    border-color: #ff4444;
}

.input-group label.error {
    color: #ff4444;
}

/* 二维码区域样式 */
.qrcode-section {
    margin: 20px 0;
    padding: 20px;
    background: white;
    border-radius: 16px;
    border: 2px dashed #e1e5e9;
    text-align: center;
}

#qrcodeContainer {
    display: inline-block;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

#qrcodeContainer:hover {
    transform: scale(1.02);
}

/* 二维码占位矢量图标 */
#qrcodePlaceholder {
    cursor: not-allowed;
    filter: grayscale(100%) opacity(0.5); /* 灰度滤镜 */
}

#qrcodeImage {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    display: block;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    background-color: #f5f5f5;
    object-fit: contain;
}

.qrcode-tip {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

.qrcode-tip .title {
    color: #333;
    font-weight: 600;
}

.qrcode-tip strong {
    color: #4F98E4;
    font-weight: 600;
}

.footer {
    margin-top: 20px;
    text-align: center;
    color: #999;
    font-size: 12px;
}

@media (max-width: 400px) {
    .container {
        padding: 20px;
    }
    
    #qrcodeImage {
        width: 180px;
        height: 180px;
    }
    
    .tab-item {
        padding: 10px 12px;
        font-size: 13px;
    }
}