/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* 标题栏 */
.header {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px 30px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 9998;
}

.header h1 {
    color: #2c3e50;
    font-size: 2em;
    font-weight: 600;
}

.header h1 i {
    color: #0088cc;
    margin-right: 10px;
}

.status-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.online {
    background: #27ae60;
    color: white;
}

.status-badge.offline {
    background: #e74c3c;
    color: white;
}

/* 主要内容区域 */
.main-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 20px;
    height: calc(100vh - 140px);
}

/* 侧边栏 */
.sidebar {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    overflow-y: auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ecf0f1;
}

.section-header h3 {
    color: #2c3e50;
    font-size: 1.3em;
    font-weight: 600;
}

.section-header i {
    margin-right: 10px;
    color: #3498db;
}

/* 分组列表 */
.groups-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.group-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 10px;
    background: #f8f9fa;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.group-item:hover {
    background: #e9ecef;
    border-color: #3498db;
    transform: translateY(-2px);
}

.group-item.active {
    background: #3498db;
    color: white;
}

.group-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.group-info {
    flex: 1;
}

.group-name {
    font-weight: 600;
    font-size: 1em;
}

.group-count {
    font-size: 0.85em;
    opacity: 0.7;
    margin-top: 2px;
}

/* 主面板 */
.main-panel {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    overflow-y: auto;
}

/* 统计栏 */
.stats-bar {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-label {
    font-weight: 500;
    color: #6c757d;
}

.stat-value {
    font-weight: 700;
    font-size: 1.2em;
}

.stat-value.online {
    color: #27ae60;
}

.stat-value.offline {
    color: #e74c3c;
}

/* 账号网格 */
.accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.account-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.account-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
}

.account-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.account-status {
    margin-right: 15px;
}

.account-status i {
    font-size: 1.2em;
}

.account-status.online i {
    color: #27ae60;
}

.account-status.offline i {
    color: #e74c3c;
}

.account-info {
    flex: 1;
}

.account-nickname {
    font-weight: 600;
    font-size: 1.1em;
    color: #2c3e50;
}

.account-phone {
    font-size: 0.9em;
    color: #6c757d;
    margin-top: 2px;
}

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

.account-groups {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.group-tag {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    color: white;
    font-weight: 500;
    opacity: 0.9;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.remove-from-group-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 0;
    font-size: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.remove-from-group-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    transform: scale(1.1);
}

.account-footer {
    margin-top: 15px;
}

.group-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9em;
    background: white;
}

/* 按钮样式 */
.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95em;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9, #1f639a);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.btn-icon {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6c757d;
}

.btn-icon:hover {
    background: #f8f9fa;
    color: #3498db;
}

.btn-icon.danger:hover {
    background: #fdf2f2;
    color: #e74c3c;
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 15000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #ecf0f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: #2c3e50;
    font-size: 1.3em;
    font-weight: 600;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #e74c3c;
}

.modal-body {
    padding: 30px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* 颜色选择器 */
.color-picker {
    display: flex;
    align-items: center;
    gap: 15px;
}

.color-presets {
    display: flex;
    gap: 8px;
}

.color-preset {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.color-preset:hover {
    border-color: #2c3e50;
    transform: scale(1.1);
}

/* 消息提示 */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 16000;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    background: #27ae60;
}

.toast.error {
    background: #e74c3c;
}

.toast.info {
    background: #3498db;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .sidebar {
        order: 2;
    }
    
    .accounts-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-bar {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 页面卸载时停止自动刷新
window.addEventListener('beforeunload', stopAutoRefresh); */

/* 用户菜单样式 */
.user-menu {
    position: relative;
    display: inline-block;
    margin-left: 15px;
    z-index: 10000;
}

.user-avatar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    color: white;
    font-size: 0.9em;
}

.online-dot {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 10px;
    height: 10px;
    background: #10b981;
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.user-menu-btn {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #3498db;
    color: #2c3e50;
    padding: 12px 18px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    font-size: 1em;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    backdrop-filter: blur(10px);
    min-width: 160px;
}

.user-menu-btn #username-display {
    color: #2c3e50;
    font-weight: 700;
    text-shadow: none;
}

.user-menu-btn:hover {
    background: white;
    border-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    color: #2980b9;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    min-width: 220px;
    padding: 8px 0;
    z-index: 10001;
    display: none;
    margin-top: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    animation: dropdownSlideIn 0.2s ease-out;
}

.user-dropdown.show {
    display: block;
}

.user-info {
    padding: 10px 15px;
    border-bottom: 1px solid #ecf0f1;
    margin-bottom: 5px;
}

.user-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 3px;
}

