/* MAIN TITLE */
.page-title {
    font-weight: 700;
    font-size: 28px;
    color: #0d6efd;
    margin-bottom: 25px;
}

/* SEARCH BOX */
.search-form {
    max-width: 400px;
    margin-bottom: 25px;
}

.search-box {
    border-radius: 10px;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    transition: 0.2s;
}

.search-box:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13,110,253,0.2);
}

/* Responsive */
@media (max-width: 1200px) {
    .job-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .job-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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


/* GRID LAYOUT */
.job-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 cards in one row */
    gap: 20px;
}

/* JOB CARD */
.job-card {
    background: #ffffff;
    padding: 22px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    margin-bottom: 18px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: 0.25s ease;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* TITLE */
.job-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.job-title-link {
    text-decoration: none;
    color: #111827;
}

.job-title-link:hover {
    color: #0d6efd;
}

/* META */
.job-meta {
    font-size: 14px;
    color: #6b7280;
}

/* SALARY SECTION */
.salary-section {
    margin-top: 8px;
}

.salary-range {
    font-size: 16px;
    font-weight: 500;
    color: #059669;
}

/* BADGES */
.badge {
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 6px;
}

.badge-na {
    background: #9ca3af;
    color: white;
}

.badge-negotiable {
    background: #3b82f6;
    color: white;
}

/* DEADLINE */
.deadline {
    margin-top: 10px;
    font-size: 14px;
    background: #fef3c7;
    color: #92400e;
    padding: 5px 10px;
    border-radius: 6px;
    display: inline-block;
}

/* SHORT DESCRIPTION */
.short-desc {
    margin-top: 10px;
    font-size: 14px;
    color: #4b5563;
}


/* LOGO + HEADER (top-aligned) */
.job-header {
    display: flex;
    align-items: flex-start;  /* align items at top */
    gap: 15px;
    margin-bottom: 15px;
}

.job-logo img {
    width: 55px;
    height: 55px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #eee;
    background: #fafafa;
}

/* Adjust job title and meta spacing slightly */
.job-header div {
    display: flex;
    flex-direction: column;
}


/* LOGO + HEADER: Top-aligned */
.job-header {
    display: flex;
    align-items: flex-start; /* top-aligned */
    gap: 15px;
    margin-bottom: 15px;
}

/* Logo image */
.job-logo img {
    width: 55px;
    height: 55px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #eee;
    background: #fafafa;
}

/* Job info next to logo */
.job-info {
    display: flex;
    flex-direction: column;
}

/* Job meta stacked vertically */
.job-meta p {
    margin: 0px 0;
    font-size: 14px;
    color: #6b7280;
}


.company-name {
    font-weight: 600;
    color: #111827;
}

.job-location,
.employment-type {
    font-size: 13px;
    color: #4b5563;
}

/* Other existing styles remain */
