/* PAGE WRAPPER */
.jobs-page {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fa;
    padding-bottom: 40px;
}

/* LAYOUT */
.jobs-page .container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

/* JOB CARDS */
.jobs-page .job-card {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #d9d9d9;
    overflow: hidden;
    transition: box-shadow .2s ease;
}

.jobs-page .job-card:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

/* COLLAPSIBLE */
.jobs-page summary {
    cursor: pointer;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.jobs-page summary::-webkit-details-marker {
    display: none;
}

.jobs-page .summary-title {
    display: flex;
    flex-direction: column;
}

.jobs-page .job-meta {
    font-size: 0.9rem;
    color: #666;
    margin-top: 4px;
}

.jobs-page .arrow {
    transition: transform .3s ease;
    font-size: 1.4rem;
}

.jobs-page details[open] .arrow {
    transform: rotate(90deg);
}

/* CONTENT */
.jobs-page .job-content {
    padding: 20px;
    border-top: 1px solid #eee;
    animation: fadeIn .3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* APPLY BUTTON */
.jobs-page .apply-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 20px;
    background: #1a3d7c;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background .2s ease;
    cursor: pointer;
}

.jobs-page .apply-btn:hover {
    background: #0f2a55;
}

/* MODAL BACKDROP */
.jobs-page .jobs-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* MODAL BOX */
.jobs-page .jobs-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 550px;
    position: relative;
    animation: fadeIn .3s ease;
}

/* CLOSE BUTTON */
.jobs-page .jobs-modal-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
}

/* TITLE */
.jobs-page .jobs-modal-title {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 600;
}

/* FORM */
.jobs-page .jobs-apply-form label {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
}

.jobs-page .jobs-apply-form input,
.jobs-page .jobs-apply-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.jobs-page .jobs-apply-form button {
    width: 100%;
    margin-top: 10px;
}
