
/* General Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Job Details Page */
/* Job Details Grid */
.job-details-grid {
grid-column: 1/-1;
grid-row: 2; 
    display: grid;
    grid-template-columns: auto 5px auto 5px auto 5px auto 5px auto;
    grid-template-rows: 10px auto 20px auto 5px auto 30px auto 20px auto 20px auto 20px auto 20px;
    margin: 0 auto;
    padding: 2rem;
    background-color: rgb(255, 255, 255);
    border-radius: 1rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    animation: fade-in 0.3s ease-out;
}

@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.back-to-jobs {
	grid-column: 1/-1;
	grid-row: 2; 
}

.back-link {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
    color: rgb(107, 114, 128); /* Tailwind's text-gray-500 */
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.back-link:hover {
    color: rgb(55, 65, 81); /* Tailwind's text-gray-700 */
}

.icon {
    width: 1rem;
    height: 1rem;
    margin-right: 8px;
}

.job_detail_action {
    grid-column: 2 / -1; /* Spans the full width of the grid */
    grid-row: 2;
    display: flex; /* Use flexbox for horizontal alignment */
    justify-content: flex-end; /* Align items to the right */
    align-items: center; /* Vertically align items */
    gap: 1rem; /* Space between icons */
}

.detail_favorite_icon,
.detail_share_icon {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem; /* Icon size */
    color: rgb(107, 114, 128); /* Tailwind's text-gray-500 equivalent */
    transition: color 0.2s ease-in-out;
}

.detail_favorite_icon:hover,
.detail_share_icon:hover {
    color: rgb(55, 65, 81); /* Tailwind's text-gray-700 equivalent */
}

.detail_share_dropdown {
    position: relative; /* Ensure the dropdown menu is positioned relative to the share icon */
}

.detail_share_links {
    display: none; /* Initially hide the dropdown menu */
    position: absolute;
    top: 100%; /* Position directly below the share icon */
    right: 0; /* Align to the right edge of the share icon */
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    z-index: 10; /* Ensure it appears above other elements */
}

.detail_share_dropdown:hover .detail_share_links,
.detail_share_icon:hover + .detail_share_links {
    display: block; /* Show the dropdown menu when hovering over the share icon or menu */
}

.detail_share_links a {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Space between icon and text */
    color: rgb(107, 114, 128); /* Tailwind's text-gray-500 equivalent */
    font-size: 0.875rem; /* Tailwind's text-sm equivalent */
    text-decoration: none;
}

.detail_share_links a:hover {
    color: rgb(55, 65, 81); /* Tailwind's text-gray-700 equivalent */
}


.detail_filled_icon {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem; /* Match icon size */
    color: rgb(107, 114, 128); /* Tailwind's text-gray-500 equivalent */
    transition: color 0.2s ease-in-out;
}

.detail_filled_icon:hover {
    color: rgb(55, 65, 81); /* Tailwind's text-gray-700 equivalent */
}



.job-type {
    display: inline-block;
    background-color: #e0e7ff;
    color: #4338ca;
    padding: 5px 10px;

	--tw-bg-opacity: 1;
    background-color: rgb(241 240 251 / var(--tw-bg-opacity));
	--tw-text-opacity: 1;
    color: rgb(155 135 245 / var(--tw-text-opacity));
	font-weight: 500;
    font-size: .875rem;
    line-height: 1.25rem;
padding-top: .25rem;
    padding-bottom: .25rem;
    padding-left: .75rem;
    padding-right: .75rem;
border-radius: 9999px;
	
}

.job-title {
	font-size: 1.875rem;
    line-height: 2.25rem;
	font-weight: 700;
	margin-top: .75rem;
	margin-bottom: .5rem;	
	--tw-text-opacity: 1;
    color: rgb(17 24 39 / var(--tw-text-opacity));
	
	
}




.job-header  {
	grid-column: 1/-1; 
	grid-row: 4/5; 
    font-size: 28px;
    font-weight: bold;
	width: 100%;
}

.company_details {
    grid-column: 1 / -1; /* Spans the full width of the grid */
    grid-row: 6 / 7;
    display: flex; /* Use flexbox for horizontal alignment */
    justify-content: space-between; /* Distribute items across the row */
    align-items: center; /* Vertically align items */
    gap: 1rem; /* Space between company name and job meta */
}

.company-name,
.job-meta span {
    display: flex;
    align-items: center;
    color: rgb(75, 85, 99); /* Tailwind's text-gray-600 equivalent */
    font-size: 0.875rem; /* Tailwind's text-sm equivalent */
}

.company-name img,
.job-meta span img {
    width: 16px; /* Icon size */
    height: 16px;
    margin-right: 0.5rem; /* Space between icon and text */
}

.job-meta {
    display: flex;
    gap: 2rem; /* Space between metadata items like location and posted date */
}

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





/* Summary Section */
.job-summary {
		grid-column: 1/-1; 
	grid-row: 8/9;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
        grid-template-columns: 1fr; /* One column layout */
}

.summary-item {
    --tw-bg-opacity: 1;
    background-color: rgb(241 240 251 / var(--tw-bg-opacity));
	border-radius: .75rem;
        padding: 1rem;
        margin-bottom: 0.75rem;
	
}

.summary-item h3 {
    font-size: 16px; /* Matches the text size in the design */
    color: rgb(126, 105, 171); /* Matches the purple text color */
    display: flex; /* Ensures alignment of text and icons */
    align-items: center; /* Vertically centers items */
    gap: 0.5rem; /* Adds spacing between the icon and text */
    margin-bottom: 0.25rem; /* Adds space below the header */
    font-weight: 500; /* Makes the text slightly bold */



}

.summary-item p {
    font-size: 14px; /* Base font size */
    font-weight: 500; /* Medium weight for emphasis */
    color: rgb(17, 24, 39); /* Dark gray text color */
    margin: 0; /* Remove default margins */
    display: flex; /* Align text with icons or other elements */
    align-items: center; /* Vertically center elements */
    gap: 0.5rem; /* Add spacing between text and icons */
}

/* Description Section */
.job-description {
		grid-column: 1/-1; 
	grid-row: 10/11;
	
}

.job-requirements {
			grid-column: 1/-1; 
	grid-row: 12/13;
	
}



.job-contact {
		grid-column: 1/-1; 
	grid-row: 14/15;
}

.job-description h2,
.job-requirements h2,
.job-contact h2 {
    font-size: 20px;
}

.job-description p,
.job-contact p,
.job-requirements ul {
    font-size: 16px;
}

/* Requirements List */
.job-requirements ul {
    list-style-type: disc;
    margin-left: 20px;
}

.job-requirements li {
    margin-bottom: 5px;
}
