/* Careers Job Board Module Styles */
.careers-job-board-module { min-height: 400px; padding: 60px 0; }

/* Header Styles */
.job-board-header { margin-bottom: 60px; }

.job-board-header .job-board-headline { font-size: 48px; font-weight: 700; margin-bottom: 20px; color: #1a1a1a; }

.job-board-header .job-board-subheadline { font-size: 18px; color: #666; margin-bottom: 0; }

/* Filter Layout */
.job-board-filter-layout { margin-top: 40px; }

/* Sidebar Filters */
.job-filters-sidebar { position: sticky; top: 100px; padding-right: 30px; }

/* Filter Group */
.filter-group { margin-bottom: 40px; }

.filter-heading,
.filter-label {font-size: 20px; font-weight: 600; font-family: "Inter", sans-serif; color: #1a1a1a; margin-bottom: 20px; }

/* Location Filter Dropdown */
.location-filter { width: 100%; padding: 12px 16px; border: 1px solid #d0d0d0; border-radius: 4px; font-size: 14px; color: #333; background-color: #fff; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px 12px; appearance: none; cursor: pointer; transition: border-color 0.2s ease; }

.location-filter:hover { border-color: #28a745; }

.location-filter:focus { border-color: #28a745; outline: none; box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1); }

/* Department Filter List */
.department-filter-list { list-style: none; padding: 0; margin: 0; }

.department-filter-list li { margin-bottom: 4px; }

.department-filter-item { display: block; padding: 10px 0; color: #333; text-decoration: none; font-size: 15px; line-height: 1.4; transition: color 0.2s ease,padding-left 0.2s ease; }

.department-filter-item:hover { color: #28a745; padding-left: 8px; }

.department-filter-item.active { color: #28a745; font-weight: 600; padding-left: 8px; position: relative; }

.department-filter-item.active::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 20px; background-color: #28a745; }

/* Filter CTA */
.filter-cta { margin-top: 40px; padding-top: 20px; border-top: 1px solid #e0e0e0; }
.filter-cta a {color: #28a645;}

.filter-cta p { font-size: 14px; color: #666; margin: 0; }

/* Job Listings Container */
.jobs-listing-container { padding-left: 30px; border-left: 1px solid #e0e0e0; }

/* Job Listing Item */
.job-listing-item { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; border-bottom: 1px solid #e0e0e0; transition: background-color 0.2s ease,padding 0.2s ease; }

.job-listing-item:hover { background-color: #f9f9f9; padding-left: 16px; padding-right: 16px; }

.job-listing-item:first-child { padding-top: 0; }

/* Job Listing Content */
.job-listing-content { flex: 1; padding-right: 20px; }

.job-listing-title { font-size: 20px; font-weight: 600; margin-bottom: 8px; line-height: 1.3; }

.job-listing-title a { color: #1a1a1a; text-decoration: none; transition: color 0.2s ease; }

.job-listing-title a:hover { color: #28a745; }

.job-listing-meta { font-size: 14px; color: #666; margin: 0; }

/* Job Listing Action */
.job-listing-action { flex-shrink: 0; }

/* .job-listing-action .btn { padding: 10px 24px; font-size: 14px; font-weight: 600; border-radius: 4px; text-decoration: none; transition: all 0.2s ease; white-space: nowrap; } */

/* .job-listing-action .btn-outline-secondary { color: #333; border: 1px solid #d0d0d0; background-color: #fff; } */

/* .job-listing-action .btn-outline-secondary:hover { color: #fff; background-color: #28a745; border-color: #28a745; } */

/* No Jobs Message */
.no-jobs-message { padding: 60px 20px; text-align: center; background-color: #f8f9fa; border-radius: 8px; margin: 40px 0; }

.no-jobs-message p { font-size: 16px; color: #6c757d; margin: 0; }

/* Error State */
.job-board-error { text-align: center; padding: 60px 20px; background-color: #f8d7da; border: 1px solid #f5c6cb; border-radius: 8px; color: #721c24; margin: 40px 0; }

.job-board-error p { margin: 0; font-size: 16px; }

/* Responsive Design */
@media (max-width: 991px) {
  .job-filters-sidebar { position: static; padding-right: 0; margin-bottom: 40px; padding-bottom: 30px; border-bottom: 2px solid #e0e0e0; }
  .jobs-listing-container { padding-left: 0; border-left: none; }
  .filter-group { margin-bottom: 30px; }
  .department-filter-list { display: flex; flex-wrap: wrap; gap: 10px; }
  .department-filter-list li { margin-bottom: 0; }
  .department-filter-item { padding: 8px 16px; background-color: #f5f5f5; border-radius: 20px; font-size: 14px; }
  .department-filter-item.active, .department-filter-item:hover { padding-left: 16px; background-color: #28a745; color: #fff; }
  .department-filter-item.active::before { display: none; }
}

@media (max-width: 768px) {
  .careers-job-board-module { padding: 40px 0; }
  .job-board-header { margin-bottom: 40px; }
  .job-board-header .job-board-headline { font-size: 36px; }
  .job-board-header .job-board-subheadline { font-size: 16px; }
  .job-listing-item { flex-direction: column; align-items: flex-start; padding: 20px 0; }
  .job-listing-content { padding-right: 0; margin-bottom: 16px; }
  .job-listing-title { font-size: 18px; }
  .job-listing-action { width: 100%; }
  .job-listing-action .btn { width: 100%; text-align: center; }
}

@media (max-width: 576px) {
  .job-board-header .job-board-headline { font-size: 28px; }
  .job-listing-title { font-size: 16px; }
  .job-listing-meta { font-size: 13px; }
  .location-filter { font-size: 13px; padding: 10px 14px; }
  .department-filter-item { font-size: 13px; padding: 6px 12px; }
}

/* Animation for entrance */
.job-listing-item { animation-duration: 0.4s; animation-fill-mode: both; }

.job-listing-item.animate-in { animation-name: slideInUp; }

@keyframes slideInUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Focus states for accessibility */
/* .department-filter-item:focus, .job-listing-action .btn:focus, .job-listing-title a:focus, .location-filter:focus { outline: 2px solid #28a745; outline-offset: 2px; } */

/* Print styles */
@media print {
  .job-filters-sidebar, .job-listing-action { display: none; }
  .jobs-listing-container { border-left: none; padding-left: 0; }
  .job-listing-item { border-bottom: 1px solid #000; page-break-inside: avoid; }
  .job-listing-title a { color: #000!important; text-decoration: underline; }
}
