body {
    background-color: #fff;
    font-family: 'Poppins', sans-serif;
    margin: 0;
}

.search-container {
    background: white;
    margin-bottom: 30px;
}

.search-row {
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: center;
}

.search-row-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
@media screen and (max-width: 576px) {
    .search-row-wrapper {
        flex-direction: column;
    }
    .search-input, .location-select, .department-select {
        width: 100%;
    }
    
}

.search-input {
    flex: 1;
    position: relative;
    padding: 0 15px;
    border: 1px solid #e0e0e0;
        box-sizing: border-box;
}

.search-input input {
    height: 45px;
    padding: 0;
    margin: 0;
    font-size: 14px;
    width: 100%;
    box-shadow: none;
    outline: none;
    border: 0;
}

.location-select,
.department-select {
    position: relative;
}

.location-select select,
.department-select select {
    height: 47px;
    border: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
    padding: 0 35px 0 15px;
    font-size: 14px;
    background: white;
    appearance: none;
    width: 200px;
    box-shadow: none;
    outline: none;
}

.location-select::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    z-index: 2;
    pointer-events: none;
    mask-image: url(icons/map.svg);
    mask-size: contain;
    mask-position: center;
    width: 20px;
    height: 20px;
    background-color: #666;
    mask-repeat: no-repeat;
}

.location-select select {
    padding-left: 35px;
}

.department-select::before {
    content: '\f0b1';
    font-family: FontAwesome;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    z-index: 2;
    pointer-events: none;
}

.department-select select {
    padding-left: 35px;
    
}

.location-select::after,
.department-select::after {
    content: '\f107';
    font-family: FontAwesome;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
}

.search-btn {
    height: 47px;
    background: #2196F3;
    border: none;
    color: white;
    padding: 0 25px;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-btn:hover {
    background: #1976D2;
}


.results-info {
    color: #666;
    font-size: 14px;
}

.table-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.results-info a {
    color: #2196F3;
    text-decoration: none;
}

.results-header {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.result-header-wrapper {
    width: 100%;
    max-width: 1000px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.job-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.job-tabs a {
    color: #666;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.job-tabs a .active {
    color: #2196F3;
}


.job-card {
    background: white;
    border: 0;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

}
.job-card:hover .job-avatar {
    background-color: #2196F3;
    border: 1px solid #2196F3;
}
.job-card:nth-child(odd) {
    background-color: #f9f9f9 !important;
}

.job-avatar {
    width: 40px;
    height: 40px;
    background: #ffff;
    border: 1px solid #e0e0e0;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0e0e0;
    font-weight: bold;
    flex-shrink: 0;
    position: relative;
}


.job-avatar::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    mask-image: url(icons/file-icon.svg);
    background-color: #e0e0e0;
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center;
}

.job-info {
    flex: 1;
}
.job-listings {
    overflow: auto;
}

.job-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.job-status {
    display: inline-block;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    color: #2196F3;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 10px;
        height: fit-content;
}




.job-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #666;
    font-size: 13px;
    margin-top: 5px;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.details-btn {
    background: transparent;
    border: 1px solid #2196F3;
    /* color: #2196F3; */
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.details-btn:hover {
    background: #2196F3;
    color: white;
}

.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.rows-per-page {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
}

.rows-per-page select {
    border: 1px solid #ddd;
    padding: 5px 25px 5px 10px;
    border-radius: 4px;
    background: white;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23666" d="M6 8L2 4h8z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 8px center;
    outline: none;
}

.pagination {
    margin: 0;
    display: flex
;
    list-style: none;
    gap: 10px;
}
.pagination>li {
    border-radius: 4px;
    padding: 8px 0px;
    cursor: pointer;

}
.pagination>li>a,
.pagination>li>span {
    color: #666;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    text-decoration: none;
}

.pagination>.active>a,
.pagination>.active>span {
    background-color: #2196F3;
    border-color: #2196F3;
    color: white;
}

.pagination>li>a:hover {
    background-color: #f5f5f5;
    border-color: #ddd;
    color: #333;
}

@media (max-width: 768px) {
    .search-row {
        flex-direction: column;
        gap: 10px;
    }

    .search-input input,
    .location-select select,
    .department-select select,
    .search-btn {
        width: 100%;
    }

    /* .job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    } */

    .job-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .pagination-container {
        flex-direction: column;
        gap: 15px;
    }
}

/* custome css for pagination */

.no-jobs {
    padding: 30px;
    text-align: center;
    font-size: 18px;
    color: #444;
    font-weight: 500;
    background: #fdf3f3;
    border: 1px solid #f5c2c2;
    border-radius: 10px;
    max-width: 500px;
    margin: 51px auto;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.no-jobs i {
    color: #e74c3c;
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}
.no-jobs .hint {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}
.job-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    margin: 10px 0;
    transition: all 0.3s ease;
    background-color: #fff;
}
.job-card:hover {
    background-color: #f9f9f9;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}
.details-btn {
    margin-top: 10px;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
}
.details-btn:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background-color: #0056b3;
}
.details-btn a {
    color: #0056b3;
    text-decoration: none;
}
.details-btn:hover a {
    color: white;
}
.job-avatar {
    transition: all 0.3s ease;
}
.job-avatar:hover {
    background-color: #0056b3;
}