        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-color: #234cf4;
            --primary-hover: #1a3add;
            --primary-light: rgba(35, 76, 244, 0.1);
            --bg-color: #f5f5f5;
            --card-bg: #ffffff;
            --text-primary: #262626;
            --text-secondary: #8c8c8c;
            --border-color: #e8e8e8;
            --table-hover: #fafafa;
            --success-color: #52c41a;
            --danger-color: #ff4d4f;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
            background: var(--bg-color);
            color: var(--text-primary);
            line-height: 1.5;
            font-size: 16px;
        }

        .container {
            width: 100%;
            margin: 0 auto;
            padding: 24px;
            height: calc(100vh - 48px);
            display: flex;
            flex-direction: column;
        }

        .main-content {
            display: flex;
            gap: 0;
            align-items: stretch;
            flex: 1;
            overflow: hidden;
        }

        .left-panel {
            flex: 0 0 650px;
            min-width: 450px;
            max-width: 900px;
            display: flex;
            flex-direction: column;
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            overflow: hidden;
            height: 100%;
        }

        /* 左侧面板固定头部 */
        .left-panel-header {
            flex-shrink: 0;
            padding: 12px 12px 0 12px;
        }

        /* 左侧面板可滚动内容区域 */
        .left-panel-content {
            flex: 1;
            overflow-y: auto;
            overflow-x: hidden;
            padding: 12px;
        }

        /* 左侧面板固定底部 */
        .left-panel-footer {
            flex-shrink: 0;
            padding: 12px;
            border-top: 1px solid var(--border-color);
        }

        /* 左边面板滚动条样式 */
        .left-panel-content::-webkit-scrollbar {
            width: 6px;
        }

        .left-panel-content::-webkit-scrollbar-track {
            background: transparent;
        }

        .left-panel-content::-webkit-scrollbar-thumb {
            background: rgba(0, 0, 0, 0.1);
            border-radius: 3px;
        }

        .left-panel-content::-webkit-scrollbar-thumb:hover {
            background: rgba(0, 0, 0, 0.2);
        }

        .sites-table {
            width: 100%;
            table-layout: fixed;
            border-collapse: separate;
            border-spacing: 0;
        }

        .sites-table thead th {
            background: var(--card-bg);
            border-bottom: 2px solid var(--border-color);
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .sites-table tbody {
            position: relative;
            z-index: 1;
        }

        .sites-table tbody tr {
            background: var(--card-bg);
        }

        .sites-table th:nth-child(1),
        .sites-table td:nth-child(1) {
            width: 50px;
            text-align: center;
            white-space: nowrap;
        }

        .sites-table th:nth-child(2),
        .sites-table td:nth-child(2) {
            width: 120px;
        }

        .sites-table th:nth-child(3),
        .sites-table td:nth-child(3) {
            width: 200px;
        }

        .sites-table th:nth-child(4),
        .sites-table td:nth-child(4) {
            width: 65px;
        }

        .sites-table th:nth-child(5),
        .sites-table td:nth-child(5) {
            width: 120px;
            text-align: center;
        }

        .sites-table th:nth-child(6),
        .sites-table td:nth-child(6) {
            width: 70px;
            text-align: center;
        }

        .resizer {
            flex: 0 0 12px;
            width: 3px;
            margin: 0 4.5px;
            background: transparent;
            cursor: col-resize;
            position: relative;
            z-index: 10;
            height: 100%;
        }

        .resizer::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 3px;
            height: 100%;
            background: transparent;
            transition: background 0.2s;
        }

        .resizer:hover::before,
        .resizer.active::before {
            background: var(--primary-color);
        }

        .resizer::after {
            display: none;
        }

        .right-panel {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 6px;
            overflow: hidden;
            padding-right: 4px;
            height: 100%;
        }

        .right-controls {
            flex: 0 0 auto;
            display: flex;
            gap: 12px;
            align-items: center;
        }

        .crawl-config {
            display: flex;
            gap: 12px;
            align-items: center;
            margin-left: auto;
        }

        .config-item {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .config-label {
            font-size: 14px;
            color: var(--text-secondary);
            white-space: nowrap;
        }

        .config-select {
            padding: 6px 10px;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            font-size: 14px;
            background: white;
            color: var(--text-primary);
            cursor: pointer;
        }

        .config-select:hover {
            border-color: var(--primary-color);
        }

        .config-select:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px var(--primary-light);
        }

        .config-input {
            padding: 6px 8px;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            font-size: 14px;
            background: white;
            color: var(--text-primary);
            text-align: center;
        }

        .config-input:hover {
            border-color: var(--primary-color);
        }

        .config-input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px var(--primary-light);
        }

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

        .header-left h1 {
            font-size: 24px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 4px;
        }

        .header-left p {
            color: var(--text-secondary);
            font-size: 14px;
        }

        input[type="number"] {
            padding: 8px 12px;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            font-size: 14px;
            transition: all 0.2s;
            width: 120px;
        }

        input[type="number"]:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px var(--primary-light);
        }

        .btn {
            padding: 8px 20px;
            border: none;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .icon {
            width: 16px;
            height: 16px;
            fill: currentColor;
        }

        .icon-sm {
            width: 14px;
            height: 14px;
        }

        .btn-primary {
            background: var(--primary-color);
            color: white;
        }

        .btn-primary:hover {
            background: var(--primary-hover);
        }

        .btn-primary:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .btn-secondary {
            background: white;
            color: var(--text-primary);
            border: 1px solid var(--border-color);
        }

        .btn-secondary:hover {
            border-color: var(--primary-color);
            color: var(--primary-color);
        }

        .badge-btn {
            transition: all 0.2s;
        }

        .badge-btn:hover {
            background: #e0e0e0;
            border-color: #d0d0d0;
        }

        /* 主题色checkbox样式 */
        input[type="checkbox"]:checked {
            accent-color: var(--primary-color);
        }

        .btn-small {
            padding: 6px 16px;
            font-size: 14px;
        }

        /* 表格样式 */
        .sites-table-container {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            overflow: hidden;
        }

        .sites-table {
            width: 100%;
            border-collapse: collapse;
        }

        .sites-table thead {
            background: #fafafa;
            border-bottom: 1px solid var(--border-color);
        }

        .sites-table th {
            padding: 8px 8px;
            text-align: left;
            font-weight: 600;
            font-size: 13px;
            color: var(--text-primary);
        }

        .sites-table tbody tr {
            border-bottom: 1px solid var(--border-color);
            transition: background 0.2s;
            height: 36px;
        }

        .sites-table tbody tr:hover {
            background: var(--table-hover);
        }

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

        .sites-table td {
            padding: 4px 6px;
            font-size: 13px;
            vertical-align: middle;
        }

        /* 进度列样式 */
        .progress-cell {
            min-width: 200px;
        }

        .site-progress {
            display: flex;
            align-items: center;
            gap: 6px;
            width: 100%;
        }

        .progress-bar-wrapper {
            display: flex;
            align-items: center;
            gap: 6px;
            flex: 1;
            min-width: 0;
        }

        .mini-progress-bar {
            width: 100%;
            height: 6px;
            background: var(--border-color);
            border-radius: 3px;
            overflow: hidden;
            position: relative;
            flex-shrink: 0;
        }

        .mini-progress-fill {
            height: 100%;
            background: var(--primary-color);
            transition: width 0.3s ease;
            border-radius: 3px;
        }

        .mini-progress-fill.success {
            background: var(--success-color);
        }

        .mini-progress-fill.error {
            background: var(--danger-color);
        }

        .progress-text {
            font-size: 12px;
            color: var(--text-secondary);
            white-space: nowrap;
            flex-shrink: 0;
        }

        .progress-status {
            display: flex;
            gap: 6px;
            font-size: 12px;
        }

        .status-item {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .site-result {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 13px;
            color: var(--text-secondary);
        }

        .result-badge {
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 500;
        }

        .result-badge.success {
            background: rgba(82, 196, 26, 0.1);
            color: var(--success-color);
        }

        .result-badge.error {
            background: rgba(255, 77, 79, 0.1);
            color: var(--danger-color);
        }

        .articles-list {
            margin-top: 6px;
            flex: 1;
            display: flex;
            flex-direction: column;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            overflow: hidden;
            min-height: 0;
        }

        .articles-table-container {
            flex: 1;
            overflow-y: auto;
            overflow-x: auto;
        }

        .articles-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 14px;
        }

        .articles-table th {
            background: var(--card-bg);
            padding: 6px 8px;
            text-align: left;
            font-weight: 600;
            border-bottom: 2px solid var(--border-color);
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            font-size: 13px;
        }

        .articles-table thead {
            position: relative;
            z-index: 10;
        }

        .articles-table tbody {
            position: relative;
            z-index: 1;
        }

        .articles-table tbody tr {
            background: var(--card-bg);
        }

        .articles-table td {
            padding: 6px 8px;
            border-bottom: 1px solid var(--border-color);
            font-size: 13px;
        }

        .articles-table tr:hover {
            background: #fafafa;
        }

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

        .article-site {
            color: var(--text-secondary);
            font-size: 13px;
            white-space: nowrap;
        }

        .article-site-name {
            font-weight: 500;
            color: var(--text-primary);
        }

        .article-title-cell {
            max-width: 400px;
        }

        .article-title {
            color: var(--primary-color);
            font-weight: 500;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            display: block;
            text-decoration: none;
            font-size: 13px;
        }

        .article-title:hover {
            text-decoration: underline;
        }

        .article-status {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 16px;
            font-weight: 500;
        }

        .article-status.success {
            background: transparent;
            color: var(--success-color);
        }

        .article-status.error {
            background: transparent;
            color: var(--danger-color);
        }

        .article-status.duplicate {
            background: transparent;
            color: var(--text-secondary);
        }

        .article-status.warning {
            background: transparent;
            color: #d46b08;
        }

        .article-desc {
            color: var(--text-secondary);
            font-size: 13px;
            max-width: 250px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .article-desc a {
            color: var(--primary-color);
            text-decoration: none;
        }

        .article-desc a:hover {
            text-decoration: underline;
        }

        .status-item .dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
        }

        .status-item.success .dot {
            background: var(--success-color);
        }

        .status-item.error .dot {
            background: var(--danger-color);
        }

        .status-item.duplicate .dot {
            background: #faad14;
        }

        .status-item span {
            color: var(--text-secondary);
        }

        /* 图例说明 */
        .legend {
            display: flex;
            gap: 16px;
            font-size: 14px;
            color: var(--text-secondary);
            margin-top: 8px;
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .legend-item .dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
        }

        .site-name {
            font-weight: 500;
            color: var(--text-primary);
            margin-bottom: 4px;
        }

        .site-category {
            display: inline-block;
            padding: 2px 8px;
            background: var(--primary-light);
            color: var(--primary-color);
            border-radius: 4px;
            font-size: 15px;
            font-weight: 500;
        }

        .site-id {
            color: var(--text-secondary);
            font-size: 15px;
        }

        .sites-table input[type="checkbox"] {
            width: 16px;
            height: 16px;
            cursor: pointer;
        }

        .sites-table input[type="number"] {
            width: 70px;
            padding: 6px 8px;
            font-size: 15px;
        }

        .editable-input {
            width: 100%;
            padding: 4px 6px;
            border: 1px solid transparent;
            border-radius: 4px;
            font-size: 13px;
            background: transparent;
            transition: all 0.2s;
        }

        .editable-input:hover {
            background: #f5f5f5;
        }

        .editable-input:focus {
            outline: none;
            border-color: var(--primary-color);
            background: white;
            box-shadow: 0 0 0 2px var(--primary-light);
        }

        /* 数量列的输入框更小 */
        .sites-table td:nth-child(5) input {
            width: 50px !important;
            padding: 6px 4px !important;
        }

        .site-id-badge {
            display: inline-block;
            padding: 2px 6px;
            background: var(--primary-light);
            color: var(--primary-color);
            border-radius: 4px;
            font-size: 12px;
            font-weight: 500;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .status-badge {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 13px;
            font-weight: 500;
        }

        .status-badge.enabled {
            background: rgba(82, 196, 26, 0.1);
            color: var(--success-color);
        }

        .status-badge.disabled {
            background: rgba(255, 77, 79, 0.1);
            color: var(--danger-color);
        }

        /* 网站进度条行的样式 */
        .site-progress-inline {
            width: 100%;
        }

        .site-result-inline {
            width: 100%;
        }

        /* 进度区域 */
        .progress-section {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 12px;
            flex: 0 0 320px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        #progressContent {
            flex: 1;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
        }

        #progressContent .progress-text {
            display: none; /* 隐藏进度百分比显示 */
        }

        #progressResult {
            display: flex;
            flex-direction: column;
            flex: 1;
            min-height: 0;
            overflow-y: auto;
        }

        #progressResult .progress-header {
            flex: 0 0 auto;
            margin-bottom: 8px;
        }

        #progressResult .progress-stats {
            flex: 0 0 auto;
            margin-bottom: 8px;
        }

        #progressResult .articles-list {
            flex: 1;
            min-height: 0;
            overflow-y: auto;
        }

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

        .progress-title {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-primary);
        }

        .progress-text {
            font-size: 16px;
            font-weight: 600;
            color: var(--primary-color);
        }

        .progress-bar-container {
            width: 100%;
            height: 8px;
            background: var(--border-color);
            border-radius: 4px;
            overflow: hidden;
            margin-bottom: 12px;
        }

        .progress-bar {
            height: 100%;
            background: var(--primary-color);
            transition: width 0.3s ease;
            border-radius: 4px;
        }

        .progress-stats {
            display: flex;
            gap: 24px;
            font-size: 13px;
            color: var(--text-secondary);
            flex-wrap: wrap;
            margin-bottom: 6px;
            flex: 0 0 auto;
        }

        .progress-stat strong {
            color: var(--text-primary);
            margin-left: 4px;
        }

        /* 日志区域 */
        .log-section {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 12px;
            margin-bottom: 0;
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 300px;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .log-section.collapsed {
            flex: 0 0 auto;
            height: 200px;
        }

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

        .log-title {
            font-size: 16px;
            font-weight: 600;
            color: var(--text-primary);
        }

        .log-controls {
            display: flex;
            gap: 8px;
            align-items: center;
        }

        .log-level-selector {
            position: relative;
            display: inline-block;
        }

        .log-level-dropdown {
            position: absolute;
            top: 100%;
            right: 0;
            margin-top: 4px;
            background: white;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            display: none;
            min-width: 150px;
        }

        .log-level-dropdown.show {
            display: block;
        }

        .log-level-option {
            padding: 8px 16px;
            cursor: pointer;
            font-size: 14px;
            transition: background 0.2s;
        }

        .log-level-option:hover {
            background: var(--primary-light);
        }

        .log-level-option.active {
            background: var(--primary-light);
            color: var(--primary-color);
            font-weight: 500;
        }

        .log-container {
            background: #ffffff;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            padding: 8px;
            flex: 1;
            overflow-y: auto;
            font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
            font-size: 13px;
            line-height: 1.6;
            min-height: 0;
        }

        .log-entry {
            margin-bottom: 2px;
            padding: 4px 8px;
            word-wrap: break-word;
            border-radius: 3px;
            background: #fafafa;
        }

        .log-entry.log-info { color: #262626; }
        .log-entry.log-warning { color: #d46b08; background: #fff7e6; }
        .log-entry.log-error { color: #cf1322; background: #fff1f0; }
        .log-entry.log-debug { color: #8c8c8c; }

        .log-timestamp {
            color: #8c8c8c;
            margin-right: 8px;
            font-size: 13px;
        }

        .log-level {
            display: inline-block;
            padding: 2px 6px;
            border-radius: 3px;
            font-size: 12px;
            margin-right: 8px;
            font-weight: 600;
        }

        .log-level.info { background: #e6f7ff; color: #1677ff; }
        .log-level.warning { background: #fff7e6; color: #d46b08; }
        .log-level.error { background: #fff1f0; color: #cf1322; }
        .log-level.debug { background: #f5f5f5; color: #8c8c8c; }

        /* 结果区域 */
        .results-section {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 20px;
            display: none;
        }

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

        .results-title {
            font-size: 16px;
            font-weight: 600;
            color: var(--text-primary);
        }

        .results-list {
            max-height: 400px;
            overflow-y: auto;
        }

        .result-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            margin-bottom: 8px;
        }

        .result-info {
            flex: 1;
            min-width: 0;
        }

        .result-title {
            font-weight: 500;
            color: var(--text-primary);
            margin-bottom: 4px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .result-url {
            font-size: 13px;
            color: var(--text-secondary);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .result-status {
            padding: 4px 12px;
            border-radius: 4px;
            font-size: 13px;
            font-weight: 600;
            flex-shrink: 0;
            margin-left: 12px;
        }

        .result-status.success {
            background: rgba(82, 196, 26, 0.1);
            color: var(--success-color);
        }

        .result-status.error {
            background: rgba(255, 77, 79, 0.1);
            color: var(--danger-color);
        }

        .empty-state {
            text-align: center;
            padding: 40px;
            color: var(--text-secondary);
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .loading {
            animation: spin 1s linear infinite;
        }

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

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

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

        ::-webkit-scrollbar-track {
            background: var(--border-color);
            border-radius: 3px;
        }

        ::-webkit-scrollbar-thumb {
            background: var(--text-secondary);
            border-radius: 3px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary-color);
        }

/* ==================== 自定义弹窗组件 ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    animation: fadeIn 0.2s ease;
}

.modal-overlay.show {
    display: flex;
}

.modal-box {
    background: white;
    border-radius: 8px;
    padding: 24px;
    min-width: 400px;
    max-width: 600px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease;
}

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

.modal-header {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.modal-body {
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.5;
}

.modal-footer {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

/* Toast 提示 */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    min-width: 300px;
    padding: 12px 16px;
    border-radius: 6px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: toastSlideIn 0.3s ease;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.success {
    border-left: 4px solid var(--success-color);
}

.toast.error {
    border-left: 4px solid var(--danger-color);
}

.toast.warning {
    border-left: 4px solid #faad14;
}

.toast.info {
    border-left: 4px solid var(--primary-color);
}

.toast-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.toast-message {
    flex: 1;
    font-size: 14px;
}

/* 输入弹窗 */
.modal-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    margin: 8px 0;
}

.modal-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-light);
}

.modal-textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    margin: 8px 0;
    min-height: 80px;
    resize: vertical;
    font-family: inherit;
}

.modal-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-light);
}

/* 确认按钮样式 */
.modal-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-btn-primary {
    background: var(--primary-color);
    color: white;
}

.modal-btn-primary:hover {
    background: var(--primary-hover);
}

.modal-btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.modal-btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.modal-btn-danger {
    background: var(--danger-color);
    color: white;
}

.modal-btn-danger:hover {
    background: #d9363e;
}
