body {
    min-height: 100vh;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

/* 违章查询页面样式 */
.violation-list {
    padding: 15px;
}

.top-bar {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 10px 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.back-btn {
    font-size: 20px;
    color: #333;
    margin-right: 15px;
    cursor: pointer;
}

.page-title {
    font-size: 16px;
    font-weight: 500;
}

.violation-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.violation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.car-info {
    display: flex;
    flex-direction: column;
}

.car-plate {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
}

.car-model {
    font-size: 14px;
    color: #666;
}

.violation-status {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.unpaid {
    background-color: #ffe0e0;
    color: #ff4d4f;
}

.paid {
    background-color: #e6f7ff;
    color: #1890ff;
}

.violation-details {
    border-top: 1px solid #eee;
    padding-top: 12px;
    margin-bottom: 12px;
}

.violation-details > div {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.violation-details i {
    margin-right: 10px;
    color: #999;
    width: 16px;
}

.violation-time, .violation-location, .violation-reason, .violation-fine {
    font-size: 14px;
    color: #333;
}

.violation-actions {
    display: flex;
    justify-content: flex-end;
}

.pay-btn {
    background-color: #ff6e40;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}

.no-violations {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    color: #999;
}

.no-violations.hidden {
    display: none;
}

.no-data-icon {
    font-size: 48px;
    color: #1890ff;
    margin-bottom: 15px;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .violation-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .violation-status {
        margin-top: 8px;
    }
} 