/* Digilancer — Talents listing (Freeio) */

/* Talents listing — Freeio design system */
    .dl-talents-page {
        background: #f8f9fd;
    }
    .dl-talents-page .dl-page-heading {
        font-family: var(--title-font-family, inherit);
        color: #222;
        font-weight: 500;
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 6px;
    }
    .dl-talents-page .dl-page-subheading {
        color: #6b7177;
        font-size: 15px;
        margin-bottom: 0;
    }
    .dl-projects-toolbar {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 28px;
    }
    .dl-projects-toolbar-left {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 16px;
    }
    .dl-filter-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        border: 1px solid #e9e9e9;
        border-radius: 8px;
        background: #fff;
        color: #6b7177;
        cursor: pointer;
        transition: border-color .2s ease, color .2s ease, background .2s ease;
        font-size: 14px;
        line-height: 1.4;
    }
    .dl-filter-btn:hover {
        border-color: var(--main-color-one);
        color: var(--main-color-one);
        background: #fff;
    }
    .dl-filter-btn i {
        font-size: 14px;
        line-height: 1;
    }
    .dl-filter-btn svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }
    .talent-count-display {
        color: #6b7177;
        font-size: 14px;
    }
    .dl-sort-wrap {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }
    .dl-sort-wrap > span {
        color: #6b7177;
        font-weight: 500;
        font-size: 14px;
        white-space: nowrap;
    }
    .dl-sort-select-wrap {
        position: relative;
        min-width: 180px;
    }
    .dl-sort-select-wrap select {
        width: 100%;
        padding: 10px 36px 10px 16px;
        border: 1px solid #e9e9e9;
        border-radius: 8px;
        background: #fff;
        color: #222;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        font-size: 14px;
        transition: border-color .2s ease, box-shadow .2s ease;
    }
    .dl-sort-select-wrap select:focus {
        outline: none;
        border-color: var(--main-color-one);
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--main-color-one) 20%, transparent);
    }
    .dl-sort-select-wrap .dl-select-arrow {
        pointer-events: none;
        position: absolute;
        inset-block: 0;
        right: 12px;
        display: flex;
        align-items: center;
        color: #6b7177;
    }
    /* Active filter chips */
    .active-filters-section {
        margin-bottom: 28px;
    }
    .dl-active-filters {
        background: #fff;
        border: 1px solid #e9e9e9;
        border-radius: 12px;
        padding: 16px 20px;
    }
    .dl-active-filters-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 12px;
    }
    .dl-active-filters-head h4 {
        font-size: 15px;
        font-weight: 500;
        color: #222;
        margin: 0;
    }
    #clear-all-filters {
        display: inline-flex;
        align-items: center;
        padding: 6px 14px;
        border: 0;
        background: var(--main-color-one);
        color: #fff;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.2;
        cursor: pointer;
        transition: opacity .2s ease, background .2s ease;
        white-space: nowrap;
    }
    #clear-all-filters:hover {
        opacity: .88;
        color: #fff;
        background: var(--main-color-one);
    }
    .dl-active-filters-list,
    #active-filters-container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }
    #active-filters-container .dl-filter-chip {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        max-width: 100%;
        padding: 7px 10px 7px 14px;
        background: color-mix(in srgb, var(--main-color-one) 8%, #fff);
        border: 1px solid color-mix(in srgb, var(--main-color-one) 22%, #e9e9e9);
        border-radius: 999px;
        font-size: 13px;
        font-weight: 500;
        color: #222;
        line-height: 1.3;
    }
    #active-filters-container .dl-filter-chip .remove-filter {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 20px;
        height: 20px;
        min-width: 20px;
        padding: 0;
        margin: 0;
        border: 0;
        border-radius: 50%;
        background: #fff;
        color: #6b7177;
        cursor: pointer;
        line-height: 1;
        font-size: 14px;
        transition: background .15s ease, color .15s ease;
        flex-shrink: 0;
    }
    #active-filters-container .dl-filter-chip .remove-filter:hover {
        background: var(--main-color-one);
        color: #fff;
    }
    #active-filters-container .dl-filter-chip .remove-filter svg {
        width: 12px;
        height: 12px;
        display: block;
    }

    /* Sidebar filter drawer (Freeio-style) */
    #sidebar.dl-filter-sidebar {
        position: fixed;
        inset: 0;
        background: rgba(22, 28, 45, .45);
        z-index: 99999;
        display: none;
        opacity: 0;
        transition: opacity .25s ease;
    }
    #sidebar.dl-filter-sidebar.is-open,
    #sidebar.dl-filter-sidebar:not(.hidden) {
        display: block;
        opacity: 1;
    }
    #sidebar.hidden {
        display: none !important;
    }
    .dl-filter-panel {
        width: 350px;
        max-width: 92vw;
        background: #fff;
        box-shadow: 6px 0 24px rgba(64, 79, 104, .12);
        border: 0;
        border-radius: 0;
        padding: 0;
        height: 100vh;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        position: fixed;
        left: 0;
        top: 0;
        transform: translateX(-12px);
        transition: transform .3s ease;
    }
    #sidebar.dl-filter-sidebar:not(.hidden) .dl-filter-panel,
    #sidebar.dl-filter-sidebar.is-open .dl-filter-panel {
        transform: translateX(0);
    }
    .dl-filter-panel-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 22px 24px;
        border-bottom: 1px solid #e9e9e9;
        flex-shrink: 0;
    }
    .dl-filter-panel-header h2 {
        font-size: 18px;
        font-weight: 500;
        color: #222;
        margin: 0;
        font-family: var(--title-font-family, inherit);
    }
    #closeSidebar {
        width: 40px;
        height: 40px;
        min-width: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 8px;
        background: color-mix(in srgb, var(--main-color-one) 10%, #fff);
        color: #222;
        font-size: 16px;
        line-height: 1;
        cursor: pointer;
        transition: background .2s ease, color .2s ease;
        padding: 0;
    }
    #closeSidebar:hover {
        background: var(--main-color-one);
        color: #fff;
    }
    .dl-filter-body {
        padding: 8px 24px 28px;
        overflow-y: auto;
        flex: 1 1 auto;
        height: 100%;
    }
    .dl-filter-group {
        margin-bottom: 0;
        padding: 18px 0;
        border-bottom: 1px solid #f1f2f4;
    }
    .dl-filter-group--last {
        border-bottom: 0;
    }
    .dl-filter-group > label,
    .dl-filter-group .dl-filter-label {
        display: block;
        font-size: 15px;
        font-weight: 500;
        color: #222;
        margin-bottom: 12px;
    }
    .dl-filter-input-wrap,
    .dl-filter-select-wrap {
        position: relative;
    }
    .dl-filter-input-wrap .dl-search-icon {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 13px;
        color: #9ca3af;
        pointer-events: none;
    }
    .dl-filter-panel input[type="text"],
    .dl-filter-panel select {
        width: 100%;
        padding: 11px 14px;
        border: 1px solid #e9e9e9;
        border-radius: 8px;
        background: #fff;
        color: #222;
        font-size: 14px;
        line-height: 1.4;
        transition: border-color .2s ease, box-shadow .2s ease;
    }
    .dl-filter-panel select {
        appearance: none;
        -webkit-appearance: none;
        padding-right: 40px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%236b7177' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 14px center;
        cursor: pointer;
    }
    .dl-filter-panel input[type="text"]:focus,
    .dl-filter-panel select:focus {
        outline: none;
        border-color: var(--main-color-one);
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--main-color-one) 16%, transparent);
    }
    #talent_search_string {
        padding-left: 40px;
    }
    .dl-price-inputs {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 16px;
    }
    .dl-price-inputs input {
        flex: 1;
        padding: 10px 12px;
        border: 1px solid #e9e9e9;
        border-radius: 8px;
        font-size: 13px;
        transition: border-color .2s ease, box-shadow .2s ease;
    }
    .dl-price-inputs input:focus {
        outline: none;
        border-color: var(--main-color-one);
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--main-color-one) 16%, transparent);
    }
    .dl-range-wrap {
        position: relative;
        width: 100%;
        height: 24px;
    }
    .dl-range-wrap .dl-range-bg {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 4px;
        background: #e9e9e9;
        border-radius: 999px;
        transform: translateY(-50%);
    }
    #rangeTrack {
        position: absolute;
        top: 50%;
        height: 4px;
        background: var(--main-color-one);
        border-radius: 999px;
        transform: translateY(-50%);
    }
    .range-slider {
        -webkit-appearance: none;
        appearance: none;
        width: 100%;
        background: none;
        pointer-events: none;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        height: 6px;
        margin: 0;
        padding: 0;
    }
    .range-slider::-webkit-slider-thumb {
        pointer-events: auto;
        -webkit-appearance: none;
        width: 18px;
        height: 18px;
        background: #fff;
        border: 3px solid var(--main-color-one);
        border-radius: 50%;
        cursor: pointer;
        transition: transform .2s ease, border-color .2s ease;
        box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
    }
    .range-slider::-webkit-slider-thumb:hover {
        transform: scale(1.1);
    }
    .range-slider::-moz-range-thumb {
        pointer-events: auto;
        width: 18px;
        height: 18px;
        background: #fff;
        border: 3px solid var(--main-color-one);
        border-radius: 50%;
        cursor: pointer;
    }
    .dl-rating-row {
        display: flex;
        align-items: center;
        padding-bottom: 8px;
    }
    .dl-rating-row input[type="radio"] {
        width: 16px;
        height: 16px;
        accent-color: var(--main-color-one);
        cursor: pointer;
        flex-shrink: 0;
    }
    .dl-rating-row label {
        margin-left: 12px;
        margin-bottom: 0;
        font-size: 14px;
        color: #374151;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 2px;
    }
    .dl-rating-row label .fas.fa-star {
        font-size: 14px;
        color: #d1d5db;
    }
    .dl-rating-row label .fas.fa-star.is-active {
        color: #fbbf24;
    }

    /* Pagination */
    .dl-pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        padding-bottom: 16px;
    }
    .dl-pagination .pagination-link,
    .dl-pagination button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-width: 36px;
        height: 36px;
        padding: 0 12px;
        border: 1px solid #e9e9e9;
        border-radius: 999px;
        background: #fff;
        color: #6b7177;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        transition: border-color .2s ease, color .2s ease, background .2s ease;
    }
    .dl-pagination .pagination-link:hover {
        border-color: var(--main-color-one);
        color: var(--main-color-one);
    }
    .dl-pagination .is-current {
        background: var(--main-color-one);
        border-color: var(--main-color-one);
        color: #fff;
    }
    .dl-pagination button:disabled {
        opacity: .5;
        cursor: not-allowed;
    }

    /* Empty / loading states */
    .dl-talents-empty {
        text-align: center;
        padding: 48px 16px;
        width: 100%;
    }
    .dl-talents-empty img {
        max-width: 220px;
        margin-bottom: 16px;
    }
    .dl-talents-empty p {
        color: #6b7177;
        font-size: 16px;
        max-width: 420px;
        margin: 0 auto 20px;
    }
    .dl-talents-empty .ud-btn {
        background: var(--main-color-one);
        border-color: var(--main-color-one);
        color: #fff;
    }
    .dl-talents-empty .ud-btn:hover {
        background: #222;
        border-color: #222;
        color: #fff;
    }

    @media (max-width: 575.98px) {
        .dl-talents-page .dl-page-heading {
            font-size: 24px;
        }
        .dl-projects-toolbar {
            align-items: flex-start;
        }
        .dl-sort-wrap {
            width: 100%;
            justify-content: space-between;
        }
        .dl-sort-select-wrap {
            flex: 1;
        }
    }



