.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.search-filters {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary-dark {
    background-color: #334155;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn-search {
    background-color: #1e293b;
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
}

.filter-select {
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 13px;
    min-width: 120px;
    color: #475569;
}

.search-input-group {
    display: flex;
    gap: 4px;
}

.search-input {
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 13px;
    width: 200px;
}

/* Table styling for list */
.list-card {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.status-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.status-table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    padding: 12px 10px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.status-table td {
    padding: 14px 10px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    text-align: center;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
    /* Base max-width for ellipsis */
}

/* Row separation styling */
.status-table tbody tr:nth-child(even) {
    background-color: #f8fafc;
    /* Subtle gray for even rows */
}

.status-table tbody tr:hover {
    background-color: #e2e8f0;
    /* More distinct gray on hover */
    box-shadow: inset 4px 0 0 var(--accent-primary);
    /* Blue accent left border on hover */
    transition: all 0.15s ease-in-out;
    cursor: pointer;
}

.status-table .text-left {
    text-align: left;
}

.status-table .job-title {
    font-weight: 500;
    color: #1e40af;
    text-decoration: none;
    max-width: 300px;
    /* Wider for job titles */
}

.status-table .job-title:hover {
    text-decoration: underline;
}

.status-table .company-name {
    font-weight: 400 !important;
    /* Force remove bold */
    color: #1e3a8a;
}

/* Removed bold */

.status-table .address-cell {
    max-width: 200px;
    /* Fixed width for address to trigger ellipsis */
    display: table-cell;
    /* Ensure it behaves as cell */
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 6px 0;
    width: 80px;
    /* Unified fixed width */
    border-radius: 4px;
    /* Slightly rounded rectangle */
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

/* Specific Status Colors */
.status-badge.hired {
    background-color: #dcfce7;
    color: #166534;
}

/* 입사 */
.status-badge.review {
    background-color: #fef9c3;
    color: #854d0e;
}

/* 서류검토 */
.status-badge.interview {
    background-color: #dbeafe;
    color: #1e40af;
}

/* 면접대기/진행 */
.status-badge.recommended {
    background-color: #f3e8ff;
    color: #6b21a8;
}

/* 인재추천 */
.status-badge.pass {
    background-color: #ccfbf1;
    color: #115e59;
}

/* 최종합격 */
.status-badge.applied {
    background-color: #e2e8f0;
    color: #475569;
}

/* 서류접수 */
.status-badge.assigned {
    background-color: #ffedd5;
    color: #9a3412;
}

/* 배분완료 */
.status-badge.screening {
    background-color: #e0f2fe;
    color: #075985;
}

/* 스크리닝 */

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 30px;
    padding-bottom: 40px;
}

.page-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
}

.page-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.page-btn.active {
    background: #1e293b;
    color: #ffffff;
    border-color: #1e293b;
}

.breadcrumb {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 10px;
}

.breadcrumb span {
    color: #1e293b;
    font-weight: 700;
}
/* 🤖 AI Matching Score Styles */
.ai-score-cell { font-weight: 800; }
.ai-score-badge { display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; transition: all 0.3s ease; }
.ai-score-badge i { font-size: 10px; }
.ai-score-high { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); color: #2563eb; border: 1px solid #bfdbfe; box-shadow: 0 2px 4px rgba(37, 99, 235, 0.1); }
.ai-score-premium { background: linear-gradient(135deg, #fdf4ff 0%, #fae8ff 100%); color: #a21caf; border: 1px solid #f5d0fe; }
.status-table td.ai-analysis-pending { color: #94a3b8; font-style: italic; font-size: 11px; }

/* Candidate List Specific Styles */
.btn-apply { background: #ff9800; color: white; border: none; padding: 4px 10px; border-radius: 4px; font-size: 11px; cursor: pointer; font-weight: 700; transition: background 0.2s; }
.btn-apply:hover { background: #e68900; }
.hl-row { background-color: #fffbeb !important; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 5px; margin-top: 30px; font-size: 12px; }
.page-btn { padding: 6px 10px; border: 1px solid #e2e8f0; background: white; color: #64748b; cursor: pointer; border-radius: 4px; }
.page-btn.active { background: #1e293b; color: white; border-color: #1e293b; }
.page-btn:hover:not(.active) { background: #f8fafc; }
