/* ========== General Reset and Layout ========== */
body {
    font-family: Arial, sans-serif;
}

.wrap {
    padding: 20px;
}

/* ========== Application Form Styling ========== */
#job-application-form {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

#job-application-form label {
    font-weight: bold;
    margin-top: 15px;
    display: block;
}

#job-application-form input,
#job-application-form select,
#job-application-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#job-application-form textarea {
    resize: vertical;
}

#job-application-form button {
    background-color: #007cba;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
}

#job-application-form button:hover {
    background-color: #005a8c;
}

/* ========== Job Description Box ========== */
#job-description {
    background-color: #eef;
    padding: 10px;
    border: 1px solid #99c;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* ========== Language Selector ========== */
#language-selector {
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    font-size: 16px;
}

#language-selector label {
    cursor: pointer;
}

/* ========== Success Message ========== */
.notice-success {
    background-color: #dff0d8;
    border-left: 5px solid #3c763d;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    color: #3c763d;
}

/* ========== Job Listings Styling (Frontend) ========== */
.job-listings {
    list-style: none;
    padding-left: 0;
}

.job-item {
    padding: 15px;
    border-bottom: 1px solid #ccc;
}

.job-item strong {
    font-size: 18px;
}

/* ========== Filters (Frontend) ========== */
.job-listing-filters {
    margin-bottom: 30px;
}

.job-listing-filters form div {
    margin-bottom: 15px;
}

.job-listing-filters select,
.job-listing-filters button {
    padding: 8px;
    font-size: 14px;
}

/* ========== Modal Window (Admin) ========== */
#edit-job-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 25px;
    border: 1px solid #ccc;
    border-radius: 8px;
    z-index: 9999;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

#edit-job-modal h2 {
    margin-top: 0;
}

#edit-job-modal .button {
    margin-top: 10px;
    margin-right: 10px;
}
