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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f7fa;
    padding: 20px;
}

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

/* 应用头部 */
.app-header {
    background: linear-gradient(135deg, #00bebd 0%, #00a5a4 100%);
    padding: 24px 30px 20px 30px;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 4px 12px rgba(0, 190, 189, 0.2);
    margin-bottom: 0;
}

.app-header h1 {
    color: white;
    font-size: 26px;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Tab栏容器 */
.tabs-wrapper {
    background: white;
    padding: 0 20px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 12px rgba(0, 190, 189, 0.15);
    margin-bottom: 20px;
}

/* Tab栏样式 */
.tabs {
    display: flex;
    gap: 0;
}

.tab-btn {
    padding: 16px 32px;
    background: transparent;
    color: #666;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.tab-icon {
    font-size: 18px;
    transition: transform 0.3s;
}

.tab-text {
    font-weight: 500;
}

.tab-btn:hover {
    color: #00bebd;
    background: rgba(0, 190, 189, 0.05);
}

.tab-btn:hover .tab-icon {
    transform: scale(1.2);
}

.tab-btn.active {
    color: #00bebd;
    border-bottom-color: #00bebd;
    background: rgba(0, 190, 189, 0.08);
}

.tab-btn.active .tab-text {
    font-weight: 600;
}

.tab-content {
    display: none;
}

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

/* 筛选面板 */
.filter-panel {
    background: white;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.controls {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto auto;
    gap: 15px;
    align-items: center;
}

@media (max-width: 1024px) {
    .controls {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .controls {
        grid-template-columns: 1fr;
    }
}

.input-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-group label {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
}

.input-group input,
.input-group select {
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    background: #fafafa;
    transition: all 0.3s;
    width: 100%;
}

.input-group input:focus,
.input-group select:focus {
    border-color: #00bebd;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 190, 189, 0.1);
}

.btn {
    padding: 10px 24px;
    background: linear-gradient(135deg, #00bebd 0%, #00a5a4 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 190, 189, 0.3);
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 190, 189, 0.4);
}

.btn:disabled {
    background: #e0e0e0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.stats {
    background: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

.stats strong {
    color: #00bebd;
    font-size: 18px;
    margin: 0 5px;
}

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

.geek-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}

.geek-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.geek-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.geek-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.geek-info {
    flex: 1;
}

.geek-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.geek-basic {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: #666;
}

.geek-salary {
    color: #00bebd;
    font-weight: 600;
    font-size: 16px;
}

.geek-detail {
    margin-bottom: 10px;
}

.detail-row {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #666;
}

.detail-label {
    color: #999;
    min-width: 60px;
}

.detail-value {
    color: #333;
    flex: 1;
}

.geek-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.tag {
    padding: 4px 10px;
    background: #f0f9f9;
    color: #00bebd;
    border-radius: 4px;
    font-size: 12px;
}

.geek-work {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.work-item {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.work-company {
    font-weight: 600;
    color: #333;
}

.pagination {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.page-btn {
    padding: 8px 16px;
    background: white;
    color: #00bebd;
    border: 1px solid #00bebd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.page-btn:hover:not(:disabled) {
    background: #00bebd;
    color: white;
}

.page-btn:disabled {
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
}

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

.loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 14px;
}

.error {
    background: #fee;
    color: #c33;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.active-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    background: #f0f9f9;
    color: #00bebd;
}

.gender-icon {
    font-size: 14px;
}

.geek-card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 15px;
}

.greet-btn,
.save-btn {
    flex: 1;
    padding: 10px;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.greet-btn {
    background: #00bebd;
}

.greet-btn:hover:not(:disabled) {
    background: #00a5a4;
    transform: translateY(-1px);
}

.greet-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.greet-btn.success {
    background: #10b981;
}

.greet-btn.error {
    background: #dc2626;
}

.save-btn {
    background: #f59e0b;
}

.save-btn:hover:not(:disabled) {
    background: #d97706;
    transform: translateY(-1px);
}

.save-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.save-btn.saved {
    background: #10b981;
}

/* 牛人详情卡片模态框 */
.geek-detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
}

.geek-detail-modal.show {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.geek-detail-content {
    background: white;
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    margin: 40px auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.geek-detail-header {
    padding: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.geek-detail-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: #666;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.geek-detail-close:hover {
    background: #e0e0e0;
    color: #333;
}

.geek-detail-basic {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.geek-detail-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.geek-detail-info {
    flex: 1;
}

.geek-detail-name {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.geek-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

.geek-detail-salary {
    color: #00bebd;
    font-weight: 600;
    font-size: 20px;
}

.geek-detail-body {
    padding: 30px;
}

.geek-detail-section {
    margin-bottom: 30px;
}

.geek-detail-section:last-child {
    margin-bottom: 0;
}

.geek-detail-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #00bebd;
}

.geek-detail-field {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 14px;
}

.geek-detail-field-label {
    color: #999;
    min-width: 80px;
}

.geek-detail-field-value {
    color: #333;
    flex: 1;
    line-height: 1.6;
}

.geek-detail-works-item,
.geek-detail-edu-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.geek-detail-works-item:last-child,
.geek-detail-edu-item:last-child {
    margin-bottom: 0;
}

.geek-detail-works-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 15px;
}

.geek-detail-works-company {
    color: #00bebd;
    font-weight: 600;
}

.geek-detail-works-meta {
    color: #666;
    font-size: 13px;
    margin-bottom: 8px;
}

.geek-detail-works-desc {
    color: #666;
    font-size: 13px;
    line-height: 1.8;
    white-space: pre-line;
}

.geek-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.geek-detail-tag {
    padding: 6px 12px;
    background: #f0f9f9;
    color: #00bebd;
    border-radius: 6px;
    font-size: 13px;
}

.geek-card {
    cursor: pointer;
}

/* 历史记录页面样式 */
.history-header {
    background: white;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

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

.history-stat-card {
    background: linear-gradient(135deg, #00bebd 0%, #00a5a4 100%);
    padding: 20px;
    border-radius: 10px;
    color: white;
    text-align: center;
}

.history-stat-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.history-stat-value {
    font-size: 32px;
    font-weight: 600;
}

.history-controls {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.history-controls .btn {
    background: white;
    color: #00bebd;
    border: 1px solid #00bebd;
}

.history-controls .btn:hover {
    background: #00bebd;
    color: white;
}

.history-list {
    background: white;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.history-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
    position: relative;
}

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

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

.saved-item {
    cursor: pointer;
}

.saved-item:hover {
    background: #f0f9f9;
}

.history-item-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.history-item-info {
    flex: 1;
}

.history-item-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.history-item-meta {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: #666;
}

.history-item-time {
    color: #999;
    font-size: 13px;
}

.history-item-job {
    color: #00bebd;
    font-size: 13px;
    font-weight: 500;
}

.history-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.history-empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.history-section {
    margin-bottom: 30px;
}

.history-section:last-child {
    margin-bottom: 0;
}

.history-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid #00bebd;
}

/* 历史记录和牛人库操作按钮 */
.history-item-actions {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.action-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.action-btn:hover {
    background: #e0e0e0;
    transform: scale(1.1);
}

.saved-share-btn:hover {
    background: #f5f0ff;
}

.saved-delete-btn:hover,
.history-delete-btn:hover {
    background: #ffe0e0;
}

.history-delete-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-left: auto;
}

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

/* 分享按钮样式 */
.share-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(245, 87, 108, 0.3);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 87, 108, 0.4);
}

.share-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 分享模态框样式 */
.share-modal-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}

.share-modal-header h3 {
    font-size: 20px;
    color: #333;
    margin: 0;
}

.share-modal-body {
    padding: 0;
}

.share-section {
    margin-bottom: 24px;
}

.share-section:last-child {
    margin-bottom: 0;
}

.share-label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 10px;
}

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

.share-link-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background: #f9f9f9;
    color: #333;
    outline: none;
    transition: all 0.3s;
}

.share-link-input:focus {
    border-color: #00bebd;
    background: white;
}

.share-qrcode-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
}

.share-qrcode-tip {
    font-size: 13px;
    color: #999;
    text-align: center;
}

.share-id {
    padding: 12px 16px;
    background: #f9f9f9;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #666;
    word-break: break-all;
}

/* ============================================
   岗位数据Tab样式
   ============================================ */

/* 岗位配置容器 - 左右分栏布局 */
.job-req-container {
    display: flex;
    gap: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    min-height: 600px;
}

/* 左侧职位列表 */
.job-req-sidebar {
    width: 30%;
    min-width: 300px;
    border-right: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.job-req-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.job-req-sidebar-header h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #333;
}

.job-req-stats {
    font-size: 13px;
    color: #999;
}

.job-req-sidebar-actions {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 6px 12px;
    font-size: 13px;
}

.job-req-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

/* 职位卡片 */
.job-req-card {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 2px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.2s;
}

.job-req-card:hover {
    border-color: #00bebd;
    background: #f0f9f9;
}

.job-req-card.selected {
    border-color: #00bebd;
    background: linear-gradient(135deg, #f0f9f9 0%, #e0f7f7 100%);
    box-shadow: 0 2px 8px rgba(0, 190, 189, 0.15);
}

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

.job-req-card-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.job-req-badge {
    background: #00bebd;
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
}

.job-req-card-info {
    font-size: 13px;
    color: #999;
}

/* 右侧配置表单 */
.job-req-main {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.job-req-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.job-req-empty-icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.3;
}

/* 表单头部 */
.job-req-form-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.job-req-form-header h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: #333;
}

.job-req-form-subtitle {
    font-size: 14px;
    color: #999;
}

/* 表单主体 */
.job-req-form-body {
    max-width: 800px;
}

.job-req-form-group {
    margin-bottom: 24px;
}

.job-req-form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.job-req-form-input,
.job-req-form-select,
.job-req-form-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    outline: none;
    font-family: inherit;
}

.job-req-form-input:focus,
.job-req-form-select:focus,
.job-req-form-textarea:focus {
    border-color: #00bebd;
    box-shadow: 0 0 0 3px rgba(0, 190, 189, 0.1);
}

.job-req-form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.job-req-form-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.job-req-form-row .job-req-form-input {
    flex: 1;
}

.job-req-form-hint {
    margin-top: 6px;
    font-size: 12px;
    color: #999;
}

/* 表单操作按钮 */
.job-req-form-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    gap: 12px;
}

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

.btn-secondary:hover {
    background: #e0e0e0;
}

.btn-danger {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .job-req-container {
        flex-direction: column;
    }

    .job-req-sidebar {
        width: 100%;
        min-width: unset;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        max-height: 300px;
    }
}

/* ============================================
   AI分析样式
   ============================================ */

/* AI分析按钮 */
.ai-analyze-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #333;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(168, 237, 234, 0.3);
}

