        body {
            font-family: 'Microsoft YaHei', sans-serif;
            font-size: 0.9rem;
            background-color: #f8f9fa;
            margin: 0;
            padding: 0;
            height: 100vh;
        }
        
        html {
            margin: 0;
            padding: 0;
            height: 100%;
        }
        
        .container {
            max-width: 100%;
            padding: 0;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        .card {
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-direction: column;
            flex: 1;
        }
        
        .card-body {
            flex: 1 1 auto;
            padding: 0;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
        }
        
        #employeesCardContainer {
            flex: 1;
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: wrap !important;
            gap: 10px !important;
            justify-content: flex-start !important;
            padding: 15px;
        }
        
        .form-label-custom {
            white-space: nowrap;
            font-family: 'Microsoft YaHei', sans-serif;
            font-size: 0.9rem;
            font-weight: 500;
            color: #555;
            width: 60px;
            text-align: justify;
            text-align-last: justify;
        }
        .container {
            max-width: 100%;
            padding: 0;
        }
        .card {
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            
        }
        .card-body {
            flex: 1 1 auto;
            padding: 0;
        }
        .card-header {
            background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
            color: white;
            border-radius: 16px 16px 0 0;
            font-weight: bold;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
            padding: 16px 24px;
            transition: all 0.3s ease;
        }
        
        .card-header:hover {
            box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
        }
        
        /* 下拉菜单容器 */
        .dropdown {
            position: relative;
        }
        
        /* 更多操作按钮样式 */
        #moreActionsBtn {
            border-radius: 6px !important;
            padding: 0 12px !important;
            min-width: 60px !important;
            height: 32px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            font-size: 0.9rem !important;
            background-color: #6c757d !important;
            color: white !important;
            border: none !important;
            cursor: pointer !important;
            transition: all 0.2s ease !important;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
        }
        
        #moreActionsBtn:hover {
            background-color: #5a6268 !important;
            transform: translateY(-1px) !important;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
        }
        
        #moreActionsBtn:active {
            transform: translateY(0) !important;
        }
        
        /* 确保下拉菜单出现在标题栏下方 */
        .dropdown-menu {
            position: absolute !important;
            top: 100% !important;
            left: 50% !important;
            transform: translateX(-50%) !important;
            margin-top: 10px !important;
            border-radius: 10px;
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
            border: 1px solid rgba(0, 0, 0, 0.1);
            min-width: 180px;
            padding: 8px 0;
            z-index: 1000;
            background-color: white !important;
        }
        .btn {
            border-radius: 8px;
            font-weight: 500;
        }
        .btn-xs {
            padding: 2px 6px;
            font-size: 0.75rem;
            line-height: 1.5;
            border-radius: 4px;
        }
        
        /* 统一按钮样式 */
        .header-btn {
            padding: 8px 12px;
            font-size: 0.85rem;
            font-weight: 600;
            line-height: 1.5;
            border-radius: 8px;
            min-width: 32px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
            position: relative;
            overflow: hidden;
            white-space: nowrap;
        }
        
        .header-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;
        }
        
        .header-btn:hover::before {
            left: 100%;
        }
        
        .header-btn:hover {
            opacity: 1;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }
        
        .header-btn:active {
            transform: translateY(0);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
        }
        
        .header-btn-success {
            background: linear-gradient(135deg, #198754 0%, #157347 100%);
            color: white;
            box-shadow: 0 2px 6px rgba(25, 135, 84, 0.3);
        }
        
        .header-btn-success:hover {
            box-shadow: 0 4px 12px rgba(25, 135, 84, 0.4);
        }
        
        .header-btn-primary {
            background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
            color: white;
            box-shadow: 0 2px 6px rgba(13, 110, 253, 0.3);
        }
        
        .header-btn-primary:hover {
            box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
        }
        
        .header-btn-danger {
            background: linear-gradient(135deg, #dc3545 0%, #bb2d3b 100%);
            color: white;
            box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
        }
        
        .header-btn-danger:hover {
            box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
        }
        
        .header-btn-secondary {
            background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
            color: white;
            box-shadow: 0 2px 6px rgba(108, 117, 125, 0.3);
        }
        
        .header-btn-secondary:hover {
            box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);
        }
        
        .header-btn-info {
            background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
            color: white;
            box-shadow: 0 2px 6px rgba(23, 162, 184, 0.3);
        }
        
        .header-btn-info:hover {
            box-shadow: 0 4px 12px rgba(23, 162, 184, 0.4);
        }
        
        .header-btn-warning {
            background: linear-gradient(135deg, #ffc107 0%, #d39e00 100%);
            color: #212529;
            box-shadow: 0 2px 6px rgba(255, 193, 7, 0.3);
        }
        
        .header-btn-warning:hover {
            box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
        }
        .table {
            margin-bottom: 0;
        }
        .table-hover tbody tr:hover {
            background-color: rgba(0, 123, 255, 0.1);
        }
        .form-label {
            font-weight: 500;
        }
        
        .image-preview {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 8px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }
        
        .preview-container {
            position: relative;
            margin: 0;
            flex: 0 0 calc(20% - 4px); /* 固定宽度，确保每排5张 */
            aspect-ratio: 1;
            box-sizing: border-box;
        }
        
        .delete-btn {
            position: absolute;
            top: 5px;
            right: 5px;
            background-color: rgba(220, 53, 69, 0.8);
            color: white;
            border: none;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            font-size: 12px;
            font-weight: bold;
            cursor: pointer;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
        }
        
        .delete-btn:hover {
            background-color: #dc3545;
            transform: scale(1.1);
        }
        
        /* 下拉菜单样式 */
        .dropdown {
            position: relative;
        }
        
        .dropdown-menu {
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            border: 1px solid rgba(0, 0, 0, 0.1);
            min-width: 160px;
            padding: 4px 0;
            animation: dropdownSlide 0.2s ease-out forwards;
        }
        
        @keyframes dropdownSlide {
            from {
                opacity: 0;
                transform: translateY(-8px) scale(0.95);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }
        
        .dropdown-item {
            padding: 8px 16px;
            font-size: 0.875rem;
            line-height: 1.5;
            color: #333;
            background-color: transparent;
            border: none;
            text-align: left;
            width: 100%;
            transition: all 0.2s ease;
        }
        
        .dropdown-item:hover {
            background-color: #f8f9fa;
            color: #007bff;
            transform: translateX(4px);
        }
        
        .dropdown-item:active {
            background-color: #e9ecef;
        }
        
        .dropdown-toggle::after {
            margin-left: 0.255em;
            vertical-align: 0.255em;
            content: "";
            border-top: 0.3em solid;
            border-right: 0.3em solid transparent;
            border-bottom: 0;
            border-left: 0.3em solid transparent;
        }
        
        /* 生日提醒列表动画 */
        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes slideUp {
            from {
                opacity: 1;
                transform: translateY(0);
            }
            to {
                opacity: 0;
                transform: translateY(-20px);
            }
        }
        
        #birthdayReminderList.show {
            animation: slideDown 0.5s ease-out forwards;
        }
        
        #birthdayReminderList.hide {
            animation: slideUp 0.5s ease-in forwards;
        }
        
        .preview-wrapper {
            border: 2px dashed #ced4da;
            border-radius: 8px;
            padding: 10px;
            min-height: 100px;
            margin-top: 5px;
            background-color: #f8f9fa;
            display: flex;
            flex-wrap: wrap;
            align-content: flex-start;
            gap: 5px;
        }
        
        .list-avatar {
            border-radius: 12px;
            overflow: hidden;
            margin-bottom: 10px;
            width: 100%;
            text-align: center;
        }
        
        .list-avatar-image {
            width: 100%;
            height: auto;
            object-fit: contain;
            border-radius: 12px;
        }
        
        /* 身份证照片容器样式 */
        .id-card-container {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            height: auto;
        }
        
        .id-card-item {
            flex: 1 1 calc(20% - 8px); /* 平均分配宽度，最多5张一行 */
            min-width: 150px;
            padding: 5px;
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .id-card-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 8px;
            cursor: pointer;
        }
        
        .status-badge {
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 0.8rem;
            font-weight: 500;
        }
        .status-open {
            background-color: #d4edda;
            color: #155724;
        }
        .status-closed {
            background-color: #f8d7da;
            color: #721c24;
        }
        .cursor-pointer {
            cursor: pointer;
        }
        
        /* 拨号按钮样式 */
        .phone-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .dial-btn {
            background-color: transparent;
            color: #007bff;
            border: 1px solid #007bff;
            border-radius: 50%;
            padding: 4px;
            font-size: 1rem;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            transition: all 0.2s ease;
        }
        
        .dial-btn:hover {
            background-color: #007bff;
            color: white;
            transform: scale(1.1);
        }
        
        /* 桌面端和移动端都显示拨号按钮 */
        .dial-btn {
            display: inline-flex;
        }
        
        /* 统一所有文本元素的字体和大小 */
        * {
            font-family: 'Microsoft YaHei', sans-serif !important;
            font-size: 0.9rem !important;
        }
        
        /* 特殊元素的字体大小调整 */
        h1, h2, h3, h4, h5, h6 {
            font-size: 1.2rem !important;
        }
        
        .form-control, .btn, .card-header {
            font-size: 0.9rem !important;
        }
        
        /* 列表视图容器样式 */
        #employeesListViewContainer {
            flex: 1;
            width: 100%;
            display: flex;
            flex-direction: column;
        }
        
        #employeesListViewContainer .table-responsive {
            flex: 1;
            overflow-y: auto;
        }
        
        /* 表格样式统一 */
        #employeesListViewContainer table {
            font-family: 'Microsoft YaHei', sans-serif !important;
            font-size: 0.9rem !important;
            color: #333 !important;
        }
        
        /* 表头样式 */
        #employeesListViewContainer thead {
            background-color: #f8f9fa !important;
        }
        
        #employeesListViewContainer th {
            height: 48px !important;
            font-size: 0.95rem !important;
            font-weight: 600 !important;
            text-align: center !important;
            vertical-align: middle !important;
            color: #333 !important;
            padding: 12px !important;
            border-bottom: 2px solid #dee2e6 !important;
        }
        
        /* 表格单元格样式 */
        #employeesListViewContainer td {
            font-size: 0.9rem !important;
            color: #333 !important;
            text-align: center !important;
            vertical-align: middle !important;
            padding: 16px !important;
            height: 70px !important;
            white-space: normal !important;
            word-wrap: break-word !important;
        }
        
        /* 表格单元格内的div样式 */
        #employeesListViewContainer td > div {
            line-height: 1.5 !important;
        }
        
        /* 表格单元格内的div子元素样式 */
        #employeesListViewContainer td > div > div {
            margin-bottom: 8px !important;
        }
        
        /* 表格单元格内最后一个div的样式 */
        #employeesListViewContainer td > div > div:last-child {
            margin-bottom: 0 !important;
        }
        
        /* 表格行样式 */
        #employeesListViewContainer tbody tr {
            margin: 5px 0 !important;
            display: table-row !important;
        }
        
        /* 调整表格样式以支持行间距 */
        #employeesListViewContainer table {
            border-collapse: separate !important;
            border-spacing: 0 5px !important;
        }
        
        /* 表格行样式 */
        #employeesListViewContainer tbody tr {
            border: none !important;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
            border-radius: 8px !important;
            overflow: hidden !important;
        }
        
        /* 表格单元格边框 */
        #employeesListViewContainer td {
            border: none !important;
        }
        
        /* 员工性别背景色 */
        #employeesListViewContainer table tbody tr.male-employee {
            background-color: #e3f2fd !important; /* 蓝色 */
            border-radius: 8px !important;
        }
        
        #employeesListViewContainer table tbody tr.female-employee {
            background-color: #fce4ec !important; /* 粉色 */
            border-radius: 8px !important;
        }
        
        /* 电话号码列样式 */
        #employeesListViewContainer td:nth-child(7) {
            white-space: normal !important;
            word-wrap: break-word !important;
            max-width: 150px !important;
        }
        
        /* 响应式布局 */
        @media (max-width: 1200px) {
            /* 在中等屏幕上显示3列瀑布流 */
            #employeesCardContainer {
                column-count: 3 !important;
                column-gap: 15px !important;
                padding: 5px !important;
            }
            
            /* 列表视图表格调整 */
            #employeesListViewContainer table {
                font-size: 0.85rem !important;
            }
            
            #employeesListViewContainer th {
                height: 40px !important;
                font-size: 0.9rem !important;
                padding: 8px !important;
            }
            
            #employeesListViewContainer td {
                padding: 8px !important;
            }
            
            /* 标题栏响应式调整 */
            .card-header {
                padding: 14px 20px;
            }
            
            .header-btn {
                padding: 8px 12px;
                font-size: 0.85rem;
                height: 36px;
            }
            
            h5.mb-0 {
                font-size: 1.2rem !important;
            }
        }
        
        @media (max-width: 768px) {
            /* 标题栏响应式调整 */
            .card-header {
                padding: 10px 16px;
                flex-direction: row;
                align-items: center;
                gap: 2px;
            }
            
            .card-header .d-flex.align-items-center.gap-2 {
                gap: 2px;
            }
            
            .header-btn {
                padding: 6px 8px;
                font-size: 0.75rem;
                height: 30px;
            }
            
            h5.mb-0 {
                font-size: 1rem !important;
                margin-right: 10px;
            }
        }
        
        @media (max-width: 576px) {
            /* 标题栏响应式调整 */
            .card-header {
                padding: 8px 10px;
                flex-direction: row;
                align-items: center;
                gap: 1px;
            }
            
            .card-header .d-flex.align-items-center.gap-2 {
                gap: 1px;
            }
            
            .header-btn {
                padding: 4px 6px;
                font-size: 0.7rem;
                height: 28px;
                min-width: 28px;
            }
            
            h5.mb-0 {
                font-size: 0.9rem !important;
                margin-right: 8px;
                white-space: nowrap;
            }
            
            /* 在移动设备上显示2列瀑布流 */
            #employeesCardContainer {
                column-count: 2 !important;
                column-gap: 15px !important;
            }

            
            /* 列表视图表格调整 */
            #employeesListViewContainer table {
                font-size: 0.8rem !important;
            }
            
            #employeesListViewContainer th {
                padding: 6px !important;
                font-size: 0.75rem !important;
            }
            
            #employeesListViewContainer td {
                padding: 6px !important;
            }
            
            /* 隐藏部分列以适应移动设备 */
            #employeesListViewContainer th:nth-child(5), /* 身份证号 */
            #employeesListViewContainer td:nth-child(5),
            #employeesListViewContainer th:nth-child(6), /* 生日 */
            #employeesListViewContainer td:nth-child(6),
            #employeesListViewContainer th:nth-child(7), /* 入职时间 */
            #employeesListViewContainer td:nth-child(7) {
                display: none;
            }
        }
        
        @media (max-width: 576px) {
            /* 列表视图表格调整 */
            #employeesListViewContainer table {
                font-size: 0.75rem !important;
            }
            
            #employeesListViewContainer th {
                padding: 4px !important;
                font-size: 0.7rem !important;
            }
            
            #employeesListViewContainer td {
                padding: 4px !important;
            }
            
            /* 隐藏更多列以适应小屏幕 */
            #employeesListViewContainer th:nth-child(4), /* 性别 */
            #employeesListViewContainer td:nth-child(4),
            #employeesListViewContainer th:nth-child(5), /* 身份证号 */
            #employeesListViewContainer td:nth-child(5),
            #employeesListViewContainer th:nth-child(6), /* 生日 */
            #employeesListViewContainer td:nth-child(6),
            #employeesListViewContainer th:nth-child(7), /* 入职时间 */
            #employeesListViewContainer td:nth-child(7) {
                display: none;
            }
        }
        
        /* 视图切换按钮样式 */
        .btn-group .header-btn.active {
            z-index: 1;
        }
        
        .btn-group .header-btn:first-child {
            border-top-right-radius: 0 !important;
            border-bottom-right-radius: 0 !important;
        }
        
        .btn-group .header-btn:last-child {
            border-top-left-radius: 0 !important;
            border-bottom-left-radius: 0 !important;
        }
        
        .employee-card {
            width: 100% !important;
            box-sizing: border-box !important;
        }
        
 