/* 自定义样式 */

/* 渐变背景 */
.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

/* 卡片阴影效果 */
.card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

/* 按钮样式增强 */
.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-outline-info:hover,
.btn-outline-warning:hover,
.btn-outline-danger:hover,
.btn-outline-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* 导航栏样式 */
.navbar-brand {
    font-weight: 600;
}

/* 表单样式增强 */
.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* 登录页面样式 */
.min-vh-80 {
    min-height: 80vh;
}

/* 响应式文本 */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* 自定义颜色 */
.text-primary-custom {
    color: #667eea !important;
}

.bg-primary-custom {
    background-color: #667eea !important;
}

/* 动画效果 */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 列表样式 */
.list-group-item {
    border-left: 3px solid transparent;
    transition: border-left-color 0.2s ease;
}

.list-group-item:hover {
    border-left-color: #007bff;
    background-color: #f8f9fa;
}

/* 表格样式 */
.table thead th {
    border-top: none;
    font-weight: 600;
    background-color: #f8f9fa;
}

/* 模态框样式 */
.modal-header {
    border-bottom: 2px solid #dee2e6;
}

/* 工具提示样式 */
.tooltip-inner {
    background-color: #333;
    color: white;
    font-size: 0.875rem;
}

/* 加载动画 */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
} 

/* 窄版容器，限制最大宽度以增强可读性 */
.container-narrow {
    max-width: 960px !important;
} 