/* 全局样式 */
body {
    font-family: 'Segoe UI', 'Microsoft YaHei', Arial, sans-serif;
    background-color: #f8f9fa;
    color: #2c3e50;
    transition: all 0.3s ease;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 全局渐变背景 */
.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 全局阴影效果 */
.card {
    border-radius: 16px;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    background: white;
}

.card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 登录页面样式 */
.card {
    border-radius: 16px;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.card-header {
    border-radius: 16px 16px 0 0;
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    border-bottom: none;
    color: white;
    padding: 1.5rem;
}

/* 侧边导航栏样式 */
.sidebar {
    height: 100vh;
    border-right: 1px solid #e9ecef;
    background-color: #ffffff;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    overflow-y: auto;
    width: 280px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.sidebar:hover {
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
    transform: translateX(2px);
}

.sidebar .position-sticky {
    top: 0;
}

.sidebar .text-center.py-4 {
    padding: 2rem 1rem !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #5a67d8;
}

.sidebar .text-center.py-4::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

.sidebar .text-center.py-4:hover::before {
    left: 100%;
}

.sidebar .text-center.py-4 h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sidebar .text-center.py-4 p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.sidebar .nav-link {
    color: #495057;
    padding: 0.9rem 1.2rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    margin: 0.3rem 0.8rem;
    position: relative;
    overflow: hidden;
    font-weight: 450;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.sidebar .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.sidebar .nav-link:hover {
    background-color: #f0f4f8;
    color: #667eea;
    transform: translateX(10px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.15);
}

.sidebar .nav-link:hover::before {
    transform: scaleY(1);
}

.sidebar .nav-link.active {
    background: linear-gradient(135deg, #e7f3ff, #d6eaff);
    color: #667eea;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
    border-left: 4px solid #667eea;
}

.sidebar .nav-link.active::before {
    transform: scaleY(1);
}

.sidebar .nav-link span[data-feather] {
    margin-right: 14px;
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
    color: inherit;
}

.sidebar .nav-link:hover span[data-feather] {
    transform: scale(1.2) rotate(8deg);
    color: #667eea;
}

.sidebar .badge {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.6rem;
    border-radius: 12px;
    animation: pulse 2s infinite;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #212529;
    box-shadow: 0 2px 6px rgba(250, 112, 154, 0.3);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

/* 主内容区域样式 */
main {
    min-height: 100vh;
    background-color: #f5f7fa;
    margin-left: 280px;
    transition: all 0.3s ease;
}

/* 顶部导航栏样式 */
header {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    z-index: 100;
    background: white;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 1px solid #e9ecef;
}

header .navbar-brand {
    font-weight: 700;
    color: #667eea;
    font-size: 1.2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

header .navbar-brand:hover {
    color: #764ba2;
    transform: scale(1.02);
}

header .nav-link {
    color: #495057;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin: 0 0.2rem;
}

header .nav-link:hover {
    color: #667eea;
    background-color: #f0f4f8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

header .dropdown-menu {
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border: none;
    padding: 0.5rem;
    background: white;
    margin-top: 0.5rem;
    animation: dropdownFadeIn 0.3s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header .dropdown-item {
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0.2rem 0;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
}

header .dropdown-item:hover {
    background-color: #f0f4f8;
    color: #667eea;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

header .dropdown-item span[data-feather] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    color: inherit;
}

header .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    animation: dropdownFadeIn 0.3s ease;
}

header .navbar-toggler {
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

header .navbar-toggler:hover {
    transform: scale(1.1);
    color: #667eea;
}

/* 快捷操作按钮样式 */
.module-btn {
    transition: all 0.3s ease;
    border-radius: 12px;
    font-weight: 500;
    padding: 0.8rem 1rem;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.module-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.module-btn:hover::before {
    left: 100%;
}

.module-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.module-btn span[data-feather] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
}

/* 统计卡片样式 */
.card.text-white {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    height: 160px;
}

.card.text-white::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.card.text-white:hover::before {
    left: 100%;
}

.card.text-white:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card.text-white .card-body {
    position: relative;
    z-index: 1;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card.text-white .card-body .d-flex {
    align-items: center;
}

.card.text-white .card-body h5 {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.card.text-white .card-body .display-4 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.card.text-white .card-body .display-4 span[data-feather] {
    width: 32px;
    height: 32px;
    opacity: 0.8;
}

.card.text-white .card-body a {
    position: relative;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.card.text-white .card-body a:hover {
    color: #ffffff;
    text-decoration: none;
    transform: translateX(8px);
}

.card.text-white .card-body a::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.card.text-white .card-body a:hover::after {
    transform: translateX(5px);
}

/* 卡片背景渐变 */
.card.bg-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.card.bg-success {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

.card.bg-info {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
}

.card.bg-danger {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%) !important;
}

.card.bg-warning {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%) !important;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .sidebar {
        width: 260px;
    }
    
    main {
        margin-left: 260px;
    }
    
    .row {
        gap: 1rem;
    }
    
    /* 调整统计卡片布局 */
    .card.text-white {
        height: 150px;
    }
}

@media (max-width: 992px) {
    .sidebar {
        width: 240px;
    }
    
    main {
        margin-left: 240px;
    }
    
    .card.text-white {
        height: 140px;
    }
    
    .card.text-white .card-body .display-4 {
        font-size: 2rem;
    }
    
    /* 调整表格显示 */
    .table {
        font-size: 0.9rem;
    }
    
    .table th,
    .table td {
        padding: 0.75rem;
    }
    
    /* 调整快捷操作按钮布局 */
    .row .col-md-2 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -240px;
        top: 0;
        height: 100vh;
        width: 240px;
        z-index: 1000;
        transition: left 0.3s ease;
        box-shadow: 2px 0 15px rgba(0, 0, 0, 0.15);
    }
    
    .sidebar.active {
        left: 0;
    }
    
    /* 添加侧边栏遮罩 */
    .sidebar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
        transition: opacity 0.3s ease;
    }
    
    .sidebar-backdrop.active {
        display: block;
        opacity: 1;
    }
    
    main {
        margin-left: 0;
    }
    
    .module-btn {
        font-size: 0.85rem;
        padding: 0.6rem;
        margin-bottom: 0.8rem;
    }
    
    .module-btn span[data-feather] {
        width: 16px;
        height: 16px;
    }
    
    .card.text-white {
        margin-bottom: 1.5rem;
        height: 130px;
    }
    
    .card.text-white .card-body {
        padding: 1.2rem;
    }
    
    .card.text-white .card-body .display-4 {
        font-size: 1.8rem;
    }
    
    .container-fluid {
        padding: 1.2rem;
    }
    
    /* 调整表格在小屏幕上的显示 */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    }
    
    .table {
        min-width: 640px;
        margin-bottom: 0;
    }
    
    /* 调整快捷操作按钮布局 */
    .row .col-md-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    /* 调整统计卡片布局 */
    .row .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    /* 调整最近服药计划和设备状态布局 */
    .row .col-md-8,
    .row .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding: 1rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .card {
        margin-bottom: 1.2rem;
    }
    
    .card-body {
        padding: 1.2rem;
    }
    
    .sidebar .nav-link {
        padding: 0.8rem 1rem;
        margin: 0.2rem 0.6rem;
    }
    
    .sidebar .nav-link span[data-feather] {
        width: 18px;
        height: 18px;
        margin-right: 10px;
    }
    
    /* 调整快捷操作按钮布局 */
    .row .col-md-2 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* 调整统计卡片布局 */
    .row .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* 调整顶部导航栏 */
    header {
        padding: 0.6rem 1rem;
    }
    
    #welcomeMessage {
        display: none;
    }
    
    /* 调整按钮大小 */
    .btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
    
    /* 调整表单元素 */
    .form-control {
        font-size: 0.9rem;
        padding: 0.7rem 0.9rem;
    }
    
    /* 调整模态框大小 */
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    
    /* 调整列表组项 */
    .list-group-item {
        padding: 1rem;
    }
    
    /* 调整统计卡片在小屏幕上的显示 */
    .card.text-white {
        height: 120px;
    }
    
    .card.text-white .card-body .display-4 {
        font-size: 1.6rem;
    }
    
    .card.text-white .card-body h5 {
        font-size: 0.9rem;
    }
}

/* 表单样式 */
.form-control {
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    padding: 0.8rem 1rem;
    font-size: 1rem;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    outline: none;
    transform: translateY(-1px);
}

/* 按钮样式 */
.btn {
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4393 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, #e884f0 0%, #e94a60 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(240, 147, 251, 0.4);
    color: white;
}

.btn-info {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.btn-info:hover {
    background: linear-gradient(135deg, #3fb8fe 0%, #00e6f9 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #212529;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #98deda 0%, #fec6d3 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(168, 237, 234, 0.4);
    color: #212529;
}

.btn-danger {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #212529;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #f95a8a 0%, #fdd030 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(250, 112, 154, 0.4);
    color: #212529;
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #5c636a 100%);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #5c636a 0%, #565e64 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
    color: white;
}

/* 表格样式 */
.table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    background: white;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.table:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-bottom: none;
    font-weight: 600;
    color: white;
    padding: 1rem 1.25rem;
    text-align: left;
    position: relative;
}

.table th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
}

.table td {
    vertical-align: middle;
    border-bottom: 1px solid #f1f3f5;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
    position: relative;
}

.table tr {
    transition: all 0.3s ease;
}

.table tr:hover {
    background-color: rgba(102, 126, 234, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.table tr:hover td {
    color: #667eea;
}

.table-hover tbody tr:hover {
    background-color: rgba(102, 126, 234, 0.05);
}

/* 消息提醒样式 */
.badge {
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 12px;
    padding: 0.35rem 0.6rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.badge:hover::before {
    left: 100%;
}

.badge:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 自定义徽章样式 */
.badge-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.badge-success {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.badge-info {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.badge-warning {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #212529;
}

.badge-danger {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #212529;
}

/* 列表组样式 */
.list-group {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    background: white;
    transition: all 0.3s ease;
}

.list-group:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.list-group-item {
    border: none;
    border-bottom: 1px solid #f1f3f5;
    transition: all 0.3s ease;
    padding: 1.2rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.list-group-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.list-group-item:hover {
    background-color: rgba(102, 126, 234, 0.05);
    transform: translateX(10px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.1);
}

.list-group-item:hover::before {
    transform: scaleY(1);
}

.list-group-item:last-child {
    border-bottom: none;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 3px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    border-top-color: #667eea;
    animation: spin 1s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 脉冲动画 */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

/* 淡入动画 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* 标题样式 */
h2 {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    border-radius: 2px;
}

h3 {
    font-weight: 600;
    color: #495057;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.4rem;
}

h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    border-radius: 2px;
}

/* 文本样式 */
.text-primary {
    color: #0d6efd !important;
}

.text-secondary {
    color: #6c757d !important;
}

.text-success {
    color: #198754 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.text-info {
    color: #0dcaf0 !important;
}

/* 间距样式 */
.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 2rem !important;
}

.mt-5 {
    margin-top: 2rem !important;
}

/* 容器样式 */
.container-fluid {
    padding: 2rem;
    transition: all 0.3s ease;
}

/* 阴影样式 */
.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.shadow {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}

.shadow-lg {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
}

/* 圆角样式 */
.rounded-circle {
    border-radius: 50% !important;
}

.rounded-lg {
    border-radius: 12px !important;
}

/* 对齐样式 */
.align-middle {
    vertical-align: middle !important;
}

/* 卡片样式增强 */
.card {
    border-radius: 16px;
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* 链接样式 */
a {
    color: #0d6efd;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #0a58ca;
    text-decoration: underline;
    transform: translateY(-1px);
}

/* 分割线样式 */
hr {
    border-top: 1px solid #e9ecef;
    margin: 1.5rem 0;
}

/* 响应式间距 */
@media (max-width: 576px) {
    .container-fluid {
        padding: 1.2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .card {
        margin-bottom: 1.2rem;
    }
    
    .card-body {
        padding: 1.2rem;
    }
}