* {
    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(to bottom, #f5f7fa 0%, #ffffff 100%);
    min-height: 100vh;
    padding: 0;
    padding-bottom: 80px;
}

/* 顶部图片 - 不需要容器 */
.banner {
    width: 100%;
    padding: 0;
    margin: 0;
}

.banner img {
    width: 100%;
    display: block;
}

/* 输入框和查询按钮容器 */
.form-container {
    background: white;
    margin: 15px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.form-group label span {
    color: #ff4757;
}

.form-control {
    width: 100%;
    height: 50px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0 15px;
    font-size: 15px;
    transition: all 0.3s;
    background: #f8f9fa;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.submit-btn {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #5b6dee 0%, #7b68ee 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    margin-top: 10px;
}

.submit-btn:active {
    transform: scale(0.98);
}

.submit-btn .count {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
}

/* 协议勾选容器 */
.agreement-container {
    background: white;
    margin: 15px;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.agreement-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 12px;
    color: #666;
}

.agreement-item:last-child {
    margin-bottom: 0;
}

.agreement-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    accent-color: #5b6dee;
    flex-shrink: 0;
}

.agreement-item label {
    line-height: 1.5;
}

.agreement-item a {
    color: #5b6dee;
    text-decoration: none;
}

/* 查询动态容器 */
.query-history-container {
    background: white;
    margin: 15px;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.query-title {
    color: #5b6dee;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
}

.history-item {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
}

.history-item::before {
    content: '';
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background-image: url('../img/fdj.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
}

/* 不良案件记录容器 */
.case-container {
    background: white;
    margin: 15px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

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

.section-title {
    color: #5b6dee;
    font-size: 16px;
    font-weight: 500;
}

.example-btn {
    background: linear-gradient(135deg, #5b6dee 0%, #7b68ee 100%);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.example-btn:active {
    transform: scale(0.95);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 12px;
}

.case-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.case-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.case-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.case-label {
    font-size: 13px;
    color: #333;
}

.bottom-tabs {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #999;
    flex: 1;
}

.tab-item.active {
    color: #5b6dee;
}

.tab-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 5px;
}

.tab-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tab-label {
    font-size: 12px;
}

.content-wrapper {
    padding-bottom: 70px;
}