.user-role {
    margin: 4px 0;
}

.user-email {
    font-size: 0.85em;
    color: #6c757d;
}

.user-dropdown hr {
    margin: 5px 0;
    border: none;
    border-top: 1px solid #ecf0f1;
}

.dropdown-item {
    width: 100%;
    padding: 10px 15px;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2c3e50;
}

.dropdown-item:hover {
    background: #f8f9fa;
}

.dropdown-item.logout-btn:hover {
    background: #fee2e2;
    color: #dc2626;
}

.dropdown-item.logout-btn i {
    color: #dc2626;
}

/* 下拉菜单动画 */
@keyframes dropdownSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item i {
    width: 16px;
    color: #6c757d;
}

/* 选项卡导航 */
.tab-navigation {
    display: flex;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 5px;
}

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #6c757d;
}

.tab-btn.active {
    background: white;
    color: #3498db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
}

/* 选项卡内容 */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 群发消息容器 */
.bulk-message-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.selection-section, .message-section, .send-settings {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
}

.selection-section h4, .message-section h4 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 1.1em;
    font-weight: 600;
}

.selection-section h4 i, .message-section h4 i {
    margin-right: 8px;
    color: #3498db;
}

/* 分组选择 */
.group-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.checkbox-item:hover {
    border-color: #3498db;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.1);
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 12px;
    border: 2px solid #ddd;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark {
    border-color: white;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 12px;
}

/* Telegram群组列表 */
.telegram-groups {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
}

.group-item-tg {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f1f1f1;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.group-item-tg:hover {
    background-color: #f8f9fa;
}

.group-item-tg.selected {
    background-color: #e3f2fd;
    border-left: 4px solid #3498db;
}

.group-item-tg input[type="checkbox"] {
    margin-right: 12px;
}

.group-info-tg {
    flex: 1;
}

.group-title {
    font-weight: 600;
    color: #2c3e50;
}

.group-meta {
    font-size: 0.85em;
    color: #6c757d;
    margin-top: 2px;
}

.loading-placeholder {
    padding: 40px 20px;
    text-align: center;
    color: #6c757d;
    font-style: italic;
}

/* 消息内容区域 */
.message-section textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.3s ease;
}

.message-section textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* 发送设置 */
.send-settings {
    background: white;
    border: 1px solid #ecf0f1;
}

.setting-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.setting-item label {
    font-weight: 500;
    color: #2c3e50;
    min-width: 120px;
}

.delay-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.delay-inputs input {
    width: 60px;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
}

/* 发送操作区域 */
.send-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 2px solid #ecf0f1;
}

.send-status {
    flex: 1;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 500;
}

.send-status.sending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.send-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.send-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 时间控制选项样式 */
.time-control-options {
    margin-top: 10px;
}

.radio-group {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-weight: 500;
}

.radio-label input[type="radio"] {
    margin: 0;
    margin-right: 5px;
}

.time-option {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
}

.inline-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.inline-form .form-control {
    flex: 0 0 auto;
    width: auto;
    min-width: 80px;
    padding: 6px 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
}

.inline-form .form-control.narrow {
    width: 60px;
}

.inline-form .form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.inline-form label {
    margin: 0;
    font-weight: 500;
    color: #495057;
}

.inline-form span {
    font-size: 0.9em;
    color: #6c757d;
}

.help-text {
    font-size: 0.85em;
    color: #6c757d;
    margin-top: 8px;
    font-style: italic;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .group-selection {
        grid-template-columns: 1fr;
    }
    
    .setting-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .send-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* 用户管理表格样式 */
.users-table-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
}

.users-table thead {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.users-table th,
.users-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ecf0f1;
}

