body {
    background-color: #121212; /* Dark background */
    color: #e0e0e0; /* Light text color */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.careers-container {
    max-width: 900px;
    margin: 80px auto;
    padding: 20px;
    background-color: #1e1e1e; /* Slightly lighter dark shade for the content area */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.careers-container h1, 
.careers-container h2 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
}

.careers-container h1 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

.careers-container h2 {
    font-size: 1.8em;
    margin-top: 30px;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

.careers-container p {
    margin-bottom: 15px;
    text-align: left; /* Or justify, depending on preference for this page */
}

.careers-container section {
    margin-bottom: 40px;
}

.careers-container a {
    color: lightslategray; /* A light purple, common in dark themes for links */
    text-decoration: none;
    font-size: 0.9rem;
}

.careers-container a:hover {
    text-decoration: underline;
}

/* Specific section styling if needed */
.job-openings p {
    font-style: italic;
}

.job-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.job-card {
    background-color: #2a2a2a; /* Darker card background */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

.job-card-content {
    margin-bottom: 15px;
}

.job-card .job-title {
    font-size: 1.2em; /* Increased font size for job title */
    color: #e0e0e0; /* Lighter title color */
    margin-bottom: 15px;
    text-align: left; /* Align title to the left */
    border-bottom: none; /* Remove bottom border from h2 style inheritance */
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.job-card .job-description {
    font-size: 0.95em;
    color: #b0b0b0; /* Slightly dimmer description text */
    line-height: 1.5;
}

.job-details {
    margin-bottom: 15px;
}

.job-detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    font-size: 0.9em;
    color: #b0b0b0;
}

.job-detail-item i {
    width: 20px;
    text-align: center;
    margin-right: 10px;
    color: #bb86fc;
    flex-shrink: 0;
    line-height: 1.4;
    margin-top: 1px;
}

.status-badge {
    background-color: #607d8b;
    color: white;
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 0.6em;
    font-weight: normal;
    margin-left: 10px;
}

.job-card-action {
    text-align: right;
}

.job-card-action .btn-primary {
    background-color: #bb86fc; /* Consistent with link color */
    border-color: #bb86fc;
    color: #121212; /* Dark text on light button */
    padding: 8px 15px;
    font-size: 0.9em;
    text-transform: uppercase;
    font-weight: bold;
}

.job-card-action .btn-primary:hover {
    background-color: #a46de5;
    border-color: #a46de5;
}

/* Inactive job card styles */
.job-card.inactive {
    opacity: 0.7;
    background-color: #252525;
}

.job-card.inactive .job-title {
    color: #a0a0a0;
}

.job-card.inactive .job-detail-item {
    color: #888;
}

.job-card.inactive .job-detail-item i {
    color: #888;
}

/* Disabled button styles */
.btn-disabled {
    background-color: #444;
    border: 1px solid #444;
    color: #888;
    padding: 8px 15px;
    font-size: 0.9em;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 4px;
    cursor: not-allowed;
}

.btn-disabled:hover {
    background-color: #444;
    border-color: #444;
    color: #888;
}

/* FontAwesome icons support */
.fa-solid {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}