/* Interactive job portal — /jobs page */
.cw-jobs-portal {
    background: #f8fafc;
    padding-bottom: 2rem;
    padding-top: 1.5rem;
}

.cw-jobs-portal + .cw-jobs-portal {
    padding-top: 0;
}

.cw-jobs-portal .container {
    max-width: 80rem;
}

.cw-jobs-portal__header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .cw-jobs-portal__header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cw-jobs-portal__title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.02em;
}

.cw-jobs-portal__breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cw-jobs-portal__breadcrumb a {
    color: #6b7280;
    text-decoration: none;
}

.cw-jobs-portal__breadcrumb a:hover {
    color: #0a65cc;
}

.cw-jobs-portal__search-console {
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
    margin-bottom: 2rem;
}

.cw-jobs-portal__search-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 992px) {
    .cw-jobs-portal__search-grid {
        grid-template-columns: minmax(0, 5fr) 1px minmax(0, 3fr) minmax(0, 3fr);
    }
}

.cw-jobs-portal__search-divider {
    display: none;
    width: 1px;
    height: 2rem;
    background: #e5e7eb;
    justify-self: center;
}

@media (min-width: 992px) {
    .cw-jobs-portal__search-divider {
        display: block;
    }
}

.cw-jobs-portal__field {
    position: relative;
    width: 100%;
    min-width: 0;
}

.cw-jobs-portal__search-grid .inputbox_2,
.cw-jobs-portal__field--location {
    width: 100% !important;
    min-width: 0;
    flex: 1 1 auto;
}

.cw-jobs-portal__field-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
    line-height: 0;
    z-index: 2;
}

.cw-jobs-portal__input {
    width: 100%;
    background: rgba(249, 250, 251, 0.8);
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2937;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.cw-jobs-portal__input:focus {
    outline: none;
    border-color: #0a65cc;
    box-shadow: 0 0 0 3px rgba(10, 101, 204, 0.12);
}

.cw-jobs-portal__clear-btn {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #9ca3af;
    padding: 0;
    line-height: 0;
    cursor: pointer;
    z-index: 3;
}

.cw-jobs-portal__actions {
    display: flex;
    gap: 0.75rem;
    width: 100%;
}

.cw-jobs-portal__filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
    flex-shrink: 0;
}

.cw-jobs-portal__submit-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 0;
    border-radius: 0.75rem;
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    background: #0a65cc;
    box-shadow: 0 4px 14px rgba(10, 101, 204, 0.15);
}

