/* Ceipal Job Listing — Frontend Styles */

.cjl-wrap *,
.cjl-wrap *::before,
.cjl-wrap *::after {
    box-sizing: border-box;
}
.cjl-loader{
    width:100%;
    position:absolute;
    left:50%;
    top:50%;
}
.cjl-wrap {
    font-family: inherit;
    color: #333;
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 16px;
}

.cjl-layout {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    flex-direction: column;
}

.cjl-sidebar {
    display: grid;
    gap: 20px;
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
    padding: 20px;
    border-radius: 12px;
    background-color: #f8f8f8;
    margin-top: 20px;
}

.cjl-sidebar h4 {
    font-size: 13px;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px;
}

.cjl-dropdown .cjl-dropdown-btn {
    background-color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    border-radius: 6px !important;
    padding: 9px 25px 9px 12px !important;
    position: relative;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 238px;
}

.cjl-dropdown .cjl-dropdown-btn svg {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
}

.cjl-sidebar input[type="text"],
.cjl-sidebar select,
.cjl-dropdown-btn {
    width: 100%;
    height: 46px;
    padding: 9px 12px;
    border: 1px solid #dde1e7;
    border-radius: 6px;
    font-size: 13px;
    color: #555 !important;
    background: #fff;
    outline: none;
    transition: border-color .2s;
}

.cjl-sidebar input[type="text"]:focus,
.cjl-sidebar select:focus,
.cjl-dropdown-btn:focus {
    border-color: #4caf50;
}

.cjl-location-wrap {
    position: relative;
}

.cjl-location-wrap input {
    padding-right: 32px;
}

.cjl-location-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    pointer-events: none;
}

.cjl-checkbox-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cjl-checkbox-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
    font-size: 13px;
    color: #444;
}

.cjl-checkbox-list input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #4caf50;
    cursor: pointer;
}

.cjl-remote-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #444;
    padding-top:10px;
}

.cjl-remote-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #4caf50;
}

.cjl-remote-row label {
    cursor: pointer;
    margin: 0;
}

.cjl-toggle-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #444;
    margin-bottom: 10px;
}

.cjl-toggle-filter input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #4caf50;
}

.cjl-sidebar-btn,
.cjl-clear-btn{
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 6px;
    transition: background .2s;
    grid-column: 1 / -1;
    justify-self: center;
}

.cjl-sidebar-btn:hover,
.cjl-clear-btn:hover{
    background: #43a047;
}

.cjl-pagination {
    grid-column: 1 / -1;
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 15px;
}

.cjl-main {
    width: 100%;
}

.cjl-results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 13px;
    color: #888;
}

.cjl-results-bar strong {
    color: #333;
}

.cjl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-content: start;
    min-height:600px;
}

.cjl-card {
    background: #fff;
    border: 1.5px solid #e8ebef;
    border-radius: 10px;
    padding: 20px 20px 48px;
    position: relative;
    transition: box-shadow .2s, border-color .2s;
    cursor: pointer;
}

.cjl-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.cjl-card-link:hover,
.cjl-card-link:focus {
    color: inherit;
    text-decoration: none;
}

.cjl-remote-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #2e7d32;
    font-weight: 600;
}

.cjl-badge-contracttohire {
    background: #5c6bc0;
    color: #fff;
}

.cjl-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 1px solid #dde1e7;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.cjl-page-btn:hover {
    border-color: #4caf50;
    color: #2e7d32;
}

.cjl-page-btn.disabled,
.cjl-page-btn[disabled] {
    opacity: 0.45;
    pointer-events: none;
    cursor: default;
}

.cjl-recruiter-chip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding: 10px;
    margin-left: -10px;
    margin-right: -10px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background .15s;
}

.cjl-recruiter-chip:hover {
    background: #eef8ee;
    color: inherit;
}

.cjl-recruiter-avatar {
    font-size: 11px;
    font-weight: 700;
    background: #4caf50 !important;
    color: #fff !important;
}

.cjl-ov-sub {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

.cjl-recruiter-header,
.cjl-recruiter-hero {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 32px 28px;
    margin-bottom: 28px;
    background: #f3f4f6;
    border-radius: 12px;
}

.cjl-recruiter-avatar-lg,
.cjl-recruiter-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #4caf50;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    flex-shrink: 0;
    object-fit: cover;
}

.cjl-recruiter-name {
    font-size: 34px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px;
    line-height: 1.15;
}

.cjl-recruiter-title {
    font-size: 16px;
    font-weight: 500;
    color: #555;
    margin: 0 0 10px;
}

.cjl-recruiter-linkedin {
    display: inline-block;
    color: #0a66c2 !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: underline;
    margin-bottom: 8px;
}

.cjl-recruiter-edu {
    font-size: 14px;
    color: #666;
    margin-top: 4px;
}

.cjl-recruiter-about {
    margin: 0 0 36px;
}