/* Talent cards */
.search_talent_result .row > [class*="col-"] {
    display: flex;
    margin-bottom: 24px;
}
.dl-talent-card {
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 12px;
    padding: 24px 20px 28px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s ease, border-color .25s ease;
}
.dl-talent-card:hover {
    box-shadow: 0 10px 28px rgba(64, 79, 104, .08);
    border-color: color-mix(in srgb, var(--main-color-one) 28%, #e9e9e9);
}
.dl-talent-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}
.dl-talent-avatar-wrap {
    position: relative;
    flex-shrink: 0;
    width: 72px;
    height: 72px;
}
.dl-talent-avatar {
    width: 72px !important;
    height: 72px !important;
    max-width: 72px !important;
    min-width: 72px;
    min-height: 72px;
    border-radius: 50%;
    object-fit: cover !important;
    object-position: center center;
    border: 1px solid #e9e9e9;
    background: #f8f9fd;
    display: block;
}
.dl-talent-online {
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #22c55e;
}
.dl-talent-online.is-offline {
    background: #9ca3af;
}
.dl-talent-info {
    min-width: 0;
    flex: 1 1 auto;
}
.dl-talent-name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin-bottom: 6px;
}
.dl-talent-name {
    font-size: 17px;
    font-weight: 500;
    color: #222;
    text-decoration: none;
    line-height: 1.3;
}
.dl-talent-name:hover {
    color: var(--main-color-one);
}
.dl-talent-verified {
    color: var(--main-color-one);
    font-size: 14px;
}
.dl-talent-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--main-color-one) 12%, #fff);
    color: var(--main-color-one);
}
.dl-talent-badge.is-new {
    background: #ecfdf5;
    color: #059669;
}
.dl-talent-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 13px;
    color: #6b7177;
}
.dl-talent-rating .fas.fa-star {
    color: #fbbf24;
    font-size: 12px;
}
.dl-talent-rating .score {
    color: #222;
    font-weight: 500;
}
.dl-talent-title {
    display: block;
    font-size: 14px;
    color: #6b7177;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}
.dl-talent-title:hover {
    color: var(--main-color-one);
}
.dl-talent-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
    min-height: 34px;
}
.dl-talent-skill {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    font-size: 12px;
    color: #6b7177;
    background: #f3f4f6;
    border-radius: 999px;
}
.dl-talent-skill.is-more {
    background: color-mix(in srgb, var(--main-color-one) 12%, #fff);
    color: var(--main-color-one);
    font-weight: 500;
}
.dl-talent-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
    margin-top: auto;
}
.dl-talent-meta-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #9aa3af;
    margin-bottom: 2px;
}
.dl-talent-meta-value {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dl-talent-view {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--main-color-one);
    text-decoration: none;
    transition: gap .2s ease, color .2s ease;
}
.dl-talent-view:hover {
    color: #222;
    gap: 12px;
}
.dl-talents-empty {
    text-align: center;
    padding: 60px 20px;
    width: 100%;
}
.dl-talents-empty img {
    max-width: 220px;
    margin-bottom: 16px;
}
.dl-talents-empty p {
    font-size: 18px;
    color: #222;
    margin: 0;
}