.cw-jobs-portal__tags {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f3f4f6;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.cw-jobs-portal__tags-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.cw-jobs-portal__tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cw-jobs-portal__tag {
    border: 0;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    cursor: pointer;
}

.cw-jobs-portal__tag:hover,
.cw-jobs-portal__tag.is-active {
    background: #0a65cc;
    color: #fff;
}

.cw-jobs-portal__active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.cw-jobs-portal__listing-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.cw-jobs-portal__listing-title {
    margin: 0 0 0.25rem;
    font-size: 1.125rem;
    font-weight: 800;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cw-jobs-portal__count-badge {
    background: #dbeafe;
    color: #0a65cc;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
}

.cw-jobs-portal__listing-sub {
    margin: 0;
    font-size: 0.75rem;
    color: #6b7280;
}

.cw-jobs-portal__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

@media (min-width: 768px) {
    .cw-jobs-portal__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .cw-jobs-portal__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Keep card content readable in 2-col mobile grids */
@media (max-width: 767px) {
    .cw-jobs-portal__grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .cw-jobs-portal__grid .card-body,
    .cw-jobs-portal__grid .cw-job-card,
    .cw-jobs-portal__grid .cw-company-card,
    .cw-jobs-portal__grid .cw-candidate-card,
    .cw-jobs-portal__grid .company-card,
    .cw-jobs-portal__grid .candidate-card {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .cw-jobs-portal__grid .cw-company-card__name,
    .cw-jobs-portal__grid .cw-candidate-card__name {
        font-size: 0.9rem;
    }

    .cw-jobs-portal__grid .cw-company-card__logo {
        width: 2.75rem;
        height: 2.75rem;
    }
}

.cw-jobs-portal__featured {
    margin-bottom: 2.5rem;
}

.cw-jobs-portal__load-more {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.cw-job-card {
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    transition: box-shadow 0.25s, border-color 0.25s;
}

.cw-job-card:hover {
    border-color: #dbeafe;
    box-shadow: 0 12px 32px -8px rgba(10, 101, 204, 0.12);
}

.cw-job-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
}

.cw-job-card__badge {
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
}

.cw-job-card__badge--type {
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #d1fae5;
}

.cw-job-card__badge--featured {
    color: #0a65cc;
    background: #eff6ff;
    border: 1px solid #dbeafe;
}

.cw-job-card__time {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #9ca3af;
}

.cw-job-card__title {
    margin: 0 0 0.25rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.cw-job-card__title a {
    color: #111827;
    text-decoration: none;
}

.cw-job-card__title a:hover {
    color: #0a65cc;
}

.cw-job-card__salary {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.cw-job-card__salary-value {
    color: #0a65cc;
    background: rgba(239, 246, 255, 0.8);
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.cw-job-card__employer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(249, 250, 251, 0.8);
    border: 1px solid #f3f4f6;
    border-radius: 0.75rem;
    padding: 0.75rem;
    margin-bottom: 1rem;
}

.cw-job-card__avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
}

.cw-job-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cw-job-card__employer-name {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 700;
    color: #111827;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cw-job-card__employer-loc {
    margin: 0;
    font-size: 0.75rem;
    color: #6b7280;
}

.cw-job-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f3f4f6;
    padding-top: 1rem;
}

.cw-job-card__save {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border: 0;
    background: transparent;
    color: #9ca3af;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.cw-job-card__save.is-saved {
    color: #e11d48;
}

.cw-job-card__share-wrap {
    position: relative;
}

.cw-job-card__share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: #e7f0fa;
    color: #0a65cc;
    border: 0;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
}

.cw-job-card__share-btn:hover {
    background: #0a65cc;
    color: #fff;
}

.cw-job-card__share-menu {
    display: none;
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.5rem);
    width: 14rem;
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 0.75rem;
    box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.12);
    z-index: 30;
    padding: 0.5rem;
}

.cw-job-card__share-menu.is-open {
    display: block;
}

.cw-job-card__share-link,
.cw-job-card__share-copy {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 0;
    background: transparent;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    cursor: pointer;
    text-align: left;
}

.cw-job-card__share-link:hover,
.cw-job-card__share-copy:hover {
    background: #f9fafb;
}

.cw-jobs-portal__filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: #e7f0fa;
    color: #474c54;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
}

.cw-jobs-portal__filter-chip button {
    border: 0;
    background: transparent;
    color: #6b7280;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.cw-jobs-portal__field .mapboxgl-ctrl-geocoder {
    width: 100%;
    max-width: none;
    box-shadow: none;
    font-size: 0.875rem;
}

.cw-jobs-portal__field .mapboxgl-ctrl-geocoder--input {
    width: 100%;
    background: rgba(249, 250, 251, 0.8);
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    height: auto;
}

.cw-jobs-portal__field .mapboxgl-ctrl-geocoder--input:focus {
    outline: none;
    border-color: #0a65cc;
    box-shadow: 0 0 0 3px rgba(10, 101, 204, 0.12);
}

.cw-jobs-portal__grid .slick-slide {
    margin: 0 0.75rem;
}

.cw-job-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    align-items: center;
}

.cw-job-card__meta {
    flex-wrap: wrap;
}

