/* Main container for each job item */
.cveek-jobs{
	direction:ltr;
}
.cveek-job-item{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 30px;
	background-color:#e9e9e9;
    border-radius:20px;
    margin-bottom:30px;
}
.cveek-job-item:hover{
	background-color:#d6d6d6;
}

.job-item-link-container{
	display:flex;
    flex-direction:row;
    align-items:center;
    gap: 20px;
 	color: #333;
	text-decoration:none !important;
}
.job-item-link-container:hover{
	color:#333;
}

.cveek-job-item h3{
	font-size: 19px;
    line-height: 26px;
    margin-bottom:3px;
}
.cveek-job-item h4{
	font-size: 17px;
    font-weight: normal;
    line-height: 30px;
    margin-bottom:0;
}

.job-by-company-logo img{
	max-width:90px;
	border-radius:50px;
}
/* --- Job Info Column --- */
.job-info {
    flex: 1;
    min-width: 250px;
    text-align: start; 
}
.job-all-details .company-name{
	font-size: 19px;
	margin-bottom: 10px;
    font-weight: bold;
}
.job-title {
    margin-top: 0;
    margin-bottom: 0.5em;
}
.flex-job-cols{
	display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    gap:25px;
}

.job-location,
.job-details {
    display: flex;
    align-items: center;
    gap: 8px; /* Space between flag and text */
}

/* --- Job Actions Column (Days & Apply Button) --- */
.job-actions {
    display: flex;
    flex-direction: column;
    /* Use 'end' for proper LTR/RTL alignment */
    align-items: flex-end; 
}

.job-days {
    display: block;
    margin-bottom: 0.5em;
    font-size: 0.9em;
    opacity: 0.8;
}

/* --- Apply Button Styling and Hover Effect --- */
.apply-button {
    background-color: #4CAF50; 
    color: #fff !important;     
    text-decoration: none;
    padding:4px 12px;
    border-radius: 4px;
    text-decoration:none  !important;
    transition: background-color 0.3s ease;
}

.apply-button:hover {
    background-color: #45a049; /* Darker green on hover */
}


.cveek-pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 25px;
    flex-wrap: wrap;
	text-align: center;
    margin-top: 20px;
}

.cveek-page-number,
.cveek-page-arrow {
    padding: 6px 12px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}

.cveek-page-number.active {
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
}

.cveek-page-number:not(.active):hover,
.cveek-page-arrow:hover {
    background: #f0f0f0;
}

.powered-by-cveek{
	text-align:right;
	margin-top: 15px;
	direction: ltr;
}
.powered-by-cveek .cveek-word{
	display:inline-block;
	color:#E2B233;
	font-weight:bold;
	text-decoration:none;
}

@media only screen and (max-width: 767px) {
	.job-item-link-container {    
    	align-items: flex-start;
    }
    .flex-job-cols{
        flex-direction:column;
        gap:0;
    }
    .cveek-job-item {
        padding: 18px;
    }
    .job-by-company-logo img {
        max-width: 60px;
    }	
    .job-item-link-container {
        gap: 15px;
    }

    .job-all-details .company-name , .cveek-job-item h3{
        font-size: 17px;
        line-height: 22px;
    }
    .cveek-job-item h4 {
        font-size: 16px;
        line-height: 20px;
    }
    .job-all-details{
    	flex:1;
    }
}

@media only screen and (max-width: 500px){
    .cveek-job-item{
    	align-items: flex-start;
    	padding:15px;
        gap:0;
    }
    .job-item-link-container {
        gap: 12px;
    }
    .job-by-company-logo img {
        max-width: 50px;
    }
    .job-all-details .company-name , .cveek-job-item h3{
        font-size: 15px;
        line-height: 18px;
    }
    .cveek-job-item h4 {
        font-size: 14px;
        line-height: 18px;
    }
    .job-location, .job-details{
    	line-height: 22px;
    }
    .apply-button{
    	padding:4px;
        font-size:12px;
    }
    .job-days {
    	font-size: 9.5px;
    }
}