.dl-price-sep {
    color: #6b7177;
    flex-shrink: 0;
}
.dl-filter-radio-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.dl-filter-date-row {
    display: flex;
    align-items: center;
    padding: 6px 0;
}
.dl-filter-date-row input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: var(--main-color-one);
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
}
.dl-filter-date-row label {
    margin-left: 12px;
    margin-bottom: 0;
    font-size: 14px;
    color: #6b7177;
    cursor: pointer;
    font-weight: 400;
}
.dl-filter-date-row:has(input:checked) label {
    color: #222;
    font-weight: 500;
}
#showMoreBtn {
    background: none;
    border: 0;
    color: var(--main-color-one);
    font-size: 13px;
    font-weight: 500;
    padding: 0;
    margin-top: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
#showMoreBtn:hover {
    color: #222;
}
.dl-filter-panel input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    font-size: 13px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.dl-filter-panel input[type="number"]:focus {
    outline: none;
    border-color: var(--main-color-one);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--main-color-one) 16%, transparent);
}

#extraOptions.hidden {
    display: none !important;
}
.dl-select-arrow i {
    font-size: 11px;
}
.dl-filter-body::-webkit-scrollbar {
    width: 8px;
}
.dl-filter-body::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--main-color-one) 14%, #f1f2f4);
    border-radius: 10px;
}
