/* 账号选择器现代化 */ .account-selector { background: white; border-radius: 16px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); padding: 2rem; margin-bottom: 2rem; } .selector-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; } .selector-icon { width: 48px; height: 48px; background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.25rem; } .selector-title { margin: 0; color: #1f2937; font-weight: 600; } .selector-subtitle { margin: 0; color: #6b7280; font-size: 0.875rem; } .account-select-wrapper { position: relative; } .account-select { width: 100%; padding: 1rem 1.25rem; border: 2px solid #e5e7eb; border-radius: 12px; font-size: 1rem; background: white; cursor: pointer; transition: all 0.3s ease; } .account-select:focus { outline: none; border-color: #667eea; box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); } /* 账号状态样式 */ .status-toggle { position: relative; display: inline-block; width: 50px; height: 24px; } .status-toggle input { opacity: 0; width: 0; height: 0; } .status-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 24px; } .status-slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; } input:checked + .status-slider { background-color: #10b981; } input:checked + .status-slider:before { transform: translateX(26px); } .status-badge { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.25rem 0.5rem; border-radius: 12px; font-size: 0.875rem; font-weight: 500; min-width: 2rem; height: 1.5rem; } .status-badge.enabled { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; } .status-badge.disabled { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; } .account-row.disabled { opacity: 0.6; background-color: #f9fafb; } .account-row.disabled .cookie-value { background-color: #f3f4f6; } /* 关键词管理界面的状态提示 */ .account-badge .badge.bg-warning { animation: pulse 2s infinite; } @keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.7; } 100% { opacity: 1; } } .disabled-account-notice { background: #fef3c7; border: 1px solid #f59e0b; border-radius: 8px; padding: 0.75rem; margin-bottom: 1rem; color: #92400e; } .disabled-account-notice .bi { color: #f59e0b; } .cookie-id { font-weight: 600; color: var(--primary-color); font-size: 1rem; } .cookie-value { font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace; font-size: 0.85rem; background: #f8fafc; padding: 0.75rem; border-radius: 8px; border: 1px solid #e5e7eb; word-break: break-all; line-height: 1.4; max-height: 120px; overflow-y: auto; white-space: pre-wrap; }