/* SMS系统通用样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 图表样式 */
.chart-container {
    width: 100%;
    height: 300px;
    min-height: 300px;
}

.chart-card {
    margin-bottom: 20px;
}

.chart-card .el-card__header {
    padding: 12px 20px;
}

.chart-card .el-card__body {
    padding: 10px;
}

body {
    font-family: 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    overflow-x: hidden;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 登录注册页面样式 */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.auth-box {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 28px;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-form .el-form-item {
    margin-bottom: 25px;
}

.auth-form .el-input__inner {
    height: 45px;
    border-radius: 8px;
    border: 2px solid #e4e7ed;
    transition: all 0.3s ease;
    font-size: 16px;
}

.auth-form .el-input__inner:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.auth-form .el-button {
    width: 100%;
    height: 45px;
    font-size: 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-form .el-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.auth-form .el-button:active {
    transform: translateY(0);
}

.auth-links {
    text-align: center;
    margin-top: 25px;
}

.auth-links .el-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-links .el-link:hover {
    color: #764ba2;
    transform: translateY(-1px);
}

/* 验证码样式 */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-container .el-input {
    flex: 1;
}

.captcha-image {
    height: 45px;
    cursor: pointer;
    border-radius: 8px;
    border: 2px solid #e4e7ed;
    transition: all 0.3s ease;
}

.captcha-image:hover {
    border-color: #667eea;
    transform: scale(1.02);
}

/* 主布局样式 */
.main-layout {
    min-height: 100vh;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.header {
    background: #ffffff;
    color: #303133;
    border-bottom: 1px solid #e4e7ed;
    box-shadow: 0 1px 4px rgba(0,21,41,.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .el-menu {
    border-bottom: none;
}

.header .logo {
    font-size: 20px;
    font-weight: 600;
    color: #409eff;
}

.header .user-info {
    color: #606266;
    cursor: pointer;
    font-size: 14px;
}

.header .user-info:hover {
    color: #409eff;
}

/* 内容区域容器 - 移除白色背景问题 */
.el-container:not(.main-layout) {
    margin-top: 0;
    height: 100vh;
    background: transparent;
}

/* 主内容区域 - 确保不被头部遮挡 */
.main-content {
    margin-top: 60px; /* 头部导航栏高度 */
    padding: 20px;
    min-height: calc(100vh - 60px);
    background: transparent;
}

.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    width: 240px;
    height: calc(100vh - 60px);
    overflow-y: auto;
    background: #ffffff;
    border-right: 1px solid #e4e7ed;
    box-shadow: 2px 0 6px rgba(0,21,41,.035);
    z-index: 999;
}

.sidebar-menu {
    border-right: none;
    background: #ffffff;
    height: 100%;
}

.sidebar-menu .el-menu-item,
.sidebar-menu .el-submenu__title {
    color: #606266;
    border-bottom: none;
    transition: all 0.2s ease;
    margin: 4px 8px;
    border-radius: 6px;
    position: relative;
    background: transparent !important;
}

.sidebar-menu .el-menu-item:hover,
.sidebar-menu .el-submenu__title:hover {
    background: rgba(64, 158, 255, 0.06) !important;
    color: #409eff !important;
}

.sidebar-menu .el-menu-item:hover i,
.sidebar-menu .el-submenu__title:hover i {
    color: #409eff !important;
    transform: scale(1.1);
}

.sidebar-menu .el-menu-item.is-active,
.sidebar-menu .el-submenu.is-active .el-submenu__title {
    background: rgba(64, 158, 255, 0.1) !important;
    color: #409eff !important;
    font-weight: 500;
}

.sidebar-menu .el-menu-item.is-active i,
.sidebar-menu .el-submenu.is-active .el-submenu__title i {
    color: #409eff !important;
    transform: scale(1.1);
}

/* 子菜单项样式 */
.sidebar-menu .el-menu .el-menu-item {
    background: transparent !important;
    margin: 1px 16px;
    padding-left: 40px !important;
    font-size: 13px;
}

.sidebar-menu .el-menu .el-menu-item:hover {
    background: rgba(64, 158, 255, 0.04) !important;
    color: #409eff !important;
}

.sidebar-menu .el-menu .el-menu-item.is-active {
    background: rgba(64, 158, 255, 0.08) !important;
    color: #409eff !important;
    font-weight: 500;
}

/* 覆盖Element UI默认的悬浮样式 */
.sidebar-menu .el-menu-item:focus,
.sidebar-menu .el-menu-item:hover,
.sidebar-menu .el-submenu__title:focus,
.sidebar-menu .el-submenu__title:hover {
    outline: none;
    background-color: rgba(64, 158, 255, 0.06) !important;
}

.main-content {
    margin-left: 240px; /* 为固定侧边栏留出空间 */
    padding: 20px;
    background: #f5f7fa;
    min-height: calc(100vh - 60px);
    width: calc(100% - 240px);
}

/* 卡片样式 */
.info-card {
    margin-bottom: 20px;
}

.info-card .el-card__header {
    border-bottom: 1px solid #ebeef5;
    padding: 18px 20px;
}

.info-card .el-card__body {
    padding: 20px;
}

/* 统计卡片 */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-top: 4px solid #409eff;
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.stat-card.success {
    border-top-color: #67c23a;
}

.stat-card.warning {
    border-top-color: #e6a23c;
}

.stat-card.danger {
    border-top-color: #f56c6c;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #409eff 0%, #36a3f7 100%);
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(64, 158, 255, 0.3);
}

.stat-icon i {
    color: white;
    z-index: 2; /* 确保图标在最上层 */
    position: relative; /* 启用z-index */
}

.stat-card.warning .stat-icon {
    background: linear-gradient(135deg, #e6a23c 0%, #f0ad4e 100%);
    box-shadow: 0 4px 12px rgba(230, 162, 60, 0.3);
}

.stat-card.success .stat-icon {
    background: linear-gradient(135deg, #67c23a 0%, #85ce61 100%);
    box-shadow: 0 4px 12px rgba(103, 194, 58, 0.3);
}

.stat-card.danger .stat-icon {
    background: linear-gradient(135deg, #f56c6c 0%, #f78989 100%);
    box-shadow: 0 4px 12px rgba(245, 108, 108, 0.3);
}

.stat-content {
    flex: 1;
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #303133;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-card .stat-label {
    color: #909399;
    font-size: 1rem;
    font-weight: 500;
}

/* 表格样式增强 */
.custom-table {
    width: 100% !important;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.custom-table .el-table {
    width: 100% !important;
    table-layout: auto;
}

.custom-table .el-table__header {
    background: #fafafa;
}

.custom-table .el-table__body {
    width: 100% !important;
}

.custom-table .el-table__header-wrapper,
.custom-table .el-table__body-wrapper {
    width: 100% !important;
}

/* 表格列自适应 */
.custom-table .el-table__header th,
.custom-table .el-table__body td {
    padding: 8px 12px;
    word-wrap: break-word;
    word-break: break-all;
}

/* 表格响应式处理 - 只在移动端启用滚动 */
@media (max-width: 768px) {
    .custom-table .el-table__body-wrapper,
    .table-responsive,
    .responsive-table .el-table__body-wrapper {
        overflow-x: auto !important;
    }
    
    .responsive-table {
        min-width: 600px !important;
    }
}

/* 桌面端确保表格正常适应容器宽度 */
@media (min-width: 769px) {
    .custom-table .el-table__body-wrapper,
    .table-responsive,
    .responsive-table .el-table__body-wrapper {
        overflow-x: visible;
    }
    
    .responsive-table {
        width: 100% !important;
        min-width: auto !important;
    }
}

/* ========== Element UI 表格最后一行边框修复 ========== */
/* 这是一个全面的解决方案，解决Element UI表格最后一行按钮下方出现横线的问题 */

/* 1. 全局修复 - 适用于所有Element UI表格 */
.el-table__body tr:last-child td {
    border-bottom: none !important;
}

/* 2. 针对不同表格容器的修复 */
.responsive-table .el-table__body tr:last-child td,
.custom-table .el-table__body tr:last-child td,
.mobile-table .el-table__body tr:last-child td,
.info-card .el-table__body tr:last-child td {
    border-bottom: none !important;
}

/* 3. 修复可能的边框重叠问题 */
.el-table__body tr:last-child {
    border-bottom: none !important;
}

/* 4. 修复带边框的表格 */
.el-table--border .el-table__body tr:last-child td {
    border-bottom: none !important;
}

/* 5. 修复分组表格 */
.el-table--group .el-table__body tr:last-child td {
    border-bottom: none !important;
}

/* 6. 修复斑马纹表格 */
.el-table--striped .el-table__body tr:last-child td {
    border-bottom: none !important;
}

/* 7. 修复固定列表格 */
.el-table__fixed .el-table__body tr:last-child td,
.el-table__fixed-right .el-table__body tr:last-child td {
    border-bottom: none !important;
}

/* 8. 确保按钮在最后一行的正确显示 */
.el-table__body tr:last-child td .el-button {
    margin-bottom: 0;
}

/* 9. 修复可能的伪元素边框 */
.el-table__body tr:last-child td::after,
.el-table__body tr:last-child::after {
    border-bottom: none !important;
    display: none !important;
}

/* 10. 强制修复 - 使用更高的优先级 */
.el-table tbody tr:last-child td {
    border-bottom: 0 !important;
    border-bottom-width: 0 !important;
    border-bottom-style: none !important;
    border-bottom-color: transparent !important;
}

/* 11. 修复Vue组件中的表格 */
[data-v-*] .el-table__body tr:last-child td {
    border-bottom: none !important;
}

/* 12. 修复可能的CSS模块化问题 */
.el-table[class*="el-table"] .el-table__body tr:last-child td {
    border-bottom: none !important;
}

/* 13. 修复内联样式可能的覆盖 */
.el-table__body tr:last-child td[style*="border-bottom"] {
    border-bottom: none !important;
}

/* 14. 修复动态添加的表格行 */
.el-table__body tr.el-table__row:last-child td {
    border-bottom: none !important;
}

/* 15. 确保在所有主题下都生效 */
.el-table.el-table--medium .el-table__body tr:last-child td,
.el-table.el-table--small .el-table__body tr:last-child td,
.el-table.el-table--mini .el-table__body tr:last-child td {
    border-bottom: none !important;
}

/* 16. 浏览器兼容性修复 */
.el-table__body tr:last-child td {
    -webkit-border-bottom: none !important;
    -moz-border-bottom: none !important;
    -ms-border-bottom: none !important;
    -o-border-bottom: none !important;
    border-bottom: none !important; /* 标准属性 */
}

/* 17. 修复可能的CSS继承问题 */
.el-table__body tr:last-child td * {
    border-bottom: inherit;
}

/* 18. 确保按钮组在最后一行的正确显示 */
.el-table__body tr:last-child td .el-button-group {
    margin-bottom: 0;
}

.el-table__body tr:last-child td .el-button-group .el-button {
    margin-bottom: 0;
}

/* 19. 修复可能的表格容器边框问题 */
.el-table__body-wrapper {
    border-bottom: none;
}

/* 20. 最终强制修复 - 覆盖所有可能的情况 */
table.el-table__body tr:last-child td,
.el-table table tr:last-child td,
.el-table tbody tr:last-child td {
    border-bottom: 0 !important;
    box-shadow: none !important;
}

/* 移动端表格优化 */
@media (max-width: 768px) {
    .custom-table .el-table__header th,
    .custom-table .el-table__body td {
        padding: 6px 8px;
        font-size: 12px;
    }
    
    .custom-table {
        font-size: 12px;
    }
}

/* 按钮组样式 */
.button-group {
    margin-bottom: 20px;
}

.button-group .el-button {
    margin-right: 10px;
}

/* 表单样式增强 */
.form-container {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 信息查询页面样式 */
.query-container {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.query-form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.query-result {
    background: white;
    border-radius: 8px;
    padding: 20px;
    min-height: 200px;
}

.result-item {
    padding: 15px;
    border: 1px solid #e4e7ed;
    border-radius: 6px;
    margin-bottom: 10px;
    background: #fafafa;
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-title {
    font-weight: 600;
    color: #303133;
    margin-bottom: 8px;
}

.result-content {
    color: #606266;
    line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .sidebar {
        width: 200px;
    }
    
    .main-content {
        margin-left: 200px;
        width: calc(100% - 200px);
    }
    
    .stat-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    /* 登录注册页面移动端适配 */
    .auth-container {
        padding: 15px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }
    
    .auth-box {
        margin: 10px;
        padding: 30px 25px;
        border-radius: 12px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }
    
    .auth-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .auth-form .el-form-item {
        margin-bottom: 20px;
    }
    
    .auth-form .el-input__inner {
        height: 44px;
        font-size: 16px; /* 防止iOS缩放 */
        border-radius: 6px;
    }
    
    .auth-form .el-button {
        height: 44px;
        font-size: 16px;
        border-radius: 6px;
    }
    
    .captcha-container {
        flex-direction: column;
        gap: 12px;
    }
    
    .captcha-container .el-input {
        margin-right: 0;
    }
    
    .captcha-image {
        height: 44px;
        width: 100%;
        object-fit: cover;
        border-radius: 6px;
    }
    
    .auth-links {
        margin-top: 20px;
    }
    
    .auth-links .el-link {
        font-size: 15px;
        padding: 8px 0;
    }
    
    .stat-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .sidebar {
        width: 100%;
        position: fixed;
        top: 60px;
        left: -100%;
        height: calc(100vh - 60px);
        z-index: 1001;
        transition: left 0.3s ease;
        background: #ffffff;
        box-shadow: 2px 0 8px rgba(0,0,0,0.15);
    }
    
    .sidebar.mobile-open {
        left: 0;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 15px 10px;
    }
    
    .header .logo {
        font-size: 16px;
    }
    
    /* 移动端表单优化 */
    .el-form-item__label {
        width: 100px !important;
        font-size: 14px;
    }
    
    .el-form-item__content {
        margin-left: 100px !important;
    }
    
    /* 移动端按钮组优化 */
    .button-group .el-button-group {
        display: flex;
        flex-wrap: wrap;
    }
    
    .button-group .el-button {
        margin: 2px;
        padding: 8px 12px;
        font-size: 12px;
    }
    
    /* 移动端卡片优化 */
    .info-card .el-card__body {
        padding: 15px;
    }
    
    /* 移动端分页优化 */
    .el-pagination {
        text-align: center;
    }
    
    .el-pagination .el-pager li {
        min-width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    body {
        overflow-x: hidden;
    }
    
    /* 登录注册页面小屏幕适配 */
    .auth-container {
        padding: 10px;
    }
    
    .auth-box {
        margin: 5px;
        padding: 25px 20px;
        border-radius: 10px;
    }
    
    .auth-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .auth-form .el-input__inner {
        height: 42px;
        font-size: 16px;
    }
    
    .auth-form .el-button {
        height: 42px;
        font-size: 16px;
    }
    
    .captcha-image {
        height: 42px;
    }
    
    .auth-links .el-link {
        font-size: 14px;
        padding: 6px 0;
    }
    
    .header {
        padding: 0 10px;
    }
    
    .header .logo {
        font-size: 14px;
    }
    
    .main-content {
        padding: 10px 8px;
    }
    
    /* 统计卡片小屏幕适配 */
    .stat-cards {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .stat-card {
        padding: 15px;
        gap: 12px;
    }
    
    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .stat-card .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-card .stat-label {
        font-size: 0.85rem;
    }
    
    /* 套餐信息小屏幕适配 */
    .package-info-card .el-card__header {
        padding: 15px 20px;
    }
    
    .package-info-card .el-card__body {
        padding: 20px 15px;
    }
    
    .package-overview {
        padding: 12px;
    }
    
    .package-name {
        font-size: 16px;
    }
    
    .package-days {
        padding: 10px 16px;
        min-width: 70px;
    }
    
    .days-number {
        font-size: 20px;
    }
    
    .package-details {
        padding: 15px;
    }
    
    .detail-item {
        padding: 10px 0;
    }
    
    .detail-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
        margin-right: 10px;
    }
    
    /* 设置页面小屏幕适配 */
    .settings-tabs .el-tabs__nav-wrap {
        padding: 0 5px;
    }
    
    .settings-tabs .el-tabs__item {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .settings-tabs .el-tabs__content {
        padding: 15px 10px;
    }
    
    .settings-form-section {
        padding: 12px;
    }
    
    .settings-form-section .el-form-item {
        padding: 10px;
        margin-bottom: 12px;
    }
    
    /* 超小屏幕表单优化 */
    .el-form-item__label {
        width: 80px !important;
        font-size: 12px;
    }
    
    .el-form-item__content {
        margin-left: 80px !important;
    }
    
    .el-input__inner {
        font-size: 14px;
        height: 36px;
    }
    
    .el-button {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    /* 移动端对话框优化 */
    .el-dialog {
        width: 95% !important;
        margin: 0 auto !important;
    }
    
    /* 表格在极小屏幕的处理 */
    .custom-table .el-table__header th,
    .custom-table .el-table__body td {
        padding: 4px 6px;
        font-size: 11px;
    }
    
    /* 分页器在小屏幕优化 - 移除全局隐藏，让组件自己控制 */
}

/* 加载状态 */
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 40px;
    color: #909399;
}

.empty-state .el-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

/* 成功状态 */
.success-state {
    text-align: center;
    padding: 40px;
    color: #67c23a;
}

/* 错误状态 */
.error-state {
    text-align: center;
    padding: 40px;
    color: #f56c6c;
}

/* 状态标签 */
.status-tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: white;
}

.status-tag.pending {
    background: #e6a23c;
}

.status-tag.running {
    background: #409eff;
}

.status-tag.completed {
    background: #67c23a;
}

.status-tag.stopped {
    background: #f56c6c;
}

.status-tag.normal {
    background: #67c23a;
}

.status-tag.banned {
    background: #f56c6c;
}

/* 工具提示 */
.tooltip {
    position: relative;
    cursor: pointer;
}

.tooltip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #303133;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
}

/* 消息样式 */
.message-item {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.message-item:hover {
    background-color: #f5f7fa;
}

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

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.message-title {
    display: flex;
    align-items: center;
}

.title-text {
    margin-left: 8px;
    font-weight: 500;
    color: #303133;
}

.message-time {
    color: #909399;
    font-size: 12px;
}

.message-content-preview {
    color: #606266;
    line-height: 1.5;
}

.message-detail-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ebeef5;
}

.message-detail-content {
    line-height: 1.8;
    color: #606266;
}

/* 动画效果 */
.fade-enter-active, .fade-leave-active {
    transition: opacity 0.3s;
}

.fade-enter, .fade-leave-to {
    opacity: 0;
}

.slide-enter-active, .slide-leave-active {
    transition: transform 0.3s;
}

.slide-enter, .slide-leave-to {
    transform: translateX(-100%);
}

/* 套餐信息卡片样式 */
.package-info-card {
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    overflow: hidden;
}

.package-info-card .el-card__header {
    background: #ffffff;
    color: #303133;
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 25px;
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.package-header span {
    font-size: 16px;
    font-weight: 600;
    color: #303133;
}

.package-header i {
    color: #409eff;
    margin-right: 8px;
}

.package-status-tag {
    font-weight: 500;
}

.package-info-card .el-card__body {
    padding: 25px;
    background: #fafbfc;
}

.package-overview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.package-name {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #303133;
}

.package-name i {
    margin-right: 12px;
    color: #409eff;
    font-size: 20px;
}

.package-days {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 24px;
    border-radius: 10px;
    background: white;
    border: 2px solid #e4e7ed;
    min-width: 100px;
}

.package-days.danger {
    background: #fef0f0;
    border-color: #fbc4c4;
    color: #f56c6c;
}

.package-days.warning {
    background: #fdf6ec;
    border-color: #f5dab1;
    color: #e6a23c;
}

.package-days.success {
    background: #f0f9ff;
    border-color: #b3d8ff;
    color: #409eff;
}

.days-number {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
}

.days-label {
    font-size: 12px;
    color: #909399;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.package-details {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.detail-item {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f5f5f5;
}

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

.detail-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f0f9ff;
    color: #409eff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 16px;
}

.detail-content {
    flex: 1;
}

.detail-label {
    font-size: 13px;
    color: #909399;
    margin-bottom: 4px;
    font-weight: 500;
}

.detail-value {
    font-size: 14px;
    color: #303133;
    font-weight: 600;
}

/* 个人设置区域样式 */
.settings-tabs {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.settings-tabs .el-tabs__header {
    background: #fafbfc;
    border-bottom: 1px solid #e4e7ed;
    margin: 0;
}

.settings-tabs .el-tabs__nav-wrap {
    padding: 0 20px;
}

.settings-tabs .el-tabs__nav-wrap::after {
    display: none;
}

.settings-tabs .el-tabs__nav {
    border: none;
}

.settings-tabs .el-tabs__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    line-height: 1;
    font-size: 15px;
    font-weight: 500;
    color: #606266;
    padding: 0 20px;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    position: relative;
    box-sizing: border-box;
}

.settings-tabs .el-tabs__item:hover {
    color: #409eff;
    background: rgba(64, 158, 255, 0.05);
}

.settings-tabs .el-tabs__item.is-active {
    color: #409eff;
    font-weight: 600;
    background: white;
}

.settings-tabs .el-tabs__item.is-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #409eff;
}

.settings-tabs .el-tabs__content {
    padding: 25px;
    background: white;
}

.settings-tabs .el-tabs__active-bar {
    display: none;
}

.settings-form-section {
    background: #fafbfc;
    border-radius: 8px;
    padding: 20px;
}

.settings-form-section .el-form-item {
    margin-bottom: 20px;
    padding: 16px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e4e7ed;
    transition: all 0.3s ease;
}

.settings-form-section .el-form-item:hover {
    border-color: #409eff;
    box-shadow: 0 2px 8px rgba(64, 158, 255, 0.1);
}

.settings-form-section .el-form-item__label {
    font-weight: 500;
    color: #303133;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* 响应式优化 */
@media (max-width: 768px) {
    /* 套餐信息移动端适配 */
    .package-overview {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 15px;
    }
    
    .package-name {
        font-size: 18px;
        justify-content: center;
    }
    
    .package-days {
        padding: 12px 20px;
        min-width: 80px;
    }
    
    .days-number {
        font-size: 24px;
    }
    
    .detail-item {
        padding: 12px 0;
    }
    
    .detail-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
        margin-right: 12px;
    }
    
    /* 设置页面移动端适配 */
    .settings-tabs .el-tabs__nav-wrap {
        padding: 0 10px;
    }
    
    .settings-tabs .el-tabs__item {
        font-size: 14px;
        padding: 12px 15px;
    }
    
    .settings-tabs .el-tabs__content {
        padding: 20px 15px;
    }
    
    .settings-form-section {
        padding: 15px;
    }
    
    .settings-form-section .el-form-item {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* 统计卡片移动端适配 */
    .stat-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px;
        gap: 15px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .stat-card .stat-number {
        font-size: 2rem;
    }
    
    .stat-card .stat-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .settings-tabs .el-tabs__item {
        display: inline-flex;
        height: 40px;
        padding: 0 10px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .settings-tabs .el-tabs__item {
        display: inline-flex;
        height: 36px;
        padding: 0 6px;
        font-size: 13px;
    }
}

/* 套餐状态信息样式 */
.package-status-info .status-item {
    text-align: center;
}

.status-label {
    font-size: 13px;
    color: #909399;
    margin-bottom: 8px;
    font-weight: 500;
}

.status-value {
    font-size: 16px;
    color: #303133;
    font-weight: 600;
}

/* 批量测试详细信息样式 */
.batch-test-detail .el-descriptions {
    margin-bottom: 20px;
}

.batch-test-detail .el-tabs {
    margin-top: 20px;
}

.batch-test-detail .el-tabs__content {
    padding: 20px 0;
}

.batch-test-detail pre {
    background: #f5f7fa;
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
    border: 1px solid #e4e7ed;
}

.batch-test-detail .el-textarea__inner {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.4;
}

.batch-test-detail .detail-empty {
    text-align: center;
    padding: 40px;
    color: #909399;
}

.batch-test-detail .detail-empty i {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .batch-test-detail .el-descriptions {
        margin-bottom: 15px;
    }
    
    .batch-test-detail .el-tabs__content {
        padding: 15px 0;
    }
    
    .batch-test-detail pre {
        padding: 10px;
        font-size: 11px;
    }
    
    .batch-test-detail .el-textarea__inner {
        font-size: 11px;
    }
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
}

/* 移动端遮罩层 */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 移动端任务卡片样式 */
.mobile-task-list {
    display: none;
}

.mobile-task-card {
    background: white;
    border: 1px solid #e4e7ed;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.mobile-task-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.task-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #fafbfc;
    border-bottom: 1px solid #e4e7ed;
}

.task-phone {
    font-size: 16px;
    font-weight: 600;
    color: #303133;
}

.task-actions {
    display: flex;
    gap: 8px;
}

.task-card-content {
    padding: 15px;
}

.task-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.task-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.task-info-item .label {
    font-size: 13px;
    color: #909399;
    font-weight: 500;
    min-width: 80px;
    margin-right: 10px;
}

.task-info-item .value {
    font-size: 14px;
    color: #303133;
    font-weight: 500;
}

/* 移动端查询历史卡片样式 */
.mobile-query-history {
    display: none;
}

.mobile-query-card {
    background: white;
    border: 1px solid #e4e7ed;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.mobile-query-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.query-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #fafbfc;
    border-bottom: 1px solid #e4e7ed;
}

.query-mode {
    font-size: 16px;
    font-weight: 600;
    color: #303133;
}

.query-card-content {
    padding: 15px;
}

.query-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.query-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.query-info-item .label {
    font-size: 13px;
    color: #909399;
    font-weight: 500;
    min-width: 80px;
    margin-right: 10px;
}

.query-info-item .value {
    font-size: 14px;
    color: #303133;
    font-weight: 500;
}

@media (max-width: 768px) {
    .header .logo {
        display: flex !important;
        align-items: center !important;
        font-size: 16px !important;
    }
    /* 隐藏旧的移动端菜单按钮 */
    .mobile-menu-btn {
        display: none !important;
    }

    /* 新的移动端菜单触发器 */
    .mobile-menu-trigger {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        background: #409eff !important;
        border: none !important;
        border-radius: 6px !important;
        color: #fff !important;
        font-size: 18px !important;
        box-shadow: 0 2px 4px rgba(64,158,255,0.3) !important;
        margin-right: 12px !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        z-index: 1000 !important;
        position: relative !important;
        flex-shrink: 0 !important;
    }

    .mobile-menu-trigger:hover {
        background: #337ecc !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 4px 8px rgba(64,158,255,0.4) !important;
    }

    .mobile-menu-trigger:active {
        transform: translateY(0) !important;
        box-shadow: 0 2px 4px rgba(64,158,255,0.3) !important;
    }
}

/* 移动端菜单触发器 - 桌面端隐藏 */
.mobile-menu-trigger {
    display: none;
}



@media (max-width: 768px) {
    /* 确保移动端菜单触发器显示 */
    .mobile-menu-trigger {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* 任务管理移动端优化 */
    .desktop-table {
        display: none;
    }
    
    .mobile-task-list {
        display: block;
    }
    
    /* 查询历史移动端优化 */
    .mobile-query-history {
        display: block;
    }
    
    .task-filter-section {
        margin-bottom: 20px;
    }
    
    .button-group .el-button-group {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .button-group .el-button {
        flex: 1;
        min-width: 80px;
        font-size: 12px;
        padding: 8px 12px;
    }
    
    /* 消息通知移动端优化 */
    .message-filter-section {
        margin-bottom: 15px;
    }
    
    .message-filter-section .button-group {
        margin-bottom: 10px;
    }
    
    .message-filter-section .el-button[style*="float: right"] {
        float: none !important;
        width: 100%;
        margin-top: 10px;
    }
    
    /* 个人设置移动端优化 */
    .settings-tabs .el-tabs__nav-wrap {
        padding: 0 10px;
    }
    
    .settings-tabs .el-tabs__item {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .settings-tabs .el-tabs__content {
        padding: 20px 15px;
    }
    
    .settings-form-section .el-form-item__label {
        width: 120px !important;
        font-size: 14px;
    }
    
    .settings-form-section .el-form-item__content {
        margin-left: 120px !important;
    }
    
    /* 任务表单移动端优化 */
    .task-form .el-form-item__label {
        width: 100px !important;
        font-size: 14px;
    }
    
    .task-form .el-form-item__content {
        margin-left: 100px !important;
    }
    
    .scheduled-days-group {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .scheduled-days-group .el-checkbox {
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .scheduled-days-group .el-checkbox__label {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .task-form .el-form-item__label {
        width: 80px !important;
        font-size: 12px;
    }
    
    .task-form .el-form-item__content {
        margin-left: 80px !important;
    }
    
    .scheduled-days-group {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .button-group .el-button {
        font-size: 11px;
        padding: 6px 8px;
    }
    
    /* 个人设置小屏幕优化 */
    .settings-tabs .el-tabs__nav-wrap {
        padding: 0 5px;
    }
    
    .settings-tabs .el-tabs__item {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .settings-tabs .el-tabs__content {
        padding: 15px 10px;
    }
    
    .settings-form-section .el-form-item__label {
        width: 100px !important;
        font-size: 12px;
    }
    
    .settings-form-section .el-form-item__content {
        margin-left: 100px !important;
    }
    
    /* 消息通知小屏幕优化 */
    .message-filter-section .button-group .el-button {
        font-size: 11px;
        padding: 6px 8px;
    }
    
    /* 消息详情对话框移动端优化 */
    .message-detail-dialog .el-dialog {
        margin: 5vh auto !important;
    }
    
    .message-detail-dialog .el-dialog__body {
        padding: 15px;
    }
    
    .message-detail-header {
        margin-bottom: 15px;
    }
    
    .message-detail-content {
        line-height: 1.6;
        font-size: 14px;
    }
    
    /* 分页组件移动端优化 */
    .pagination-container {
        margin-top: 15px !important;
    }
    
    .custom-pagination .el-pagination__total,
    .custom-pagination .el-pagination__sizes {
        display: none;
    }
    
    .custom-pagination .el-pagination__jump {
        display: none;
    }
    
    .custom-pagination .el-pager li {
        min-width: 32px;
        height: 32px;
        line-height: 32px;
        font-size: 12px;
    }
    
    .custom-pagination .el-pagination__prev,
    .custom-pagination .el-pagination__next {
        min-width: 32px;
        height: 32px;
        line-height: 32px;
        font-size: 12px;
    }
}

/* 迷你统计样式 */
.mini-stat {
    text-align: center;
    padding: 20px;
    border-radius: 6px;
    background: #f8f9fa;
    border-left: 4px solid #409eff;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.mini-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mini-stat.success {
    border-left-color: #67c23a;
}

.mini-stat.warning {
    border-left-color: #e6a23c;
}

.mini-stat.info {
    border-left-color: #909399;
}

.mini-stat-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #409eff 0%, #36a3f7 100%);
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(64, 158, 255, 0.3);
}

.mini-stat.success .mini-stat-icon {
    background: linear-gradient(135deg, #67c23a 0%, #85ce61 100%);
    box-shadow: 0 4px 12px rgba(103, 194, 58, 0.3);
}

.mini-stat.warning .mini-stat-icon {
    background: linear-gradient(135deg, #e6a23c 0%, #f0ad4e 100%);
    box-shadow: 0 4px 12px rgba(230, 162, 60, 0.3);
}

.mini-stat.info .mini-stat-icon {
    background: linear-gradient(135deg, #909399 0%, #b4bccc 100%);
    box-shadow: 0 4px 12px rgba(144, 147, 153, 0.3);
}

.mini-stat-icon i {
    color: white;
}

.mini-stat .stat-content {
    flex: 1;
    text-align: left;
}

.mini-stat .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #303133;
    margin-bottom: 4px;
    line-height: 1;
}

.mini-stat .stat-label {
    color: #909399;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 接口统计概览样式 */
.interface-stats-overview {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e4e7ed;
}

/* 被控机器卡片样式 */
.worker-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.worker-card.online {
    border-color: #67c23a;
}

.worker-card.offline {
    border-color: #f56c6c;
}

/* 测试模式样式，优先级更高 */
.worker-card.test-mode {
    border-color: #e6a23c !important;
}

.worker-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.worker-name {
    font-size: 16px;
    font-weight: 600;
    color: #303133;
}

.worker-name i {
    margin-right: 8px;
    color: #409eff;
}

.worker-card-content {
    margin-bottom: 15px;
}

.worker-info .info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
}

.worker-info .info-item .label {
    color: #909399;
    font-weight: 500;
}

.worker-info .info-item .value {
    color: #303133;
    font-weight: 600;
}

.worker-card-footer {
    text-align: center;
    border-top: 1px solid #e4e7ed;
    padding-top: 15px;
}

/* 空状态样式 */
.empty-state {
    text-align: center;
    padding: 60px 0;
    color: #909399;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.empty-state p {
    font-size: 16px;
    margin: 0;
}

/* 执行日志表格容器 - 与任务列表保持一致 */
.execution-logs-container {
    width: 100%;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
}

.execution-logs-container .el-table {
    width: 100% !important;
}

.execution-logs-container .el-table__header-wrapper,
.execution-logs-container .el-table__body-wrapper {
    width: 100% !important;
}

/* 执行日志表格样式 - 与任务列表保持一致 */
.execution-logs-table {
    width: 100% !important;
    font-size: 13px;
    table-layout: auto !important;
}

.execution-logs-table .el-table__header,
.execution-logs-table .el-table__body {
    width: 100% !important;
    table-layout: auto !important;
}

.execution-logs-table .el-table__header-wrapper {
    background: #f5f7fa;
}

.execution-logs-table .el-table__header th {
    background: #f5f7fa !important;
    border-bottom: 2px solid #e4e7ed;
    padding: 12px 0 !important;
    height: 45px !important;
    font-weight: 600;
    color: #303133;
    vertical-align: middle;
}

.execution-logs-table .el-table__body-wrapper {
    overflow-x: hidden !important;
}

.execution-logs-table .el-table__row {
    transition: background-color 0.25s ease;
    height: 50px !important;
}

.execution-logs-table .el-table__row:hover {
    background-color: #f5f7fa !important;
}

.execution-logs-table .el-table td {
    border-bottom: 1px solid #ebeef5;
    padding: 12px 0 !important;
    height: 50px !important;
    vertical-align: middle !important;
    line-height: 1.4;
}

/* 执行日志表格内容样式 */
.execution-logs-table .interface-name {
    font-weight: 500;
    color: #303133;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.execution-logs-table .request-url {
    color: #606266;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.execution-logs-table .request-time {
    color: #909399;
    font-size: 12px;
    font-family: 'Courier New', monospace;
}

/* 标签样式优化 - 与任务列表保持一致 */
.execution-logs-table .el-tag {
    border: none;
    font-weight: 500;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    height: 24px;
    line-height: 16px;
}

.execution-logs-table .el-tag.el-tag--small {
    height: 26px;
    line-height: 18px;
    padding: 4px 10px;
}

/* 操作按钮样式 - 与任务列表保持一致 */
.execution-logs-table .action-button {
    height: 32px;
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.execution-logs-table .action-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(64, 158, 255, 0.3);
}

/* 空数据状态 */
.execution-logs-table .el-table__empty-block {
    background: #fafafa;
    border-radius: 6px;
    margin: 20px;
}

.execution-logs-table .el-table__empty-text {
    color: #909399;
    font-size: 14px;
}

/* 加载状态优化 */
.execution-logs-table .el-loading-mask {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
}

/* 响应式优化 */
@media (max-width: 1200px) {
    .execution-logs-table {
        font-size: 12px;
    }

    .execution-logs-table .el-table td {
        padding: 10px 0 !important;
        height: 45px !important;
    }

    .execution-logs-table .el-table__header th {
        height: 40px !important;
        padding: 10px 0 !important;
    }
}

/* 确保表格容器不会产生不必要的滚动条 */
.custom-table {
    width: 100%;
    overflow: hidden;
}

.custom-table .el-table {
    width: 100% !important;
}

/* 任务列表表格容器 */
.task-list-container {
    width: 100%;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
}

.task-list-container .el-table {
    width: 100% !important;
}

.task-list-container .el-table__header-wrapper,
.task-list-container .el-table__body-wrapper {
    width: 100% !important;
}

/* 任务列表表格样式 */
.task-list-table {
    width: 100% !important;
    font-size: 13px;
    table-layout: auto !important;
}

.task-list-table .el-table__header,
.task-list-table .el-table__body {
    width: 100% !important;
    table-layout: auto !important;
}

.task-list-table .el-table__header-wrapper {
    background: #f5f7fa;
}

.task-list-table .el-table__header th {
    background: #f5f7fa !important;
    border-bottom: 2px solid #e4e7ed;
    padding: 12px 0 !important;
    height: 45px !important;
    font-weight: 600;
    color: #303133;
    vertical-align: middle;
}

.task-list-table .el-table__body-wrapper {
    overflow-x: hidden !important;
}

.task-list-table .el-table__row {
    transition: background-color 0.25s ease;
    height: 50px !important;
}

.task-list-table .el-table__row:hover {
    background-color: #f5f7fa !important;
}

.task-list-table .el-table td {
    border-bottom: 1px solid #ebeef5;
    padding: 12px 0 !important;
    height: 50px !important;
    vertical-align: middle !important;
    line-height: 1.4;
}

/* 任务列表表格内容样式 */
.task-list-table .task-id {
    font-weight: 600;
    color: #409eff;
    font-family: 'Courier New', monospace;
}

.task-list-table .phone-number {
    font-weight: 500;
    color: #303133;
    font-family: 'Courier New', monospace;
}

.task-list-table .create-time {
    color: #909399;
    font-size: 12px;
    font-family: 'Courier New', monospace;
}

/* 进度条容器 */
.task-list-table .progress-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
    width: 100%;
    padding: 0 10px;
}

.task-list-table .progress-bar {
    flex: 1;
    min-width: 100px;
    max-width: 120px;
}

.task-list-table .progress-text {
    font-size: 12px;
    font-weight: 600;
    color: #606266;
    min-width: 45px;
    text-align: right;
}

/* 标签样式优化 */
.task-list-table .el-tag {
    border: none;
    font-weight: 500;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    height: 24px;
    line-height: 16px;
}

.task-list-table .el-tag.el-tag--small {
    height: 26px;
    line-height: 18px;
    padding: 4px 10px;
}

/* 操作按钮样式 */
.task-list-table .action-button {
    height: 32px;
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.task-list-table .action-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(64, 158, 255, 0.3);
}

/* 空数据状态 */
.task-list-table .el-table__empty-block {
    background: #fafafa;
    border-radius: 6px;
    margin: 20px;
}

.task-list-table .el-table__empty-text {
    color: #909399;
    font-size: 14px;
}

/* 加载状态优化 */
.task-list-table .el-loading-mask {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
}

/* 分页容器样式 */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    background: #fff;
    border-top: 1px solid #ebeef5;
}

.pagination-container .el-pagination {
    padding: 0;
}

.pagination-container .el-pagination.is-background .el-pager li:not(.disabled):hover {
    color: #409eff;
}

.pagination-container .el-pagination.is-background .el-pager li:not(.disabled).active {
    background-color: #409eff;
    color: #fff;
}

/* 响应式优化 */
@media (max-width: 1200px) {
    .task-list-table {
        font-size: 12px;
    }

    .task-list-table .el-table td {
        padding: 10px 0 !important;
        height: 45px !important;
    }

    .task-list-table .el-table__header th {
        height: 40px !important;
        padding: 10px 0 !important;
    }

    .execution-logs-table {
        font-size: 12px;
    }

    .execution-logs-table .el-table td {
        padding: 10px 0 !important;
        height: 45px !important;
    }

    .execution-logs-table .el-table__header th {
        height: 40px !important;
        padding: 10px 0 !important;
    }

    .pagination-container {
        padding: 15px 0;
    }

    .pagination-container .el-pagination {
        font-size: 12px;
    }
}

.mini-stat-icon i {
    color: white;
    z-index: 2;
    position: relative;
}

.mini-stat.success .mini-stat-icon {
    background: linear-gradient(135deg, #67c23a 0%, #85ce61 100%);
    box-shadow: 0 4px 12px rgba(103, 194, 58, 0.3);
}

.mini-stat.warning .mini-stat-icon {
    background: linear-gradient(135deg, #e6a23c 0%, #f0ad4e 100%);
    box-shadow: 0 4px 12px rgba(230, 162, 60, 0.3);
}

.mini-stat.info .mini-stat-icon {
    background: linear-gradient(135deg, #909399 0%, #a6a9ad 100%);
    box-shadow: 0 4px 12px rgba(144, 147, 153, 0.3);
}

.mini-stat-content {
    flex: 1;
    text-align: left;
}

.mini-stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #409eff;
    margin-bottom: 5px;
}

.mini-stat.success .mini-stat-number {
    color: #67c23a;
}

.mini-stat.warning .mini-stat-number {
    color: #e6a23c;
}

.mini-stat.info .mini-stat-number {
    color: #909399;
}

.mini-stat-label {
    color: #909399;
    font-size: 14px;
}