.users-table th {
    font-weight: 600;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.users-table tbody tr:hover {
    background: #f8f9fa;
}

.users-table tbody tr:last-child td {
    border-bottom: none;
}

/* 用户角色标签 */
.role-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-badge.admin {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.role-badge.user {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

/* 用户状态标签 */
.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.active {
    background: linear-gradient(135deg, #27ae60, #219a52);
    color: white;
}

.status-badge.inactive {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
}

/* 操作按钮组 */
.action-buttons {
    display: flex;
    gap: 5px;
    justify-content: center;
}

.action-buttons .btn-icon {
    padding: 6px;
    min-width: 32px;
    height: 32px;
    border-radius: 6px;
    font-size: 0.8em;
}

.action-buttons .btn-icon.toggle {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

.action-buttons .btn-icon.toggle:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
}

.action-buttons .btn-icon.danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.action-buttons .btn-icon.danger:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
}

/* 统计区域扩展 */
.stat-item .stat-value.admin {
    color: #e74c3c;
    font-weight: 700;
}

/* 表单样式扩展 */
.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 1em;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.form-group select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* 响应式表格 */
@media (max-width: 768px) {
    .users-table-container {
        overflow-x: auto;
    }
    
    .users-table {
        min-width: 600px;
    }
    
    .users-table th,
    .users-table td {
        padding: 8px 10px;
        font-size: 0.8em;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn-icon {
        width: 100%;
        margin-bottom: 2px;
    }
}

/* ============ 模板管理样式 ============ */

.mode-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 10px;
}

.mode-btn {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mode-btn:hover {
    border-color: #3498db;
    background: #f1f8ff;
}

.mode-btn.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.template-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.template-card:hover {
    border-color: #3498db;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15);
}

.template-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.template-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.template-mode {
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 500;
    text-transform: uppercase;
}

.template-mode.mode1 {
    background: #e3f2fd;
    color: #1976d2;
}

.template-mode.mode2 {
    background: #f3e5f5;
    color: #7b1fa2;
}

.template-mode.mode3 {
    background: #fff3e0;
    color: #f57c00;
}

.template-content {
    color: #6c757d;
    font-size: 0.9em;
    line-height: 1.5;
    margin-bottom: 15px;
    max-height: 80px;
    overflow: hidden;
}

.template-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8em;
    color: #6c757d;
    border-top: 1px solid #e9ecef;
    padding-top: 15px;
}

.template-actions {
    display: flex;
    gap: 5px;
}

.template-actions .btn-icon {
    width: 32px;
    height: 32px;
    font-size: 0.8em;
}

/* 模板模态框 */
.large-modal .modal-content {
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.template-input-container {
    position: relative;
}

.template-help {
    margin-top: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.help-item {
    margin-bottom: 8px;
    font-size: 0.85em;
    color: #6c757d;
}

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

.template-preview-section {
    margin-top: 20px;
}

.template-preview-section h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1em;
}

.messages-preview {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    max-height: 200px;
    overflow-y: auto;
}

.preview-message {
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 8px;
    border-left: 4px solid #3498db;
    font-size: 0.9em;
}

.preview-message:last-child {
    margin-bottom: 0;
}

.preview-placeholder {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 20px;
}

/* ============ 发送消息样式 ============ */

.send-setup-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.setup-step {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border-left: 5px solid #3498db;
}

.setup-step h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-number {
    background: #3498db;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    font-weight: 600;
}

.template-selection {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.template-select {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1em;
    background: white;
}

.template-select:focus {
    border-color: #3498db;
    outline: none;
}

.template-preview {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    min-height: 100px;
}

.template-preview.has-content {
    border-color: #27ae60;
}

.template-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.template-preview-title {
    font-weight: 600;
    color: #2c3e50;
}

.template-preview-mode {
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 500;
    text-transform: uppercase;
}

/* 表情包预览样式 */
.sticker-preview {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.sticker-info {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f57c00;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sticker-features {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 6px;
    border-left: 4px solid #f57c00;
    font-size: 0.95rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.sticker-note {
    padding: 1rem;
    background: #fff8e1;
    border: 1px solid #ffc107;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #666;
}

.sticker-note strong {
    color: #333;
}

.template-preview-mode {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 500;
}

/* ============ 任务监控样式 ============ */

.task-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

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

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    color: white;
}

.stat-icon.pending {
    background: #f39c12;
}

.stat-icon.running {
    background: #3498db;
}

.stat-icon.completed {
    background: #27ae60;
}

.stat-info {
    flex: 1;
}

.stat-info .stat-value {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-info .stat-label {
    color: #6c757d;
    font-size: 0.9em;
}

.tasks-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.task-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.task-card:hover {
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.1);
}

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

.task-info {
    flex: 1;
}

.task-name {
    font-size: 1.1em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.task-template {
    color: #6c757d;
    font-size: 0.9em;
}

.task-status {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 500;
    text-transform: uppercase;
}

.task-status.pending {
    background: #fff3cd;
    color: #856404;
}

.task-status.running {
    background: #d1ecf1;
    color: #0c5460;
}

.task-status.completed {
    background: #d4edda;
    color: #155724;
}

.task-status.failed {
    background: #f8d7da;
    color: #721c24;
}

.task-status.stopped {
    background: #e2e3e5;
    color: #383d41;
}

.task-progress {
    margin-bottom: 15px;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transition: width 0.3s ease;
    border-radius: 4px;
}

.progress-text {
    font-size: 0.85em;
    font-weight: 500;
    color: #6c757d;
    min-width: 35px;
}

.task-stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85em;
    color: #6c757d;
}

.task-actions {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

/* 任务详情模态框 */
.task-detail-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.task-info-section,
.task-stats-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.task-info-section h4,
.task-stats-section h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.task-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-item label {
    font-size: 0.85em;
    color: #6c757d;
    font-weight: 500;
}

.info-item span {
    font-weight: 600;
    color: #2c3e50;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stats-grid .stat-item {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

.stats-grid .stat-value {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 5px;
}

.stats-grid .stat-value.success {
    color: #27ae60;
}

.stats-grid .stat-value.danger {
    color: #e74c3c;
}

.task-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.task-logs-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.task-logs-section h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.logs-container {
    background: white;
    border-radius: 8px;
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
    padding: 15px;
}

.log-item {
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.85em;
}

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

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

.log-account {
    font-weight: 600;
    color: #2c3e50;
}

.log-time {
    color: #6c757d;
    font-size: 0.8em;
}

.log-content {
    color: #495057;
    margin-bottom: 5px;
}

.log-status {
    font-size: 0.75em;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 500;
}

.log-status.success {
    background: #d4edda;
    color: #155724;
}

.log-status.failed {
    background: #f8d7da;
    color: #721c24;
}

/* 按钮样式扩展 */
.btn-danger {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-danger:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .templates-grid {
        grid-template-columns: 1fr;
    }
    
    .task-stats {
        grid-template-columns: 1fr;
    }
    
    .mode-selector {
        flex-direction: column;
    }
    
    .setup-step {
        padding: 15px;
    }
    
    .task-info-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .task-controls {
        flex-direction: column;
    }
} 

/* 高级控件样式 */
.advanced-controls {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    padding: 20px;
}

.control-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.search-container {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #2196F3;
}

.clear-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.clear-btn:hover {
    background-color: #f5f5f5;
    color: #666;
}

.filter-container {
    display: flex;
    gap: 10px;
}

.filter-select {
    padding: 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    min-width: 120px;
    background: white;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: #2196F3;
}

.action-container {
    display: flex;
    gap: 10px;
}

.bulk-btn, .export-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.bulk-btn {
    background-color: #4CAF50;
    color: white;
}

.bulk-btn:hover {
    background-color: #45a049;
    transform: translateY(-1px);
}

.export-btn {
    background-color: #FF9800;
    color: white;
}

.export-btn:hover {
    background-color: #e68900;
    transform: translateY(-1px);
}

.view-container {
    display: flex;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.view-btn {
    padding: 8px 12px;
    border: none;
    background: white;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    border-right: 1px solid #e0e0e0;
}

.view-btn:last-child {
    border-right: none;
}

.view-btn.active {
    background-color: #2196F3;
    color: white;
}

.view-btn:hover:not(.active) {
    background-color: #f5f5f5;
}

/* 统计行样式 */
.stats-row {
    display: flex;
    gap: 30px;
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-label {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.stat-value {
    color: #333;
    font-size: 16px;
    font-weight: bold;
}

/* 分页样式 */
.pagination-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
}

.pagination-info {
    color: #666;
    font-size: 14px;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-btn {
    padding: 6px 12px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.page-btn:hover:not(:disabled) {
    border-color: #2196F3;
    color: #2196F3;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#page-info {
    color: #666;
    font-size: 14px;
    min-width: 100px;
    text-align: center;
}

/* 虚拟滚动容器样式 */
.virtual-scroll-container {
    height: 600px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #f8f9fa;
}

.virtual-scroll-content {
    height: 100%;
    overflow-y: auto;
    position: relative;
}

.virtual-scroll-items {
    position: relative;
    padding: 10px;
}

/* 账号卡片样式优化 */
.account-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 10px;
    padding: 15px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

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

.account-card.online {
    border-left-color: #4CAF50;
}

.account-card.offline {
    border-left-color: #757575;
}

.account-card.error {
    border-left-color: #f44336;
}

.account-card.pending {
    border-left-color: #FF9800;
}

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

.account-status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
}

.account-title {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.account-phone {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

.account-nickname {
    font-size: 14px;
    color: #666;
    margin-top: 2px;
}

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

.action-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reconnect-btn {
    background-color: #2196F3;
    color: white;
}

.reconnect-btn:hover:not(:disabled) {
    background-color: #1976D2;
    transform: scale(1.1);
}

.reconnect-btn:disabled {
    background-color: #e0e0e0;
    color: #999;
    cursor: not-allowed;
}

.delete-btn {
    background-color: #f44336;
    color: white;
}

.delete-btn:hover {
    background-color: #d32f2f;
    transform: scale(1.1);
}

.account-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

.detail-label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.detail-value {
    font-size: 12px;
    color: #333;
    font-weight: bold;
}

.status-online {
    color: #4CAF50;
}

.status-offline {
    color: #757575;
}

.status-error {
    color: #f44336;
}

.status-pending {
    color: #FF9800;
}

.account-groups {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.group-tag {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    color: white;
    font-weight: 500;
    white-space: nowrap;
}

/* 视图样式 */
.view-grid .account-card {
    margin-bottom: 15px;
}

.view-list .virtual-scroll-items {
    display: flex;
    flex-direction: column;
}

.view-list .account-card {
    margin-bottom: 8px;
}

.view-list .account-details {
    grid-template-columns: repeat(4, 1fr);
}

.view-compact .account-card {
    padding: 10px;
    margin-bottom: 5px;
}

.view-compact .account-details {
    display: none;
}

.view-compact .account-groups {
    margin-top: 5px;
}

.view-compact .group-tag {
    font-size: 10px;
    padding: 2px 6px;
}

/* 性能指标样式 */
.performance-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 12px;
    display: flex;
    gap: 15px;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.perf-item {
    white-space: nowrap;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .control-row {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .search-container {
        min-width: unset;
    }
    
    .filter-container,
    .action-container,
    .view-container {
        justify-content: center;
    }
    
    .stats-row {
        justify-content: space-around;
        text-align: center;
    }
    
    .account-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .advanced-controls {
        padding: 15px;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .pagination-row {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .virtual-scroll-container {
        height: 500px;
    }
    
    .account-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .account-actions {
        align-self: flex-end;
    }
    
    .performance-indicator {
        bottom: 10px;
        right: 10px;
        flex-direction: column;
        gap: 8px;
        font-size: 11px;
    }
}

/* 加载动画 */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* 滚动条样式 */
.virtual-scroll-content::-webkit-scrollbar {
    width: 8px;
}

.virtual-scroll-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.virtual-scroll-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.virtual-scroll-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 通知样式增强 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background-color: rgba(76, 175, 80, 0.9);
}

.notification.error {
    background-color: rgba(244, 67, 54, 0.9);
}

.notification.warning {
    background-color: rgba(255, 152, 0, 0.9);
}

.notification.info {
    background-color: rgba(33, 150, 243, 0.9);
} 

/* 联系方式浮动按钮组样式 */
.contact-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    min-width: 140px;
}

.contact-button a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.contact-button i {
    font-size: 18px;
    margin-right: 8px;
}

/* 频道按钮 */
.channel-button a {
    background: linear-gradient(135deg, #0088cc, #005577);
    color: white;
}

/* 客服按钮 */
.service-button a {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: white;
} 