/*
================================================
:root - Defines the color palette
================================================
*/
:root {
    --ajp-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --ajp-text-dark: #2d3748; /* Darker text for titles */
    --ajp-text-body: #4a5568; /* Body text */
    --ajp-text-light: #718096; /* Lighter text for labels */
    --ajp-accent-green: #38a169; /* Main green for button/icon */
    --ajp-accent-green-dark: #2f855a; /* Darker green for icon background */
    --ajp-background-light: #f7fafc;
    --ajp-background-white: #ffffff;
    --ajp-border-color: #e2e8f0;
}

/*
================================================
Job List - Final Bar Design
================================================
*/
.ajp-job-listings-container {
    font-family: var(--ajp-font-family);
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.ajp-job-listing-item {
    background: var(--ajp-background-white);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid var(--ajp-border-color);
    transition: box-shadow 0.3s ease;
}
.ajp-job-listing-item:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.ajp-job-listing-header {
    display: flex;
    justify-content: space-between;
    padding: 12px 25px;
    background: var(--ajp-background-light);
    font-size: 13px;
    color: var(--ajp-text-light);
    border-bottom: 1px solid var(--ajp-border-color);
    align-items: center;
}
.ajp-job-listing-header span {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ajp-inline-icon {
    width: 16px;
    height: 16px;
}
.ajp-job-listing-body {
    display: grid;
    grid-template-columns: auto 2.5fr 1fr 1fr auto;
    align-items: center;
    gap: 25px;
    padding: 25px;
}
.ajp-job-icon {
    background-color: var(--ajp-accent-green-dark);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ajp-job-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) invert(1); 
}
.ajp-job-title-location h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
}
.ajp-job-title-location h3 a {
    text-decoration: none;
    color: var(--ajp-text-dark);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ajp-job-title-location h3 a:hover {
    color: var(--ajp-accent-green);
}
.ajp-job-title-location p {
    margin: 0;
    font-size: 14px;
    color: var(--ajp-text-light);
    padding-left: 24px; /* Align with title text */
}
.ajp-job-meta h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: var(--ajp-text-light);
    font-weight: 500;
}
.ajp-job-meta p {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--ajp-text-body);
}
.ajp-button-green {
    background-color: var(--ajp-background-white);
    color: var(--ajp-accent-green);
    border: 1px solid var(--ajp-accent-green);
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.ajp-button-green:hover {
    background-color: var(--ajp-accent-green);
    color: var(--ajp-background-white);
}

/*
================================================
Single Job Detail Page (Unchanged)
================================================
*/
.ajp-single-job-container {
    font-family: var(--ajp-font-family);
    max-width: 1100px;
    margin: 60px auto;
    padding: 40px;
    background: #fff;
    border-radius: 10px;
}
.ajp-job-header {
    text-align: center;
    border-bottom: 1px solid var(--ajp-border-color);
    padding-bottom: 25px;
    margin-bottom: 40px;
}
.ajp-job-header h1 {
    font-size: 42px; font-weight: 700; margin: 0 0 10px 0; color: var(--ajp-text-dark);
}
.ajp-job-header .ajp-breadcrumbs {
    font-size: 14px; color: var(--ajp-text-light);
}
.ajp-job-header .ajp-breadcrumbs a {
    text-decoration: none; color: var(--ajp-text-light);
}
.ajp-job-content-grid {
    display: grid; grid-template-columns: 320px 1fr; gap: 50px;
}
.ajp-job-sidebar .ajp-sidebar-item {
    margin-bottom: 30px;
}
.ajp-sidebar-item h4 {
    font-size: 16px; color: var(--ajp-text-dark); margin: 0 0 10px 0; font-weight: 600;
}
.ajp-sidebar-item p {
    font-size: 16px; margin: 0; font-weight: 400; color: var(--ajp-text-body);
}
.ajp-apply-button {
    display: inline-block; 
	width: 100%; 
	text-align: center; 
	background-color: var(--theme-color); 
	color: var(--ajp-background-white); 
	padding: 15px; 
	border-radius: 8px; 
	text-decoration: none; 
	font-weight: 500; 
	font-size: 16px; 
	transition: all 0.2s ease;
}
.ajp-apply-button:hover {
    background-color: #0056b3; 
	transform: translateY(-2px);
	color: white;
}
.ajp-main-content .entry-content p, 
.ajp-main-content .entry-content li {
    line-height: 1.8; color: var(--ajp-text-body); font-size: 16px; margin-bottom: 1.5em;
}
.ajp-main-content .entry-content ul {
    list-style-type: disc; padding-left: 20px;
}
.ajp-main-content h3 {
    font-size: 22px; font-weight: 600; margin-top: 40px; margin-bottom: 20px; color: var(--ajp-text-dark);
}
.ajp-skills-list {
    list-style: none; padding: 0; margin: 0;
}
.ajp-skills-list li {
    padding-left: 20px; position: relative; margin-bottom: 12px; font-size: 16px; line-height: 1.6; color: var(--ajp-text-body);
}
.ajp-skills-list li::before {
    content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; background-color: var(--ajp-text-light);
}

/* --- Responsive adjustments --- */
@media (max-width: 992px) {
    .ajp-job-content-grid { grid-template-columns: 1fr; }
    .ajp-job-sidebar { grid-row: 2; margin-top: 40px; }
}
@media (max-width: 768px) {
    .ajp-job-listing-body { grid-template-columns: 1fr; text-align: center; gap: 20px; }
    .ajp-job-icon { margin: 0 auto 10px auto; }
    .ajp-job-title-location h3, .ajp-job-title-location p { justify-content: center; padding-left: 0; }
    .ajp-job-actions { margin-top: 15px; }
}