.cjl-recruiter-about h2,
.cjl-recruiter-jobs-head h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 12px;
}

.cjl-recruiter-about p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin: 0;
    /*max-width: 820px;*/
}

.cjl-recruiter-jobs-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 16px;
}

.cjl-recruiter-see-all {
    color: #0a66c2 !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.cjl-recruiter-see-all:hover {
    text-decoration: underline;
}

.cjl-recruiter-job-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cjl-recruiter-job {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 10px;
    padding: 20px 22px;
}

.cjl-recruiter-job-title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #0a66c2 !important;
    text-decoration: underline;
    margin-bottom: 6px;
}

.cjl-recruiter-job-facts {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.cjl-recruiter-job-snip {
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.cjl-recruiter-job-apply {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 12px 18px;
    background: #0a66c2;
    color: #fff !important;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.cjl-recruiter-job-apply:hover {
    background: #084e96;
    color: #fff !important;
}

.cjl-recruiter-kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #4caf50;
    margin-bottom: 4px;
}

.cjl-recruiter-name {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
    line-height: 1.2;
}

.cjl-recruiter-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    font-size: 13px;
    color: #666;
    margin-bottom: 14px;
}

.cjl-recruiter-status {
    color: #2e7d32;
    font-weight: 600;
}

.cjl-recruiter-contact {
    display: inline-block;
    padding: 10px 16px;
    background: #4caf50;
    color: #fff !important;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.cjl-recruiter-contact:hover {
    background: #388e3c;
    color: #fff !important;
}

.cjl-recruiter-wrap .cjl-pagination {
    margin-top: 24px;
}

.cjl-card:hover {
    box-shadow: 0 4px 18px rgba(0, 0, 0, .09);
    border-color: #c5e8c6;
}

.cjl-card.featured {
    border-color: #f5c518;
    background: linear-gradient(135deg, #fffef5 0%, #fff 100%);
}

.cjl-card-star {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 18px;
    color: #f5c518;
}

.cjl-card-apply {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    background: #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    font-weight: 700;
    transition: background .2s, transform .15s;
}

.cjl-card-apply:hover {
    background: #388e3c;
    transform: scale(1.1);
    color: #fff;
}

.cjl-card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.cjl-company-logo {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    flex-shrink: 0;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: #666;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.cjl-company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cjl-card-title-wrap {
    flex: 1;
    min-width: 0;
}

.cjl-company-name {
    font-size: 11px;
    color: #aaa;
    margin: 0 0 3px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cjl-job-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
    line-height: 1.3;
    padding-right: 8px;
}

.cjl-job-code {
    font-size: 11px;
    color: #bbb;
    margin-bottom: 6px;
}

.cjl-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.cjl-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.cjl-badge-fulltime {
    background: #4caf50;
    color: #fff;
}

.cjl-badge-parttime {
    background: #ff9800;
    color: #fff;
}

.cjl-badge-freelance {
    background: #9c27b0;
    color: #fff;
}

.cjl-badge-internship {
    background: #29b6f6;
    color: #fff;
}

.cjl-badge-temporary {
    background: #ef5350;
    color: #fff;
}

.cjl-badge-contract {
    background: #607d8b;
    color: #fff;
}

.cjl-badge-w2 {
    background: #00897b;
    color: #fff;
}

.cjl-badge-c2c {
    background: #f57c00;
    color: #fff;
}

.cjl-badge-default {
    background: #78909c;
    color: #fff;
}

.cjl-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: #888;
    align-items: center;
}

.cjl-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}
.cjl-meta-item i {
    font-size: 14px;

}

.cjl-no-results {
    grid-column: 1/-1;
    text-align: center;
    padding: 48px 16px;
    color: #aaa;
    font-size: 14px;
}

.cjl-error-box {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 13px;
}

.cjl-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

.cjl-dropdown-btn {
    width: 100%;
    padding: 10px;
    cursor: pointer;
    text-align: left;
}

.cjl-dropdown-content {
    display: none;
    position: absolute;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
}

.cjl-dropdown-content label {
    display: block;
    padding: 8px 10px;
    cursor: pointer;
}

.cjl-dropdown-content label:hover {
    background: #f5f5f5;
}

.cjl-dropdown.active .cjl-dropdown-content {
    display: block;
}
.cjl-details-desc b {
    font-weight: 600;
}

@media (max-width:1023px) {
    .cjl-layout {
        flex-direction: column;
    }

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

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

    .cjl-dropdown .cjl-dropdown-btn {
        max-width: 300px;
    }
}

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

    .cjl-sidebar {
        display: flex;
        flex-direction: column;
    }

    .cjl-recruiter-header,
    .cjl-recruiter-hero,
    .cjl-recruiter-jobs-head,
    .cjl-recruiter-job {
        flex-direction: column;
        align-items: stretch;
    }

    .cjl-recruiter-job-apply {
        justify-content: center;
    }
}