.ai-analyze-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 237, 234, 0.4);
}

.ai-analyze-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* AI分析结果区域 */
.ai-analysis {
    margin: 16px 0;
    padding: 16px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff8f9 100%);
}

.ai-analysis.loading {
    border-color: #a8edea;
    background: #f0fffe;
}

.ai-analysis.match {
    border-color: #00bebd;
    background: linear-gradient(135deg, #f0fffe 0%, #e0fff9 100%);
}

.ai-analysis.no-match {
    border-color: #ffcccb;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
}

.ai-analysis.error {
    border-color: #ff6b6b;
    background: #fff0f0;
}

.ai-analysis-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.ai-analysis-icon {
    font-size: 18px;
}

.ai-analysis-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.ai-analysis-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-analysis-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
}

.ai-match-status {
    font-size: 16px;
    font-weight: 700;
}

.ai-match-status.match {
    color: #00bebd;
}

.ai-match-status.no-match {
    color: #ff6b6b;
}

.ai-match-score {
    font-size: 18px;
    font-weight: 700;
}

.ai-analysis-content {
    padding: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    line-height: 1.6;
    font-size: 13px;
    color: #555;
    white-space: pre-line;
}

.ai-analysis-error {
    padding: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    color: #ff6b6b;
    font-size: 13px;
}

