/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* 头部样式 */
.header {
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    position: relative;
    min-height: 400px;
}

.header-content {
    position: relative;
    z-index: 2;
}

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

.page-title {
    font-size: 16px;
    color: #bdc3c7;
    margin: 0;
}

.status-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 14px;
    color: #ecf0f1;
}

.status-icon {
    background-color: #27ae60;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 10px;
}

.main-title {
    text-align: center;
    margin-bottom: 25px;
}

.main-title h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 8px;
    color: white;
}

.subtitle {
    font-size: 18px;
    color: #bdc3c7;
}

.features {
    text-align: center;
    margin-bottom: 30px;
    font-size: 15px;
    color: #95a5a6;
    line-height: 1.8;
}

.header-actions {
    display: flex;
    gap: 15px;
}

.user-action, .complaint-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    cursor: pointer;
    color: white;
    padding: 5px;
}

.user-action i, .complaint-action i {
    font-size: 20px;
    margin-bottom: 4px;
}

.complaint-action i {
    color: #27ae60;
}

/* 汽车图片 */
.car-image {
    position: absolute;
    bottom: -20px;
    right: 20px;
    z-index: 1;
}

.car-img {
    width: 280px;
    height: auto;
}

/* 主内容区域 */
.main-content {
    background-color: white;
    padding: 40px 20px 100px;
    margin-top: -10px;
    border-radius: 20px 20px 0 0;
    position: relative;
    z-index: 2;
}

.section-title {
    color: #2c3e50;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: left;
}

/* 查询网格 */
.query-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.query-item {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
}

.query-item:hover {
    border-color: #3498db;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.query-icon {
    width: 50px;
    height: 50px;
    background-color: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 20px;
}

.query-icon .icon-text {
    font-size: 12px;
    font-weight: bold;
}

.query-item h4 {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
}

.query-item p {
    color: #7f8c8d;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.query-price {
    color: #e74c3c;
    font-size: 14px;
    font-weight: bold;
}

/* 推荐图标 */
.recommend-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 6px rgba(255, 107, 107, 0.3);
    z-index: 1;
}

.recommend-badge i {
    font-size: 8px;
}

/* 底部导航 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    border-top: 1px solid #34495e;
    display: flex;
    padding: 8px 0;
    z-index: 1000;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #95a5a6;
    font-size: 11px;
    transition: color 0.2s;
    padding: 5px;
}

.nav-item.active {
    color: white;
}

.nav-item i {
    font-size: 18px;
    margin-bottom: 4px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header {
        padding: 15px;
        min-height: 350px;
    }
    
    .header-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }
    
    .page-title {
        text-align: left;
    }
    
    .main-title h2 {
        font-size: 32px;
    }
    
    .car-img {
        width: 250px;
    }
    
    .main-content {
        padding: 30px 15px 100px;
    }
    
    .query-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .query-item {
        padding: 12px;
    }
    
    .query-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .query-item h4 {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .query-item p {
        font-size: 11px;
        line-height: 1.3;
        margin-bottom: 8px;
    }
    
    .query-price {
        font-size: 12px;
    }
    
    .recommend-badge {
        top: 6px;
        right: 6px;
        padding: 3px 6px;
        font-size: 9px;
    }
    
    .recommend-badge i {
        font-size: 7px;
    }
    
    .header-actions {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .header {
        min-height: 300px;
    }
    
    .main-title h2 {
        font-size: 28px;
    }
    
    .car-img {
        width: 180px;
    }
    
    .query-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .query-item {
        padding: 10px;
    }
    
    .query-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .query-item h4 {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .query-item p {
        font-size: 10px;
        line-height: 1.2;
        margin-bottom: 6px;
    }
    
    .query-price {
        font-size: 11px;
    }
    
    .header-actions {
        gap: 8px;
    }
    
    .user-action, .complaint-action {
        font-size: 10px;
    }
    
    .user-action i, .complaint-action i {
        font-size: 16px;
    }
    
    .recommend-badge {
        top: 4px;
        right: 4px;
        padding: 2px 5px;
        font-size: 8px;
    }
    
    .recommend-badge i {
        font-size: 6px;
    }
}