.choices {
    margin-bottom: 1rem;
    position: relative;
}


.choices__inner {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    padding: 0.35rem 0.1rem;
    min-height: 38px;
    font-size: 0.9rem;
    transition: all 0.2s;
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: none;
}

.choices__inner:hover {
    background-color: #f8f9fa;
    border-bottom-color: #aaa;
}

.is-focused .choices__inner,
.choices__inner.is-open {
    background-color: white !important;
    border: 1px solid #2a5c9a !important;
    border-radius: 4px !important;
    box-shadow: 0 0 0 2px rgba(42, 92, 154, 0.2) !important;
}

.choices__placeholder {
    color: #999 !important;
    opacity: 1 !important;
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-style: italic;
    z-index: 1;
    padding: 2px 0;
    max-width: calc(100% - 10px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.choices.is-focused .choices__placeholder,
.choices .choices__inner:not(:empty) .choices__placeholder {
    display: none;
}

.choices__list--dropdown .choices__heading {
    display: none !important;
}

/* === GIẢI QUYẾT ISSUE 2: Checkbox không che lấp giá trị === */
.choices__list--dropdown .choices__item--choice {
    position: relative;
    padding-left: 32px !important;
    margin-left: 0;
    cursor: pointer;
    line-height: 1.5;
    display: flex;
    align-items: center;
    min-height: 36px;
    word-break: break-word;
}

.choices__list--dropdown .choices__item--choice::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 1px solid #adb5bd;
    border-radius: 3px;
    background-color: white;
    flex-shrink: 0;
}

.choices__list--dropdown .choices__item--choice.is-selected::before {
    background-color: #2a5c9a;
    border-color: #2a5c9a;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 8" fill="white"><path d="M9.3.3l-5 5-2-2L1 4.7l3.4 3.4L10.7 1.7z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px 8px;
}

/* Các tag lựa chọn */
.choices__list--multiple .choices__item {
    background-color: #e9ecef;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    font-size: 0.8rem;
    margin: 2px 4px 2px 0;
    padding: 2px 6px;
    color: #495057;
    display: inline-flex;
    align-items: center;
}

/* Nút xóa tag (X) */
.choices__item .choices__button {
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%236c757d"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>');
    background-color: #ced4da;
    background-size: 10px 10px;
    background-position: center;
    background-repeat: no-repeat;
    border-left: none;
    margin-left: 6px;
    filter: none;
    opacity: 0.75;
    transition: opacity 0.2s, background-color 0.2s;
    padding: 0;
    flex-shrink: 0;
}
.choices__item .choices__button:hover {
    opacity: 1;
    background-color: #adb5bd;
}

/* Ô input bên trong combobox */
.choices__input {
    font-size: 0.9rem;
    background-color: transparent !important;
    margin-bottom: 2px;
    margin-top: 2px;
    padding: 2px 0;
    flex-grow: 1;
    min-width: 100px;
    color: #495057;
    position: relative;
    z-index: 2;
}

/* Danh sách dropdown */
.choices__list--dropdown {
    z-index: 9999 !important;
    border: 1px solid #ccc;
    margin-top: 2px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
    position: absolute;
    width: 100%;
    background-color: white;
    overflow: visible !important;
    clip: auto !important;
}

/* Cha chứa cần cho phép hiển thị tràn */
.filter-sidebar,
.filter-content{
    overflow-y: visible !important;
}
.filter-group,
.filter-group-content {
    overflow: visible !important;
    position: relative;
    z-index: auto;
}
.choices__list--dropdown .choices__input {
    padding: 6px 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
    color: #495057;
}
.choices__list--dropdown .choices__list {
    max-height: 200px;
    overflow-y: auto;
}
.choices__list--dropdown .choices__item--selectable {
    padding: 6px 10px;
}
.choices__list--dropdown .choices__item--selectable.is-highlighted {
    background-color: #e9ecef;
    color: #333;
}

/* Ẩn select gốc */
.filter-item select.choices__input {
    display: none;
}

/* Thêm CSS mới để xử lý vấn đề dropdown bị che */
.filter-group {
    overflow: visible !important;
    position: relative;
    z-index: auto;
}

.filter-group-content {
    overflow: visible !important;
    position: relative;
}

/* Khu vực sắp xếp */
.sort-container { display: flex; align-items: center; gap: 0.5rem; }
.sort-container label { font-size: 0.85rem; color: #666; white-space: nowrap; }
#sort-by { padding: 0.4rem 0.6rem; border: 1px solid #ddd; border-radius: 4px; font-size: 0.9rem; background-color: white; appearance: none; -webkit-appearance: none; -moz-appearance: none; background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%236c757d%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'); background-repeat: no-repeat; background-position: right 0.7em top 50%, 0 0; background-size: 0.65em auto, 100%; padding-right: 2.5em; }

/* Thẻ ứng viên - Bổ sung */
.date-added { font-size: 0.75rem; color: #888; margin-top: 0.5rem; text-align: center; display: flex; align-items: center; justify-content: center; gap: 0.3rem; }
.relevance { font-size: 0.8rem; font-weight: 500; color: #198754; display: inline-block; background-color: #d1e7dd; padding: 0.1rem 0.4rem; border-radius: 4px; position: absolute; top: 0.5rem; right: 0.5rem; }
.highlight { background-color: #fff3cd; font-weight: bold; padding: 0 2px; border-radius: 2px; color: #664d03; }
.card-actions { display: flex; justify-content: center; align-items: center; gap: 0.8rem; margin-top: 1rem; border-top: 1px solid #eee; padding-top: 1rem; }
.action-icon { color: #666; cursor: pointer; font-size: 1.1rem; transition: color 0.2s; }
.action-icon:hover { color: #2a5c9a; }
.view-detail { margin-top: 0; padding: 0.5rem 1rem; background-color: #2a5c9a; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 0.9rem; transition: background-color 0.2s; display: inline-flex; align-items: center; gap: 0.4rem; }
.view-detail:hover { background-color: #1e4b7b; }

/* Reset và font */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Roboto', sans-serif; }
body { background-color: #f8f9fa; color: #333; display: flex; flex-direction: column; min-height: 100vh; }
/* Header */
header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; background-color: #2a5c9a; color: white; box-shadow: 0 2px 5px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 100; }
.logo { display: flex; align-items: center; gap: 1rem; }
.logo img { border-radius: 50%; width: 40px; height: 40px; }
.logo h1 { font-size: 1.4rem; font-weight: 500; white-space: nowrap; }
nav ul { display: flex; list-style: none; gap: 2rem; }
nav a { color: white; text-decoration: none; font-weight: 500; padding: 0.5rem 0; transition: all 0.3s; display: flex; align-items: center; gap: 0.5rem; }
nav a.active { font-weight: bold; border-bottom: 2px solid white; }
nav a:hover { opacity: 0.8; }
.user { display: flex; align-items: center; gap: 0.5rem; }
.user img { border-radius: 50%; width: 30px; height: 30px; }
.user span { font-size: 0.9rem; }
.logout-btn { background: none; border: none; color: white; cursor: pointer; font-size: 1.1rem; padding: 0.3rem; opacity: 0.8; transition: opacity 0.2s; }
.logout-btn:hover { opacity: 1; }
/* Main Content */
#content { flex: 1; display: flex; }
section:not(.active-section) { display: none; }
/* Bố cục chính */
.main-container {
    overflow: visible !important;
    position: relative;
    z-index: auto;
}
/* Sidebar Filter */
.filter-sidebar {
    width: 320px;
    background: white;
    border-right: 1px solid #eee;
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease, min-width 0.3s ease;
    position: relative;
    flex-shrink: 0;
    height: 100%;
    overflow-y: visible;
    z-index: 5;
}
.sidebar-header { padding: 1rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; background-color: #f5f5f5; position: sticky; top: 0; z-index: 10; flex-shrink: 0; }
.sidebar-header h3 { color: #2a5c9a; font-size: 1.1rem; display: flex; align-items: center; gap: 0.5rem; white-space: nowrap; }
.toggle-btn { background: none; border: none; cursor: pointer; color: #666; font-size: 1rem; padding: 0.3rem; transition: transform 0.3s; }
.filter-content { padding: 1rem; flex: 1; }
.filter-group { margin-bottom: 1rem; border: 1px solid #eee; border-radius: 6px; overflow: visible; position: relative; }
.filter-group-header { padding: 0.8rem; background-color: #f9f9f9; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.filter-group-header h4 { font-size: 0.95rem; color: #444; display: flex; align-items: center; gap: 0.5rem; white-space: nowrap; }
.filter-group-header i.fa-chevron-down { transition: transform 0.2s; }
.filter-group-content { padding: 0.8rem; display: none; border-top: 1px solid #eee; }
.filter-group.active .filter-group-content { display: block; }
.filter-group.active .filter-group-header i.fa-chevron-down { transform: rotate(180deg); }
.filter-item { margin-bottom: 0; }
.filter-item:last-child { margin-bottom: 0; }
.filter-item label { display: block; margin-bottom: 0.3rem; font-size: 0.85rem; color: #666; }
/* Style cho input và select đơn */
.filter-item input, .filter-item select:not([multiple]) { width: 100%; padding: 0.5rem; border: 1px solid #ddd; border-radius: 4px; font-size: 0.9rem; background-color: white; margin-bottom: 1rem; }
.filter-item select:not([multiple]) { appearance: none; -webkit-appearance: none; -moz-appearance: none; background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%236c757d%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'); background-repeat: no-repeat; background-position: right 0.7em top 50%, 0 0; background-size: 0.65em auto, 100%; padding-right: 2.5em; }
.filter-item input:focus, .filter-item select:not([multiple]):focus { outline: none; border-color: #2a5c9a; box-shadow: 0 0 0 2px rgba(42, 92, 154, 0.2); }
/* Nút điều khiển */
.filter-actions { padding: 1rem; border-top: 1px solid #eee; display: flex; gap: 0.5rem; background: white; z-index: 5; flex-shrink: 0; }
.apply-btn, .clear-btn { flex: 1; padding: 0.7rem; border: none; border-radius: 4px; font-size: 0.9rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.5rem; transition: all 0.2s; white-space: nowrap; }
.apply-btn { background-color: #2a5c9a; color: white; }
.apply-btn:hover { background-color: #1e4b7b; }
.clear-btn { background-color: #f0f0f0; color: #555; border: 1px solid #ddd; }
.clear-btn:hover { background-color: #e0e0e0; }
/* Kết quả tìm kiếm */
.results-section {
    flex: 1;
    padding: 1.5rem;
    background-color: #f8f9fa;
    height: 100%;
    overflow-y: auto;
}
.results-header {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}
.results-title h2 {
    color: #2a5c9a;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}
.results-count {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.3rem;
}
.results-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.sort-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.sort-container label {
    font-size: 0.85rem;
    color: #666;
    white-space: nowrap;
}
#sort-by {
    padding: 0.4rem 0.6rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    background-color: white;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%236c757d%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 0.7em top 50%, 0 0;
    background-size: 0.65em auto, 100%;
    padding-right: 2.5em;
}
.view-options {
    display: flex;
    gap: 0.5rem;
}
.view-option {
    background: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.4rem;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
}
.view-option:hover {
    background-color: #f0f0f0;
}
.view-option.active {
    background-color: #2a5c9a;
    color: white;
    border-color: #2a5c9a;
}
.search-stats {
    margin-bottom: 1rem;
    padding: 0.8rem;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.active-filters {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.filter-label {
    font-size: 0.9rem;
    color: #666;
}
.active-filters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.6rem;
    background-color: #e9ecef;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #495057;
}
.filter-tag .remove-filter {
    cursor: pointer;
    color: #6c757d;
    transition: color 0.2s;
}
.filter-tag .remove-filter:hover {
    color: #dc3545;
}
.candidate-list {
    display: grid;
    gap: 1.5rem;
    padding: 1rem;
}
.candidate-list.grid-view {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.candidate-list.list-view {
    grid-template-columns: 1fr;
}
.candidate-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    height: 100%;
}
.candidate-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.candidate-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    align-self: center;
    border: 2px solid #f0f0f0;
}
.candidate-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.candidate-info h3 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
    text-align: center;
    font-weight: 500;
}
.position {
    color: #555;
    font-size: 0.9rem;
    text-align: center;
}
.experience {
    color: #666;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    justify-content: center;
}
.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 0.5rem 0;
}
.skills span {
    background-color: #e9ecef;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #495057;
}
.date-added {
    font-size: 0.75rem;
    color: #888;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-top: auto;
}
.relevance {
    font-size: 0.8rem;
    font-weight: 500;
    color: #198754;
    display: inline-block;
    background-color: #d1e7dd;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}
.card-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}
.action-icon {
    color: #666;
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.2s;
}
.action-icon:hover {
    color: #2a5c9a;
}
.view-detail {
    padding: 0.5rem 1rem;
    background-color: #2a5c9a;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.view-detail:hover {
    background-color: #1e4b7b;
}
.no-results {
    text-align: center;
    padding: 3rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin: 2rem auto;
    max-width: 500px;
}
.no-results-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.no-results-content i {
    font-size: 3rem;
    color: #6c757d;
}
.no-results-content h3 {
    color: #333;
    margin: 0;
}
.no-results-content p {
    color: #666;
    margin: 0;
}
.clear-filters-btn {
    padding: 0.5rem 1rem;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.clear-filters-btn:hover {
    background-color: #e9ecef;
}
.loading-indicator {
    text-align: center;
    padding: 2rem;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2a5c9a;
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Responsive Styles */
@media (max-width: 768px) {
    .results-header {
        flex-direction: column;
        align-items: stretch;
    }
    .results-controls {
        flex-direction: column;
        align-items: stretch;
    }
    .sort-container {
        width: 100%;
    }
    #sort-by {
        width: 100%;
    }
    .view-options {
        justify-content: center;
        margin-top: 0.5rem;
    }
    .candidate-list.grid-view {
        grid-template-columns: 1fr;
    }
    .candidate-card {
        padding: 1rem;
    }
    .card-actions {
        flex-wrap: wrap;
    }
    .view-detail {
        width: 100%;
        justify-content: center;
    }
}
/* Sidebar thu gọn */
.filter-sidebar.collapsed { width: 50px; min-width: 50px; overflow: hidden; }
.filter-sidebar.collapsed .sidebar-header h3, .filter-sidebar.collapsed .filter-group-header h4, .filter-sidebar.collapsed .filter-content, .filter-sidebar.collapsed .filter-actions { display: none; }
.filter-sidebar.collapsed .toggle-btn { /* Giữ nút toggle */ }
.filter-sidebar.collapsed .toggle-btn i { transform: rotate(180deg); }
/* Footer */
footer { text-align: center; padding: 1rem; background-color: #e9ecef; color: #6c757d; font-size: 0.9rem; border-top: 1px solid #dee2e6; flex-shrink: 0; }

/* Responsive */
@media (max-width: 992px) { #content { flex-direction: column; } .main-container { flex-direction: column; height: auto; overflow: visible; } .filter-sidebar { width: 100%; height: auto; border-right: none; border-bottom: 1px solid #eee; overflow-y: visible; } .filter-sidebar.collapsed { width: 100%; height: 50px; min-width: unset; overflow: visible;} .filter-sidebar.collapsed .toggle-btn { position: absolute; top: 0.7rem; right: 1rem; z-index: 1;} .filter-sidebar.collapsed .filter-content, .filter-sidebar.collapsed .filter-actions { display: none; } .filter-sidebar.collapsed .sidebar-header { padding-right: 40px;} .results-section { height: auto; } }
@media (max-width: 768px) { header { padding: 0.8rem 1rem; } .logo h1 { font-size: 1.1rem; } nav ul { gap: 1rem; } nav a { font-size: 0.9rem; padding: 0.5rem 0.2rem; } .user span { display: none; } .candidate-list { grid-template-columns: 1fr; } .results-header { flex-direction: column; align-items: stretch; gap: 0.8rem; } .results-header h2 { font-size: 1.1rem; justify-content: center; } .results-count { text-align: center; } .sort-container { justify-content: center; width: 100%; } #sort-by { flex-grow: 1; max-width: 250px; } .filter-actions { flex-direction: column; } .filter-sidebar { width: 100% !important; min-width: unset; } .relevance { position: static; display: block; text-align: center; margin-bottom: 0.5rem; width: fit-content; margin-left: auto; margin-right: auto; } .candidate-card { padding: 1rem; } }
@media (max-width: 480px) { .logo h1 { font-size: 1rem; } nav ul { gap: 0.5rem; } nav a .nav-text { display: none; } nav a i { font-size: 1.2rem; } .results-header h2 { font-size: 1rem; } .upload-zone { padding: 2rem; } .card-actions { flex-wrap: wrap; gap: 0.5rem; } .view-detail { width: 100%; margin-top: 0.5rem; } }

/* Candidate Detail View */
.candidate-detail {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 2rem;
    margin: 1rem;
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.back-btn:hover {
    background: #e9ecef;
    color: #333;
}

.detail-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
}

.detail-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

.detail-sidebar {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    position: sticky;
    top: 2rem;
}

.candidate-profile {
    text-align: center;
    margin-bottom: 2rem;
}

.detail-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.detail-name {
    font-size: 1.4rem;
    color: #333;
    margin: 0 0 0.5rem;
}

.detail-position {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.detail-experience {
    color: #888;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.detail-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.download-cv {
    background: #2a5c9a;
    color: white;
}

.download-cv:hover {
    background: #1e4b7b;
}

.save-candidate {
    background: #f8f9fa;
    border: 1px solid #ddd;
    color: #666;
}

.save-candidate:hover {
    background: #e9ecef;
    color: #333;
}

.detail-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-section {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.detail-section h4 {
    color: #333;
    font-size: 1.2rem;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-section h4 i {
    color: #2a5c9a;
}

.detail-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.info-label {
    color: #666;
    font-size: 0.9rem;
}

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

.detail-experience-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.experience-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.experience-title {
    font-weight: 500;
    color: #333;
}

.experience-period {
    color: #666;
    font-size: 0.9rem;
}

.experience-company {
    color: #2a5c9a;
    margin-bottom: 0.5rem;
}

.experience-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.detail-education {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.education-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.education-degree {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.3rem;
}

.education-school {
    color: #2a5c9a;
    margin-bottom: 0.3rem;
}

.education-period {
    color: #666;
    font-size: 0.9rem;
}

.detail-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    background: #e9ecef;
    color: #495057;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-tag i {
    color: #2a5c9a;
}

@media (max-width: 992px) {
    .detail-content {
        grid-template-columns: 1fr;
    }
    
    .detail-sidebar {
        position: static;
    }
    
    .detail-info {
        grid-template-columns: 1fr;
    }
}

/* Additional Detail Sections */
.detail-languages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.language-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.language-name {
    font-weight: 500;
    color: #333;
}

.language-level {
    color: #2a5c9a;
    font-size: 0.9rem;
}

.detail-certifications {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.certification-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.certification-name {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.3rem;
}

.certification-issuer {
    color: #2a5c9a;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.certification-date {
    color: #666;
    font-size: 0.85rem;
}

/* Responsive adjustments for detail view */
@media (max-width: 768px) {
    .detail-content {
        grid-template-columns: 1fr;
    }
    
    .detail-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
    
    .detail-info {
        grid-template-columns: 1fr;
    }
    
    .language-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .language-level {
        align-self: flex-end;
    }
}

/* Domain Experience Section */
.detail-domains {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.domain-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.domain-name {
    font-weight: 500;
    color: #333;
}

.domain-experience {
    color: #2a5c9a;
    font-size: 0.9rem;
    background: #e9ecef;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

/* Responsive adjustments for domain experience */
@media (max-width: 768px) {
    .domain-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .domain-experience {
        align-self: flex-end;
    }
}

/* Pagination */
.pagination {
    margin-top: 2rem;
    padding: 1rem;
    /* background: white; */
    border-radius: 8px;
    /* box-shadow: 0 1px 3px rgba(0,0,0,0.1); */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.pagination-info {
    color: #666;
    font-size: 0.9rem;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    border: 1px solid #dee2e6;
    background: white;
    color: #495057;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.pagination-btn:hover:not(:disabled) {
    background: #e9ecef;
    border-color: #ced4da;
    color: #2a5c9a;
}

.pagination-btn.active {
    background: #2a5c9a;
    border-color: #2a5c9a;
    color: white;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-ellipsis {
    color: #6c757d;
    padding: 0 0.5rem;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .pagination {
        padding: 0.8rem;
    }

    .pagination-controls {
        flex-wrap: wrap;
        justify-content: center;
    }

    .pagination-btn {
        min-width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
}