/* ============================================
   设置Tab样式
   ============================================ */

.settings-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 30px;
    /* max-width: 900px; */
    margin: 0 auto;
}

.settings-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.settings-header h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #333;
}

.settings-subtitle {
    margin: 0;
    font-size: 14px;
    color: #999;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.settings-section {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
}

.settings-section-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.settings-section-desc {
    margin: 0 0 20px 0;
    font-size: 13px;
    color: #999;
}

.settings-form-group {
    margin-bottom: 20px;
}

.settings-form-group:last-child {
    margin-bottom: 0;
}

.settings-form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.settings-label-required {
    color: #ff6b6b;
    margin-left: 4px;
}

.settings-form-input,
.settings-form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Courier New', monospace;
    transition: all 0.3s;
    outline: none;
}

.settings-form-input:focus,
.settings-form-textarea:focus {
    border-color: #00bebd;
    box-shadow: 0 0 0 3px rgba(0, 190, 189, 0.1);
}

.settings-form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.settings-form-hint {
    margin-top: 6px;
    font-size: 12px;
    color: #999;
}

.settings-form-hint code {
    padding: 2px 6px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #00bebd;
}

.settings-guide {
    margin: 0;
    padding-left: 24px;
    line-height: 2;
    color: #555;
}

.settings-guide li {
    margin-bottom: 8px;
}

.settings-guide ul {
    margin: 8px 0;
    padding-left: 20px;
}

.settings-guide kbd {
    padding: 2px 8px;
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
}

.settings-guide strong {
    color: #00bebd;
}

.settings-guide code {
    padding: 2px 6px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #00bebd;
}

.settings-actions {
    display: flex;
    gap: 12px;
    padding-top: 20px;
}

.settings-status {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}

.settings-status.success {
    background: #e0fff9;
    color: #00bebd;
    border: 1px solid #00bebd;
}

.settings-status.error {
    background: #ffe5e5;
    color: #ff6b6b;
    border: 1px solid #ff6b6b;
}

.settings-status.info {
    background: #e0f0ff;
    color: #0066cc;
    border: 1px solid #0066cc;
}

/* 账号信息样式 */
.account-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.account-info-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: white;
    border-radius: 6px;
}

.account-info-label {
    font-weight: 500;
    color: #666;
    min-width: 100px;
}

.account-info-value {
    color: #333;
    font-weight: 600;
}

