/* 全局样式 */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    font-weight: 500;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    border-bottom: 2px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #333 !important;
}

.nav-link {
    font-weight: 500;
    color: #555 !important;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background-color: #e9ecef;
    color: #333 !important;
}

/* 按钮样式 */
.btn {
    font-weight: 500;
    border-radius: 4px;
    border: 2px solid #dee2e6;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

.btn-primary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

.btn-secondary {
    background-color: #e9ecef;
    border-color: #dee2e6;
    color: #495057;
}

.btn-secondary:hover {
    background-color: #dee2e6;
    border-color: #ced4da;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

.btn-outline-secondary {
    border-color: #dee2e6;
    color: #6c757d;
}

.btn-outline-secondary:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
    color: #495057;
}

/* 卡片样式 */
.card {
    border: 2px solid #dee2e6;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
}

/* 表格样式 */
.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
}

.table td {
    border-bottom: 1px solid #dee2e6;
}

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

/* 表单样式 */
.form-control {
    border: 2px solid #dee2e6;
    border-radius: 4px;
    font-weight: 500;
}

.form-control:focus {
    border-color: #6c757d;
    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.25);
}

.form-select {
    border: 2px solid #dee2e6;
    border-radius: 4px;
    font-weight: 500;
}

.form-select:focus {
    border-color: #6c757d;
    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.25);
}

/* 标签样式 */
.badge {
    font-weight: 500;
    border-radius: 4px;
}

/* 页面容器 */
.container {
    margin-top: 20px;
}

/* 操作按钮组 */
.btn-group .btn {
    margin-right: 5px;
}

/* 模态框样式 */
.modal-content {
    border: 2px solid #dee2e6;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.modal-header {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.modal-title {
    font-weight: 600;
    color: #333;
}

.modal-footer {
    background-color: #f8f9fa;
    border-top: 2px solid #dee2e6;
}

.modal-body {
    padding: 20px;
}

/* 任务列表样式 */
.task-item {
    background-color: #fff;
    border: 2px solid #dee2e6;
    transition: all 0.2s ease;
}

.task-item:hover {
    border-color: #adb5bd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 话术框样式 */
.speech-box {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background-color: #f8f9fa;
}

.speech-box p {
    color: #495057;
    line-height: 1.5;
}

/* 状态流转操作区 */
.status-actions {
    background-color: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    padding: 15px;
}

/* 筛选按钮组 */
.filter-group .btn {
    margin-right: 5px;
    margin-bottom: 5px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .navbar-nav {
        margin-top: 10px;
    }
    
    .btn-group {
        margin-top: 10px;
    }
    
    .modal-dialog {
        margin: 10px;
    }
    
    .task-item .btn {
        width: 100%;
        margin-top: 10px;
    }
}
