* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 头部 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.back-btn {
    font-size: 24px;
    cursor: pointer;
}

.title {
    font-size: 18px;
    font-weight: 600;
}

.phone-icon {
    font-size: 24px;
    cursor: pointer;
}

/* 搜索框 */
.search-box {
    padding: 20px;
    background-color: #fff;
}

.search-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
}

.search-box input:focus {
    outline: none;
    border-color: #07c160;
}

.search-btn {
    width: 100%;
    padding: 12px;
    background-color: #07c160;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #06ad56;
}

.search-btn:active {
    background-color: #059748;
}

/* 加载中 */
.loading {
    padding: 40px 20px;
    text-align: center;
    background-color: #fff;
}

.loading-text {
    font-size: 14px;
    color: #666;
}

#countdown {
    color: #07c160;
    font-weight: bold;
}

/* 结果框 */
.result-box {
    flex: 1;
    padding: 20px;
    background-color: #f5f5f5;
}

.result-title {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-label {
    font-size: 14px;
    color: #666;
}

#query_wechat {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* 投诉项 */
.complaint-item {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 3px solid #ff4d4f;
}

.complaint-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.complaint-date {
    font-size: 12px;
    color: #999;
}

.complaint-info {
    font-size: 13px;
    color: #333;
    line-height: 1.8;
}

.complaint-info-item {
    margin-bottom: 5px;
}

.info-label {
    color: #666;
    margin-right: 5px;
}

.info-value {
    color: #333;
}

.no-result {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 14px;
}

/* 底部导航 */
.footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
}

.footer-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 20px;
    color: #666;
    font-size: 12px;
    transition: color 0.3s;
}

.footer-btn.active {
    color: #07c160;
}

.footer-btn .icon {
    font-size: 24px;
    margin-bottom: 3px;
}

.footer-btn:hover {
    color: #07c160;
}

/* 响应式 */
@media (max-width: 600px) {
    .container {
        max-width: 100%;
    }
}