.btn-danger {
    background: #ff4d4f;
    color: white;
}

.btn-danger:hover {
    background: #ff7875;
}

/* 批量打招呼进度条样式 */
.batch-greet-progress-bar {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.batch-greet-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00bebd 0%, #00d4d3 100%);
    transition: width 0.3s ease;
    border-radius: 4px;
}

.batch-greet-details {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
}

.batch-greet-log {
    padding: 4px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.batch-greet-log.success {
    color: #00bebd;
}

.batch-greet-log.error {
    color: #ff6b6b;
}

.batch-greet-log.skip {
    color: #999;
}
/* ==================== AI初筛相关样式 ==================== */

/* AI初筛容器 */
.ai-screening-container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* AI初筛头部 */
.ai-screening-header {
    margin-bottom: 30px;
}

.ai-screening-header h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 8px;
}

.ai-screening-subtitle {
    color: #666;
    font-size: 14px;
}

/* 章节标题 */
.ai-screening-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 配置面板 */
.ai-screening-config {
    margin-bottom: 30px;
}

/* 职位选择 */
.ai-screening-job-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.ai-screening-job-card {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    background: #f9f9f9;
    transition: all 0.2s;
    cursor: pointer;
}

.ai-screening-job-card:hover {
    border-color: #00bebd;
    background: #f0fffe;
}

.ai-screening-job-card.selected {
    border-color: #00bebd;
    background: #f0fffe;
}

.ai-screening-job-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    margin-bottom: 12px;
}

.ai-screening-job-checkbox input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.ai-screening-job-info {
    flex: 1;
}

.ai-screening-job-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.ai-screening-job-meta {
    font-size: 13px;
    color: #666;
}

.ai-screening-job-target {
    padding-left: 30px;
}

.ai-screening-job-target label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.ai-screening-target-input {
    width: 70px;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
}

.ai-screening-target-input:disabled {
    background: #f5f5f5;
    color: #999;
}

/* AI模式选择 */
.ai-screening-mode {
    margin: 20px 0;
}

.ai-screening-mode-header h4 {
    font-size: 16px;
    margin-bottom: 12px;
}

.ai-screening-mode-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.ai-screening-mode-option {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    display: flex;
    gap: 12px;
    transition: all 0.2s;
}

.ai-screening-mode-option:hover {
    border-color: #00bebd;
    background: #f0fffe;
}

.ai-screening-mode-option input[type="radio"]:checked + .ai-screening-mode-content {
    color: #00bebd;
}

.ai-screening-mode-option:has(input[type="radio"]:checked) {
    border-color: #00bebd;
    background: #f0fffe;
}

.ai-screening-mode-content {
    flex: 1;
}

.ai-screening-mode-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.ai-screening-mode-desc {
    font-size: 13px;
    color: #666;
}

/* 阈值设置 */
.ai-screening-threshold {
    margin: 20px 0;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 8px;
}

.ai-screening-label {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    color: #333;
}

.ai-screening-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #ddd;
    outline: none;
    margin-bottom: 8px;
}

.ai-screening-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #00bebd;
    cursor: pointer;
}

.ai-screening-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #00bebd;
    cursor: pointer;
    border: none;
}

.ai-screening-hint {
    font-size: 12px;
    color: #999;
}

