/* General styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

/* Job Details Page Styles (job_details.php) */
.job-details {
    width: 80%;
    margin: 20px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Job Title */
.job-details h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

/* Job Description */
.job-details p {
    font-size: 1.2rem;
    color: #555;
    margin-top: 10px;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
}

/* Job Information Card - Card Layout */
.job-info-card {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
}

.job-info-card div {
    flex: 1;
    margin-right: 20px;
}

/* Remove margin from the last div */
.job-info-card div:last-child {
    margin-right: 0;
}

/* Job Information Title */
.job-info-card h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Job Information Details */
.job-info-card p {
    font-size: 1rem;
    color: #555;
}

/* Apply Button */
.job-details .apply-button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.job-details .apply-button:hover {
    background-color: #45a049;
}

/* Responsive Design for Small Screens */
@media (max-width: 768px) {
    .job-info-card {
        flex-direction: column;
    }

    .job-info-card div {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .job-info-card div:last-child {
        margin-bottom: 0;
    }
}
