/* Job Listing */
.job-board-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

/* Top search bar */
.job-search-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    align-items: center;
    top: 10px;
    z-index: 99;
}

.job-search-bar input[type="text"],
.job-search-bar select {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    flex: 1;
    min-width: 200px;
}

.job-search-bar button[type="submit"] {
    padding: 10px 20px;
    background: #7c3aed;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}
.job-search-bar button[type="submit"]:hover {
    background: #5b21b6;
}

.toggle-view {
    display: flex;
    margin-left: auto;
    gap: 6px;
}
.toggle-view button {
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
}
.toggle-view button.active {
    background: #7c3aed;
    color: white;
    border-color: #5b21b6;
}

/* Job listings layout */
.job-listings.grid {
    display: grid;
     grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
    margin-top: 30px;
}
.job-listings.list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#job-results{
        margin-top: 30px;
}
.job-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.3s;
}
.job-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.job-tag {
    max-width: fit-content;
    background: #ede9fe;
    color: #6b21a8;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.job-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 5px;
}

.company-name {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 10px;
}

.job-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 10px;
}
.job-description {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 10px;
}
.job-date {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 15px;
}
.job-btn {
    align-self: flex-start;
    background: #4F46E5;
    color: white;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
}
.job-btn:hover {
    background: #ddd6fe;
    color: #4c1d95;
}

/* Pagination */
.pagination {
    margin-top: 30px;
    text-align: center;
}
.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    font-size: 14px;
    border-radius: 50%;
    background: #fff;
    color: #333;
    border: 1px solid #ccc;
    text-decoration: none;
}
.pagination .current {
    background: #7c3aed;
    color: #fff;
    border-color: #5b21b6;
}
.pagination a:hover {
    background: #eee;
}

/* Responsive */
@media (max-width: 768px) {
    .job-search-bar {
        flex-direction: column;
    }
    .toggle-view {
        justify-content: flex-end;
        width: 100%;
    }
}

/* Job Listing end */

.p-rl-80{
	padding:0 80px;
}
        bodyMain {
            background-color:#f5f7ff;; /* Light background, similar to Bootstrap's bg-light */
        }
        /* Custom scrollbar for consistency */
        ::-webkit-scrollbar {
            width: 8px;
        }
        ::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }
        ::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 10px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #555;
        }
        .badge-custom { /* Renamed to avoid conflict with Bootstrap's .badge */
            padding: 0.25rem 0.75rem;
            border-radius: 9999px; /* Full rounded */
            font-size: 0.75rem; /* text-xs */
            font-weight: 600; /* font-semibold */
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .badge-active {
            background-color: #d1fae5; /* green-100 */
            color: #059669; /* green-700 */
        }
        .badge-completed {
            background-color: #e0e7ff; /* indigo-100 */
            color: #4f46e5; /* indigo-700 */
        }
        .badge-on-hold {
            background-color: #fffbeb; /* yellow-100 */
            color: #d97706; /* yellow-700 */
        }
        .badge-draft {
            background-color: #e2e8f0; /* gray-200 */
            color: #4b5563; /* gray-700 */
        }
        .activity-indicator {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            margin-right: 8px;
            flex-shrink: 0;
        }
        .activity-blue { background-color: #3b82f6; } /* blue-500 */
        .activity-green { background-color: #22c55e; } /* green-500 */
        .activity-yellow { background-color: #f59e0b; } /* yellow-500 */
        .activity-red { background-color: #ef4444; } /* red-500 */

        /* Custom styles for input focus to match original design */
        .form-control:focus {
            border-color: #0d6efd; /* Bootstrap primary blue */
            box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); /* Bootstrap focus ring */
        }
        .form-select:focus {
            border-color: #0d6efd;
            box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
        }

        /* Custom button style to match the light gray buttons */
        .btn-light-custom {
            background-color: #e9ecef; /* A lighter gray for buttons */
            color: #495057;
            border-color: #e9ecef;
        }
        .btn-light-custom:hover {
            background-color: #dee2e6;
            border-color: #dee2e6;
        }

        /* Table header background for visual consistency */
        .table-custom thead th {
            background-color: #f8f9fa; /* Bootstrap's bg-light */
        }

        /* Adjusting font sizes for Bootstrap to match original design's text-xs/text-sm */
        .fs-7 {
            font-size: 0.75rem !important; /* Custom font size for text-xs equivalent */
        }
        .fs-6 {
            font-size: 0.875rem !important; /* Bootstrap's default for small text */
        }
        .fs-4 {
            font-size: 1.25rem !important; /* Bootstrap's default for h5/h4 */
        }
        
        /* Specific positioning for search icon */
        .search-icon-position {
            left: 0.75rem; /* Equivalent to Tailwind's left-3 (12px) */
        }