.cw-job-card__avatar {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

@media (max-width: 991px) {
    .cw-jobs-portal {
        padding-top: 0.75rem;
    }

    .cw-jobs-portal .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .cw-jobs-portal__search-console {
        padding: 1rem;
        border-radius: 0.875rem;
    }

    .cw-jobs-portal__search-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .cw-jobs-portal__field,
    .cw-jobs-portal__field .auto-search-wrapper {
        width: 100%;
        min-width: 0;
    }

    .cw-jobs-portal__field .auto-search-wrapper input,
    .cw-jobs-portal__input {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .cw-jobs-portal__actions {
        flex-direction: row;
        width: 100%;
        align-items: stretch;
    }

    .cw-jobs-portal__filter-btn {
        width: auto;
        flex: 0 0 auto;
        justify-content: center;
    }

    .cw-jobs-portal__submit-btn {
        flex: 1 1 auto;
        width: auto;
        justify-content: center;
    }

    .cw-jobs-portal__tags {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }

    .cw-jobs-portal__tag-list {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.4rem;
        padding-bottom: 0.15rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .cw-jobs-portal__tag-list li {
        flex: 0 0 auto;
    }

    .cw-jobs-portal__tag {
        white-space: nowrap;
    }

    .cw-jobs-portal__header {
        margin-bottom: 1rem;
    }

    .cw-jobs-portal__listing-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

.cw-jobs-portal__field .auto-search-wrapper {
    width: 100%;
    display: block;
}

.cw-jobs-portal__field .auto-search-wrapper input {
    width: 100%;
    background: rgba(249, 250, 251, 0.8);
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    box-sizing: border-box;
}

.autocomplete-job-dropdown {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.35rem);
    z-index: 40;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.12);
    max-height: 16rem;
    overflow: auto;
}

.autocomplete-job-dropdown .dropdown-menu {
    position: static !important;
    display: block !important;
    float: none;
    width: 100%;
    border: 0;
    box-shadow: none;
    margin: 0;
    padding: 0.35rem;
    transform: none !important;
}

.autocomplete-job-dropdown .dropdown-item {
    border-radius: 0.5rem;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    white-space: normal;
}

.autocomplete-job-dropdown .dropdown-item:hover,
.autocomplete-job-dropdown .dropdown-item:focus {
    background: #f1f5f9;
    color: #0a65cc;
}

.autocomplete-job-dropdown .dropdown-item a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.cw-jobs-portal__field .auto-results-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.35rem);
    z-index: 40;
}

.cw-jobs-portal__field .auto-results-wrapper ul {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.12);
    max-height: 16rem;
    overflow: auto;
}

.cw-jobs-portal__field .auto-results-wrapper ul li {
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    border-bottom: 1px solid #f3f4f6;
}

.cw-jobs-portal__field .auto-results-wrapper ul li:last-child {
    border-bottom: 0;
}

.cw-jobs-portal__field .auto-results-wrapper ul li:hover,
.cw-jobs-portal__field .auto-results-wrapper ul li.auto-selected {
    background: #f1f5f9;
    color: #0a65cc;
}

.cw-filter-drawer-modal--right .modal-dialog.cw-filter-drawer {
    left: auto;
    right: 0;
    transform: translateX(100%) !important;
}

.cw-filter-drawer-modal--right.show .modal-dialog.cw-filter-drawer {
    transform: translateX(0) !important;
}

/* View toggle (grid / list) */
.cw-jobs-portal__view-toggle {
    display: inline-flex;
    gap: 0.25rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.25rem;
}

.cw-jobs-portal__view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
}

.cw-jobs-portal__view-btn.active {
    background: #eff6ff;
    color: #0a65cc;
}

.cw-jobs-portal__pagination {
    margin-top: 2rem;
}

.cw-jobs-portal__field--select .select2-container {
    width: 100% !important;
}

.cw-jobs-portal__field--select .select2-container--default .select2-selection--single {
    height: auto;
    min-height: 2.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background: rgba(249, 250, 251, 0.8);
    padding: 0.5rem 0.75rem 0.5rem 2.75rem;
}