/* 其他设置 */
.ai-screening-settings {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.ai-screening-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.ai-screening-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* 操作按钮 */
.ai-screening-actions {
    margin-top: 30px;
    text-align: center;
}

.btn-large {
    padding: 14px 40px;
    font-size: 16px;
}

/* 进度面板 */
.ai-screening-progress {
    margin-bottom: 30px;
}

.ai-screening-overall {
    background: linear-gradient(135deg, #f5f7fa 0%, #fff 100%);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.ai-screening-overall-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.ai-screening-stat {
    text-align: center;
}

.ai-screening-stat-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.ai-screening-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

.ai-screening-stat-value.success {
    color: #00bebd;
}

.ai-screening-overall-progress {
    margin-top: 20px;
}

.ai-screening-progress-bar {
    height: 12px;
    background: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

.ai-screening-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00bebd 0%, #00a5a4 100%);
    transition: width 0.3s ease;
}

.ai-screening-progress-text {
    text-align: center;
    font-size: 14px;
    color: #666;
}

/* 各职位进度 */
.ai-screening-jobs-progress {
    display: grid;
    gap: 16px;
}

.ai-screening-job-progress {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
}

.ai-screening-job-progress.running {
    border-color: #00bebd;
    background: #f0fffe;
}

.ai-screening-job-progress.success {
    border-color: #00bebd;
}

.ai-screening-job-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.ai-screening-job-progress-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.ai-screening-job-progress-status {
    font-size: 13px;
    color: #666;
}

.ai-screening-job-progress-stats {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    font-size: 13px;
    color: #666;
}

.ai-screening-job-progress-total {
    margin-left: auto;
    font-weight: 600;
    color: #333;
}

/* 任务控制 */
.ai-screening-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

/* 日志 */
.ai-screening-logs {
    margin-top: 30px;
}

.ai-screening-logs-content {
    max-height: 400px;
    overflow-y: auto;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
}

.ai-screening-log {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 13px;
    display: flex;
    gap: 12px;
}

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

.ai-screening-log-time {
    color: #999;
    flex-shrink: 0;
}

.ai-screening-log-message {
    color: #333;
    word-break: break-word;
}

.ai-screening-log-success {
    color: #00bebd;
}

.ai-screening-log-error {
    color: #ff6b6b;
}

.ai-screening-log-warning {
    color: #ffa500;
}

.ai-screening-log-info {
    color: #333;
}

/* 空状态 */
.ai-screening-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.ai-screening-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

/* ==================== 牛人详情模态框AI分析样式 ==================== */

/* 详情模态框板块容器 */
.geek-detail-section {
    position: relative;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.geek-detail-section:hover {
    background: #f5f5f5;
}

/* 板块头部 - 包含标题和分析按钮 */
.geek-detail-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

/* 板块分析按钮 */
.section-analyze-btn {
    padding: 6px 16px;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #333;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 6px rgba(168, 237, 234, 0.3);
    white-space: nowrap;
}

.section-analyze-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(168, 237, 234, 0.4);
}

.section-analyze-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.section-analyze-btn.analyzing {
    background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
    color: white;
}

/* 板块分析结果容器 */
.section-analysis-result {
    margin-top: 16px;
    padding: 16px;
    border-radius: 8px;
    background: white;
    border: 2px solid #e0e0e0;
    animation: slideDown 0.3s ease;
}

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

.section-analysis-result.loading {
    border-color: #a8edea;
    background: linear-gradient(135deg, #f0fffe 0%, #fff 100%);
}

.section-analysis-result.success {
    border-color: #00bebd;
    background: linear-gradient(135deg, #f0fffe 0%, #e0fff9 100%);
}

.section-analysis-result.warning {
    border-color: #ffa500;
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
}

.section-analysis-result.error {
    border-color: #ff6b6b;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
}

/* 分析结果头部 */
.section-analysis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.section-analysis-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-analysis-score {
    font-size: 16px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.8);
}

.section-analysis-score.high {
    color: #00bebd;
}

.section-analysis-score.medium {
    color: #ffa500;
}

.section-analysis-score.low {
    color: #ff6b6b;
}

/* 分析结果内容 */
.section-analysis-content {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    white-space: pre-line;
}

.section-analysis-content p {
    margin-bottom: 10px;
}

.section-analysis-content p:last-child {
    margin-bottom: 0;
}

/* 分析建议 */
.section-analysis-suggestions {
    margin-top: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    border-left: 4px solid #00bebd;
}

.section-analysis-suggestions-title {
    font-size: 13px;
    font-weight: 600;
    color: #00bebd;
    margin-bottom: 8px;
}

.section-analysis-suggestions-list {
    font-size: 13px;
    line-height: 1.8;
    color: #666;
    margin: 0;
    padding-left: 20px;
}

.section-analysis-suggestions-list li {
    margin-bottom: 6px;
}

/* 加载动画 */
.section-analysis-loading {
    text-align: center;
    padding: 20px;
}

.section-analysis-loading-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(0, 190, 189, 0.2);
    border-top-color: #00bebd;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.section-analysis-loading-text {
    margin-top: 12px;
    font-size: 13px;
    color: #666;
}

/* 详情模态框底部一键分析 */
.geek-detail-analyze-all {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px 30px;
    background: #f5f5f5;
    border-top: 2px solid #e0e0e0;
}

.analyze-all-btn {
    padding: 12px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.analyze-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.analyze-all-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 折叠/展开按钮 */
.section-analysis-toggle {
    padding: 4px 12px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    color: #666;
    transition: all 0.2s;
}

.section-analysis-toggle:hover {
    background: #f0f0f0;
    border-color: #00bebd;
    color: #00bebd;
}

/* 分析结果折叠状态 */
.section-analysis-result.collapsed .section-analysis-content {
    display: none;
}

.section-analysis-result.collapsed .section-analysis-suggestions {
    display: none;
}

/* 分析进度指示器 */
.geek-detail-analysis-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #fff 100%);
    border-radius: 8px;
    margin-bottom: 20px;
}

.analysis-progress-text {
    flex: 1;
    font-size: 14px;
    color: #666;
}

.analysis-progress-bar-mini {
    flex: 2;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

.analysis-progress-fill-mini {
    height: 100%;
    background: linear-gradient(90deg, #00bebd 0%, #00a5a4 100%);
    transition: width 0.3s ease;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .geek-detail-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .section-analyze-btn {
        width: 100%;
    }

    .geek-detail-analyze-all {
        flex-direction: column;
    }

    .analyze-all-btn {
        width: 100%;
    }
}

/* 当前职位进度区域 */
.ai-screening-current-job {
    background: linear-gradient(135deg, #e0f7ff 0%, #f0fffe 100%);
    border: 2px solid #00bebd;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.ai-screening-current-job-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.ai-screening-current-job-title span {
    color: #00bebd;
}

.ai-screening-current-job-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #666;
    flex-wrap: wrap;
}

.ai-screening-current-job-stats strong {
    color: #00bebd;
    font-size: 16px;
}

.ai-screening-progress-bar-wrapper {
    margin-top: 12px;
}

/* 职位列表区域 */
.ai-screening-jobs-list {
    margin-top: 20px;
}

.ai-screening-jobs-list-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

/* 职位项样式 */
.ai-screening-job-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 10px;
    transition: all 0.2s;
}

.ai-screening-job-item.running {
    border-color: #00bebd;
    background: #f0fffe;
}

.ai-screening-job-item.success {
    border-color: #10b981;
    background: #f0fff9;
}

.ai-screening-job-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.ai-screening-job-item-icon {
    font-size: 18px;
}

.ai-screening-job-item-name {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.ai-screening-job-item-status {
    font-size: 13px;
    color: #666;
    padding: 2px 10px;
    background: #f5f5f5;
    border-radius: 4px;
}

.ai-screening-job-item.running .ai-screening-job-item-status {
    background: #e0fffe;
    color: #00bebd;
}

.ai-screening-job-item.success .ai-screening-job-item-status {
    background: #e0fff9;
    color: #10b981;
}

.ai-screening-job-item-stats {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #666;
    padding-left: 30px;
}

/* 薪资筛选样式 */
.salary-range-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.salary-range-group input[type="number"] {
    width: 80px;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    background: #fafafa;
    transition: all 0.3s;
}

.salary-range-group input[type="number"]:focus {
    border-color: #00bebd;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 190, 189, 0.1);
}

/* 活跃度筛选样式 */
.active-time-group {
    display: flex;
    align-items: center;
    gap: 8px;
    grid-column: span 2;
}

.active-time-checkboxes {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.active-time-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.2s;
    font-size: 14px;
    color: #666;
    white-space: nowrap;
}

.active-time-checkbox:hover {
    background: rgba(0, 190, 189, 0.05);
}

.active-time-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #00bebd;
}

.active-time-checkbox span {
    user-select: none;
}

/* ==================== 移动端响应式优化 ==================== */

/* 移动端基础调整 */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        max-width: 100%;
    }

    /* 头部优化 */
    .app-header {
        padding: 16px 20px;
        border-radius: 8px 8px 0 0;
    }

    .app-header h1 {
        font-size: 20px;
    }

    /* Tab栏优化 - 横向滚动 */
    .tabs-wrapper {
        padding: 0 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tabs {
        min-width: max-content;
    }

    .tab-btn {
        padding: 12px 16px;
        font-size: 14px;
        gap: 6px;
        white-space: nowrap;
    }

    .tab-icon {
        font-size: 16px;
    }

    .tab-text {
        font-size: 13px;
    }

    /* 筛选面板优化 - 竖向堆叠 */
    .filter-panel {
        padding: 15px;
    }

    .controls {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .input-group {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .input-group label {
        font-size: 13px;
    }

    .salary-range-group {
        flex-direction: row;
        align-items: center;
    }

    .salary-range-group input[type="number"] {
        flex: 1;
        width: auto;
    }

    /* 活跃度筛选在移动端的样式 */
    .active-time-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        grid-column: span 1;
    }

    .active-time-checkboxes {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .active-time-checkbox {
        padding: 10px;
        background: #fafafa;
        border: 1px solid #e0e0e0;
        font-size: 13px;
    }

    /* 按钮优化 */
    .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 15px;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 16px;
    }

    /* 牛人卡片网格优化 */
    .geek-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .geek-card {
        padding: 16px;
    }

    .geek-header {
        flex-wrap: wrap;
    }

    .geek-avatar {
        width: 50px;
        height: 50px;
    }

    .geek-name {
        font-size: 16px;
    }

    .geek-basic {
        flex-wrap: wrap;
        gap: 8px;
    }

    .geek-salary {
        width: 100%;
        text-align: left;
        margin-top: 8px;
    }

    .geek-card-actions {
        flex-direction: column;
        gap: 8px;
    }

    .greet-btn,
    .save-btn,
    .share-btn,
    .ai-analyze-btn {
        width: 100%;
    }

    /* 统计信息优化 */
    .stats {
        padding: 10px 15px;
        font-size: 13px;
    }

    /* AI初筛Tab优化 */
    .ai-screening-container {
        padding: 15px;
    }

    .ai-screening-header h2 {
        font-size: 20px;
    }

    .ai-screening-subtitle {
        font-size: 13px;
    }

    /* 职位选择列表优化 */
    .ai-screening-job-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ai-screening-job-card {
        padding: 12px;
    }

    .ai-screening-job-checkbox {
        flex-direction: column;
        gap: 8px;
    }

    .ai-screening-job-target {
        padding-left: 0;
        width: 100%;
    }

    .ai-screening-job-target label {
        width: 100%;
        justify-content: space-between;
    }

    .ai-screening-target-input {
        width: 80px;
    }

    /* AI模式选择优化 */
    .ai-screening-mode-options {
        grid-template-columns: 1fr;
    }

    /* 总体统计优化 */
    .ai-screening-overall-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .ai-screening-stat-value {
        font-size: 24px;
    }

    /* 当前职位进度优化 */
    .ai-screening-current-job {
        padding: 15px;
    }

    .ai-screening-current-job-title {
        font-size: 15px;
    }

    .ai-screening-current-job-stats {
        flex-direction: column;
        gap: 10px;
    }

    /* 职位列表优化 */
    .ai-screening-job-item {
        padding: 10px 12px;
    }

    .ai-screening-job-item-header {
        flex-wrap: wrap;
    }

    .ai-screening-job-item-stats {
        padding-left: 0;
        flex-wrap: wrap;
    }

    /* 任务控制按钮优化 */
    .ai-screening-controls {
        flex-direction: column;
    }

    .ai-screening-controls .btn {
        width: 100%;
    }

    /* 岗位数据Tab优化 */
    .job-req-container {
        flex-direction: column;
        min-height: auto;
    }

    .job-req-sidebar {
        width: 100%;
        min-width: unset;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        max-height: 250px;
    }

    .job-req-sidebar-actions {
        flex-wrap: wrap;
    }

    .job-req-main {
        padding: 15px;
    }

    .job-req-form-row {
        flex-direction: column;
        align-items: stretch;
    }

    .job-req-form-row span {
        display: none;
    }

    .job-req-form-actions {
        flex-direction: column;
    }

    .job-req-form-actions .btn {
        width: 100%;
    }

    /* 历史记录优化 */
    .history-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .history-stat-card {
        padding: 15px;
    }

    .history-stat-value {
        font-size: 24px;
    }

    .history-controls {
        flex-direction: column;
    }

    .history-controls .btn {
        width: 100%;
    }

    .history-item {
        flex-wrap: wrap;
        gap: 12px;
    }

    .history-item-avatar {
        width: 40px;
        height: 40px;
    }

    .history-item-meta {
        flex-wrap: wrap;
        gap: 6px;
    }

    .history-item-time,
    .history-item-job {
        width: 100%;
        margin-top: 4px;
    }

    .history-item-actions {
        width: 100%;
        justify-content: flex-end;
    }

    /* 模态框优化 */
    .geek-detail-modal {
        padding: 10px;
    }

    .geek-detail-content {
        margin: 20px auto;
        max-width: 100%;
    }

    .geek-detail-header,
    .geek-detail-body {
        padding: 20px 15px;
    }

    .geek-detail-basic {
        flex-wrap: wrap;
    }

    .geek-detail-avatar {
        width: 60px;
        height: 60px;
    }

    .geek-detail-name {
        font-size: 20px;
    }

    .geek-detail-meta {
        gap: 10px;
        font-size: 13px;
    }

    .geek-detail-salary {
        width: 100%;
        margin-top: 10px;
        font-size: 18px;
    }

    .geek-detail-section {
        padding: 15px;
    }

    .geek-detail-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .section-analyze-btn {
        width: 100%;
    }

    .geek-detail-works-item,
    .geek-detail-edu-item {
        padding: 12px;
    }

    .geek-card-actions {
        flex-direction: column;
        gap: 8px;
    }

    .geek-card-actions .btn {
        width: 100%;
    }

    /* 设置Tab优化 */
    .settings-container {
        padding: 15px;
    }

    .settings-header h2 {
        font-size: 20px;
    }

    .settings-actions {
        flex-direction: column;
    }

    .settings-actions .btn {
        width: 100%;
    }

    /* 分享模态框优化 */
    .share-link-container {
        flex-direction: column;
    }

    .share-link-input {
        width: 100%;
    }

    /* AI分析结果优化 */
    .ai-analysis-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .section-analysis-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .section-analysis-score {
        align-self: flex-end;
    }
}

/* 小屏手机优化 */
@media (max-width: 480px) {
    body {
        padding: 5px;
    }

    /* Tab按钮进一步压缩 */
    .tab-btn {
        padding: 10px 12px;
        font-size: 13px;
    }

    .tab-icon {
        font-size: 14px;
    }

    /* 移除tab文字，只显示图标 */
    .tab-text {
        display: none;
    }

    /* 筛选面板 */
    .filter-panel {
        padding: 12px;
    }

    .input-group input,
    .input-group select {
        padding: 8px 12px;
        font-size: 13px;
    }

    /* 牛人卡片 */
    .geek-card {
        padding: 12px;
    }

    .geek-name {
        font-size: 15px;
    }

    .geek-basic,
    .detail-row {
        font-size: 12px;
    }

    /* AI初筛 */
    .ai-screening-container {
        padding: 10px;
    }

    .ai-screening-header h2 {
        font-size: 18px;
    }

    .ai-screening-overall {
        padding: 15px;
    }

    .ai-screening-overall-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .ai-screening-stat-label {
        font-size: 11px;
    }

    .ai-screening-stat-value {
        font-size: 20px;
    }

    .ai-screening-current-job {
        padding: 12px;
    }

    .ai-screening-current-job-title {
        font-size: 14px;
    }

    .ai-screening-current-job-stats {
        font-size: 12px;
    }

    .ai-screening-job-item {
        padding: 8px 10px;
    }

    .ai-screening-job-item-name {
        font-size: 14px;
    }

    /* 岗位数据 */
    .job-req-sidebar {
        max-height: 200px;
    }

    .job-req-form-header h3 {
        font-size: 18px;
    }

    .job-req-form-label {
        font-size: 13px;
    }

    /* 历史记录 */
    .history-stats {
        grid-template-columns: 1fr;
    }

    .history-item {
        padding: 10px;
    }

    .history-item-name {
        font-size: 14px;
    }

    .history-item-meta {
        font-size: 12px;
    }

    /* 模态框 */
    .geek-detail-content {
        margin: 10px auto;
    }

    .geek-detail-header,
    .geek-detail-body {
        padding: 15px 12px;
    }

    .geek-detail-close {
        width: 28px;
        height: 28px;
        top: 10px;
        right: 10px;
    }
}

/* 横屏优化 */
@media (max-width: 768px) and (orientation: landscape) {
    .tabs-wrapper {
        padding: 0 15px;
    }

    .ai-screening-overall-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .history-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    /* 增加可点击区域 */
    .tab-btn {
        min-height: 48px;
    }

    .btn {
        min-height: 44px;
    }

    .greet-btn,
    .save-btn,
    .share-btn,
    .ai-analyze-btn {
        min-height: 44px;
    }

    .action-btn {
        width: 36px;
        height: 36px;
    }

    /* 移除hover效果 */
    .tab-btn:hover {
        background: transparent;
    }

    .tab-btn.active {
        background: rgba(0, 190, 189, 0.08);
    }

    .geek-card:hover {
        transform: none;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    }

    /* 优化滚动 */
    .ai-screening-logs-content,
    .job-req-list,
    .history-list {
        -webkit-overflow-scrolling: touch;
    }
}

/* iPad和平板优化 */
@media (min-width: 769px) and (max-width: 1024px) {
    .geek-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-screening-job-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-screening-overall-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .history-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 超小屏幕优化 */
@media (max-width: 360px) {
    .app-header h1 {
        font-size: 18px;
    }

    .tab-btn {
        padding: 10px 8px;
    }

    .ai-screening-overall-stats {
        grid-template-columns: 1fr;
    }

    .ai-screening-stat-label {
        font-size: 10px;
    }

    .ai-screening-stat-value {
        font-size: 18px;
    }
}

/* ==================== 登录模态框样式 ==================== */

.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* 强制登录模式：不可关闭 */
.login-modal-required {
    /* background: rgba(0, 0, 0, 0.95); */
    pointer-events: all;
}

.login-modal-required .login-content {
    pointer-events: all;
}

.login-required-notice {
    margin: 10px 0 0 0;
    padding: 8px 12px;
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.5);
    border-radius: 6px;
    font-size: 13px;
    color: #fff;
    font-weight: 600;
}

.login-content {
    background: white;
    border-radius: 16px;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.login-header {
    background: linear-gradient(135deg, #00bebd 0%, #00a5a4 100%);
    padding: 30px;
    text-align: center;
    color: white;
}

.login-header h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
}

.login-subtitle {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.login-body {
    padding: 30px;
}

.login-form-group {
    margin-bottom: 20px;
}

.login-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.login-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    outline: none;
}

.login-input:focus {
    border-color: #00bebd;
    box-shadow: 0 0 0 3px rgba(0, 190, 189, 0.1);
}

.login-error {
    background: #ffe5e5;
    color: #ff6b6b;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    border: 1px solid #ff6b6b;
}

.login-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.login-footer p {
    margin: 0 0 10px 0;
    font-size: 13px;
    color: #999;
}

.btn-primary {
    background: linear-gradient(135deg, #00bebd 0%, #00a5a4 100%);
}

/* 移动端登录优化 */
@media (max-width: 480px) {
    .login-content {
        max-width: 100%;
        margin: 0;
    }

    .login-header {
        padding: 20px;
    }

    .login-header h2 {
        font-size: 20px;
    }

    .login-body {
        padding: 20px;
    }
}
