/* --- Opportunities Page Header --- */
.board-header { background: var(--dark-bg); color: white; padding: 6rem var(--side-padding) 4rem; text-align: center; }
.board-header h1 { color: white; margin-bottom: 1rem; font-size: 3.5rem; }
.board-header p { color: var(--light-blue); max-width: 800px; margin: 0 auto; font-size: 1.2rem; }

/* --- Layout --- */
.job-board-container { display: flex; gap: 4rem; padding: 5rem var(--side-padding); align-items: flex-start; width: 100%; }

/* --- Sticky Sidebar Filters --- */
.filters-sidebar { flex: 0 0 350px; position: sticky; top: 120px; }
.filter-box { background: white; padding: 2.5rem; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); margin-bottom: 2rem; border: 1px solid #eee; }
.filter-box h3 { margin-bottom: 1.5rem; font-size: 1.5rem; }
.filter-group { margin-bottom: 1.5rem; }
.filter-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: #555; }
.filter-group select { width: 100%; padding: 12px; border-radius: 8px; border: 1px solid #ccc; font-family: inherit; font-size: 1rem; background: var(--bg-gray); cursor: pointer; transition: border-color 0.2s; }
.filter-group select:focus { outline: none; border-color: var(--primary-blue); }

.warning-box { background: #fff4f4; border-left: 4px solid #d32f2f; padding: 1.5rem; border-radius: 8px; }
.warning-box i { color: #d32f2f; font-size: 1.5rem; margin-bottom: 0.5rem; }
.warning-box p { color: #d32f2f; font-size: 0.95rem; margin: 0; }

/* --- Main Job Listings --- */
.jobs-list { flex: 1; display: flex; flex-direction: column; gap: 2.5rem; }
.project-card { background: white; border-radius: 12px; padding: 3rem; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid #eee; transition: transform 0.2s, box-shadow 0.2s; animation: fadeIn 0.4s ease-out; }
.project-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.project-header { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid #eee; padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
.project-header h2 { font-size: 2rem; margin: 1rem 0 0.5rem 0; color: var(--dark-bg); }

/* --- Tags and Badges --- */
.tag-container { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tag-location { padding: 6px 14px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; background: #f3e5f5; color: #6a1b9a; }

/* New Dynamic Badge Colors for Generalist Types */
.badge-transcription { background: #e3f2fd; color: #1565c0; padding: 5px 15px; border-radius: 50px; font-weight: 800; font-size: 0.9rem; }
.badge-safety { background: #ffebee; color: #c62828; padding: 5px 15px; border-radius: 50px; font-weight: 800; font-size: 0.9rem; }
.badge-rewriting { background: #e8f5e9; color: #2e7d32; padding: 5px 15px; border-radius: 50px; font-weight: 800; font-size: 0.9rem; }

.project-compensation { text-align: right; }
.project-compensation .rate { font-size: 3rem; font-weight: 800; color: var(--primary-blue); display: block; line-height: 1; }
.project-compensation .per { color: #777; font-weight: 600; font-size: 1.1rem; }

/* --- Detailed Content --- */
.project-summary { font-size: 1.15rem; color: #444; max-width: 100%; line-height: 1.7; margin-bottom: 2rem; }

.reqs-container { background: #f9fbfd; padding: 1.5rem; border-radius: 8px; border-left: 4px solid var(--light-blue); margin-bottom: 2rem; }
.reqs-container strong { color: var(--dark-bg); font-size: 1.1rem; display: block; margin-bottom: 0.8rem; }
.reqs-list { list-style: none; margin: 0; padding: 0; }
.reqs-list li { margin-bottom: 0.5rem; color: #555; display: flex; align-items: flex-start; gap: 8px; font-size: 1.05rem; }
.reqs-list i { color: var(--primary-blue); margin-top: 5px; font-size: 0.9rem; }

.project-footer { display: flex; justify-content: flex-end; align-items: center; border-top: 1px solid #eee; padding-top: 1.5rem; }

.hidden-card { display: none !important; }