.cw-jobs-portal__field--select .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.5rem;
    padding-left: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2937;
}

.cw-jobs-portal__field--select .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 0.5rem;
}

/* Company cards */
.cw-company-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 1rem;
    padding: 1.25rem;
    min-height: 100%;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.25s, border-color 0.25s;
}

.cw-company-card:hover {
    border-color: #dbeafe;
    box-shadow: 0 12px 32px -8px rgba(10, 101, 204, 0.12);
    color: inherit;
}

.cw-company-card__top {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1rem;
}

.cw-company-card__logo {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #f3f4f6;
}

.cw-company-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cw-company-card__name {
    margin: 0 0 0.25rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #111827;
}

.cw-company-card__loc {
    margin: 0;
    font-size: 0.8125rem;
    color: #6b7280;
}

.cw-company-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.cw-company-card__footer {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #0a65cc;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

/* Candidate cards */
.cw-candidate-card {
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 1rem;
    padding: 1.25rem;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.25s, border-color 0.25s;
}

.cw-candidate-card:hover {
    border-color: #dbeafe;
    box-shadow: 0 12px 32px -8px rgba(10, 101, 204, 0.12);
}

.cw-candidate-card__top {
    position: relative;
    text-align: center;
    flex: 1;
}

.cw-candidate-card__share {
    position: absolute;
    top: 0;
    right: 0;
    border: 0;
    background: #f9fafb;
    border-radius: 0.5rem;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    cursor: pointer;
}

.cw-candidate-card__avatar-wrap {
    position: relative;
    width: 5rem;
    height: 5rem;
    margin: 0 auto 0.875rem;
    border-radius: 9999px;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cw-candidate-card__avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cw-candidate-card__status {
    position: absolute;
    bottom: 0.25rem;
    right: 0.25rem;
    width: 0.875rem;
    height: 0.875rem;
    border-radius: 9999px;
    background: #2ecc71;
    border: 2px solid #fff;
}

.cw-candidate-card__name {
    margin: 0 0 0.25rem;
    font-size: 1.0625rem;
    font-weight: 700;
}

.cw-candidate-card__name a {
    color: #111827;
    text-decoration: none;
}

.cw-candidate-card__name a:hover {
    color: #0a65cc;
}

.cw-candidate-card__profession {
    margin: 0 0 0.375rem;
    font-size: 0.8125rem;
    color: #6b7280;
}

.cw-candidate-card__available {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #059669;
}

.cw-candidate-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.cw-candidate-card__book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0.625rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #fff;
    background: #0a65cc;
    cursor: pointer;
    text-decoration: none;
}

.cw-candidate-card__viewed {
    color: #767f8c;
    line-height: 0;
}

/* List layout */
.cw-portal-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cw-portal-list-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

.cw-portal-list-card__thumb {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.cw-portal-list-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cw-portal-list-card__body {
    flex: 1;
    min-width: 0;
}

.cw-portal-list-card__title {
    margin: 0 0 0.375rem;
    font-size: 1rem;
    font-weight: 700;
}

.cw-portal-list-card__title a {
    color: #111827;
    text-decoration: none;
}

.cw-portal-list-card__title a:hover {
    color: #0a65cc;
}

.cw-portal-list-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: #6b7280;
}

.cw-portal-list-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.cw-portal-list-card__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cw-portal-list-card__muted {
    font-size: 0.8125rem;
    color: #9ca3af;
}

.cw-portal-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.625rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #fff;
    background: #0a65cc;
    text-decoration: none;
    white-space: nowrap;
}

.cw-portal-list-card .cw-candidate-card__avatar-wrap {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0;
    border-radius: 0.5rem;
}

@media (max-width: 767px) {
    .cw-portal-list-card {
        flex-wrap: wrap;
    }

    .cw-portal-list-card__actions {
        width: 100%;
        justify-content: flex-start;
    }
}

