body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f7fa;
    min-height: 100vh;
    padding-bottom: 70px;
}

.card {
    border: none;
    border-radius: 12px;
}

.card.shadow {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
}

.navbar-brand {
    font-weight: bold;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* 移动端底部导航 */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #fff;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #6c757d;
    font-size: 12px;
    padding: 5px 10px;
    transition: color 0.2s;
}

.mobile-bottom-nav .nav-item i {
    font-size: 22px;
    margin-bottom: 2px;
}

.mobile-bottom-nav .nav-item:hover {
    color: #0d6efd;
}

.mobile-bottom-nav .nav-item.active {
    color: #0d6efd;
}

.mobile-bottom-nav .nav-item.text-danger {
    color: #dc3545;
}

.mobile-bottom-nav .nav-item.text-danger:hover {
    color: #bb2d3b;
}

/* 响应式优化 */
@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

/* 卡片悬浮效果 */
a.card {
    transition: transform 0.2s, box-shadow 0.2s;
}

a.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

/* 表单图标对齐 */
.input-group-text {
    background-color: #f8f9fa;
    border-right: none;
}

.input-group .form-control {
    border-left: none;
}

.input-group:focus-within .input-group-text {
    border-color: #86b7fe;
}

.input-group:focus-within .form-control {
    border-color: #86b7fe;
}
