/* 全局样式 */
body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: #333;
}

.card {
    border-radius: 10px;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
    font-weight: bold;
}

.btn-primary {
    background: linear-gradient(45deg, #4a90e2, #7b68ee);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(45deg, #3a80d2, #6b58de);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

.btn-primary.active {
    background: linear-gradient(45deg, #3a80d2, #6b58de);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

/* 图表容器样式 */
.chart-container {
    position: relative;
    height: 220px;
    width: 100%;
}

/* 表格样式 */
.table {
    font-size: 0.9rem;
}

.table th {
    background-color: #f8f9fa;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .card {
        margin-bottom: 15px;
    }
    
    .chart-container {
        height: 180px;
    }
}

/* 自定义警报框样式 */
.alert {
    border-radius: 8px;
}

.alert h6 {
    font-weight: 600;
    margin-bottom: 10px;
}

/* 步骤分割线样式 */
.d-flex.align-items-center {
    margin: 30px 0;
}

/* 输入框焦点样式 */
.form-control:focus, .form-select:focus {
    border-color: #7b68ee;
    box-shadow: 0 0 0 0.25rem rgba(123, 104, 238, 0.25);
}

/* 表格悬停行样式 */
.table-hover tbody tr:hover {
    background-color: rgba(123, 104, 238, 0.05);
}

/* 结果框样式 */
#prepaymentResult {
    transition: all 0.5s ease-in-out;
}

/* 页脚样式 */
footer {
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}
