/* LFW Student Job Map - Standalone Styles */
/* LFW Brand Colors */
:root {
    --lfw-green: #059669;        /* LFW Logo Dark Green */
    --lfw-green-dark: #047857;   /* Darker green for hover */
    --lfw-green-light: #d1fae5;  /* Light green for backgrounds */
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Single Row Header - Everything on One Level */
.header-single {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 0 10px 32px;
    max-width: none;
    width: 100%;
    gap: 40px;
    min-height: 180px;
}

.logo-section {
    flex-shrink: 0;
    margin-right: 20px;
}

.header-logo-big {
    height: 160px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.12));
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    color: #4b5563;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-link:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.nav-link.active {
    background: #f0fdf4;
    color: #2E7D32;
    font-weight: 600;
}

.header-controls-inline {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
    margin-right: 24px;
    height: 160px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    margin-right: 32px;
    height: 160px;
}

/* Language Toggle */
.language-toggle {
    display: flex;
    gap: 0;
    margin-right: 16px;
    background: #f1f5f9;
    border-radius: 20px;
    padding: 2px;
}

.lang-btn {
    padding: 12px 20px;
    border: none;
    background: transparent;
    border-radius: 18px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #64748b;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    color: #374151;
}

.lang-btn.active {
    background: white;
    color: #374151;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.back-link {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--lfw-green);
}

.site-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lfw-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #16a34a;
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin-left: 0.25rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.job-counter {
    color: #6b7280;
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
    padding: 8px 12px;
    background: rgba(107, 114, 128, 0.08);
    border-radius: 4px;
}

.clear-directions-btn {
    background: #dc2626;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-right: 0.5rem;
}

.clear-directions-btn:hover {
    background: #b91c1c;
}

.clear-directions-btn.hidden {
    display: none;
}

.download-btn {
    background: #16a34a;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 1px 2px rgba(22, 163, 74, 0.2);
}

.download-btn:hover {
    background: #15803d;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(22, 163, 74, 0.3);
}

/* Main Content */
.main-content {
    display: flex;
    height: 100vh;
    padding-top: 230px; /* Account for logo header + download row */
}

/* Map */
.map-container {
    flex: 1;
    position: relative;
    background: #e5e7eb;
}

/* Sidebar */
.sidebar {
    width: 320px;
    background: #fafbfc;
    border-left: 1px solid #e1e5e9;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar-header {
    padding: 12px 16px;
    border-bottom: 1px solid #e1e5e9;
    background: white;
}

/* Location Controls */
.location-controls {
    margin-bottom: 1rem;
}

.my-location-btn {
    width: 100%;
    padding: 0.75rem;
    background: var(--lfw-green);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.my-location-btn:hover {
    background: var(--lfw-green-dark);
}

.my-location-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

/* Search Controls */
.search-controls {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.job-search-input {
    flex: 2;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.min-pay-input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.sidebar-header h2 {
    margin-bottom: 1rem;
    color: #111827;
    font-size: 1.25rem;
    font-weight: 700;
}

.filters {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    background: white;
    color: #6b7280;
    border-radius: 0.375rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--lfw-green);
    color: white;
    border-color: var(--lfw-green);
}

/* Job List */
.job-list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.loading-jobs {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #6b7280;
}

.job-card {
    background: white;
    border: none;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.job-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
}

/* LinkedIn-style header */
.job-card-header-linkedin {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.employer-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.employer-photo-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #F0F0F0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
}

.job-card-header-info {
    flex: 1;
    min-width: 0;
}

.job-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 2px;
    line-height: 1.3;
}

.job-card-company {
    font-size: 13px;
    color: #666;
    font-weight: 500;
    margin-bottom: 2px;
}

.job-card-location {
    font-size: 12px;
    color: #888;
}

.click-to-view {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--lfw-green);
    font-weight: 500;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.job-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.4;
    flex: 1;
    margin-right: 0.5rem;
    margin-bottom: 8px;
}

.job-pay {
    font-size: 1.125rem;
    font-weight: 700;
    color: #059669;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #a7f3d0;
    box-shadow: 0 1px 2px rgba(5, 150, 105, 0.1);
    white-space: nowrap;
}

.job-company {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 4px;
}

.job-location-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
}

.job-location {
    font-size: 0.875rem;
    color: #6b7280;
    flex: 1;
}

.directions-options {
    display: flex;
    gap: 0.25rem;
}

.directions-btn {
    background: var(--lfw-green);
    color: white;
    border: none;
    padding: 0.25rem 0.4rem;
    border-radius: 0.375rem;
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    white-space: nowrap;
}

.directions-btn:hover {
    background: var(--lfw-green-dark);
    transform: translateY(-1px);
}

.directions-btn.transit {
    background: #059669;
}

.directions-btn.driving {
    background: #dc2626;
}

.directions-btn.driving:hover {
    background: #b91c1c;
}

.job-description-preview {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.4;
}

.job-applicants,
.location-job-applicants,
.job-details-applicants {
    font-size: 0.85rem;
    color: #2E7D32;
    font-weight: 600;
    margin-top: 0.5rem;
    padding: 0.25rem 0;
}

.job-details-applicants {
    font-size: 0.95rem;
    margin-top: 0.75rem;
    padding: 0.5rem 0;
}

.no-jobs {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
}

.show-all-btn {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: var(--lfw-green);
    color: white;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    font-weight: 500;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: #f8f9fa;
    border-radius: 1rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    padding: 0;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem 1.5rem 0 1.5rem;
    background: #f8f9fa;
    border-radius: 1rem 1rem 0 0;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-right: 1rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: #374151;
}

.modal-body {
    padding: 1.5rem;
}

.employer-info {
    margin-bottom: 1rem;
}

.company-name {
    display: block;
    font-weight: 600;
    color: var(--lfw-green);
    margin-bottom: 0.25rem;
}

.job-location {
    color: #6b7280;
    font-size: 0.875rem;
}

.job-pay {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: #16a34a;
    background: #f0fdf4;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.job-description {
    color: #374151;
    line-height: 1.6;
    white-space: pre-wrap;
}

.modal-footer {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 0 0 1rem 1rem;
}

.apply-btn {
    width: 100%;
    background: #16a34a;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.apply-btn:hover {
    background: #15803d;
}

/* External QR Job Detail Styles */
.job-details-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.job-details-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.job-details-company {
    font-size: 18px;
    font-weight: 500;
    color: #374151;
    margin: 0 0 12px 0;
}

.job-details-location {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #6b7280;
}

.job-details-pay {
    font-size: 20px;
    font-weight: 700;
    color: var(--lfw-green);
    background: var(--lfw-green-light);
    padding: 8px 16px;
    border-radius: 12px;
    display: inline-block;
}

.job-description-section,
.job-requirements-section,
.job-responsibilities-section,
.job-language-requirements-section,
.job-info-section {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin: 0 20px 16px 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.job-description-section h3,
.job-requirements-section h3,
.job-responsibilities-section h3,
.job-language-requirements-section h3,
.job-info-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}

.job-description-full {
    font-size: 16px;
    line-height: 1.6;
    color: #374151;
    white-space: pre-wrap;
}

.requirements-list,
.responsibilities-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-item,
.responsibility-item {
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 15px;
    color: #374151;
    position: relative;
    padding-left: 20px;
}

.requirement-item:before,
.responsibility-item:before {
    content: "•";
    color: var(--lfw-green);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.requirement-item:last-child,
.responsibility-item:last-child {
    border-bottom: none;
}

.apply-now-main {
    width: 100%;
    background: var(--lfw-green);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.apply-now-main:hover {
    background: var(--lfw-green-dark);
}

/* Job Info Stats */
.job-info-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.info-stat {
    text-align: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-value {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hours-section {
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.language-requirement {
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.language-requirement:last-child {
    border-bottom: none;
}

/* More Information Section */
.more-info-section {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin: 0 20px 16px 20px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.more-info-btn {
    background: var(--lfw-green);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.more-info-btn:hover {
    background: var(--lfw-green-dark);
    transform: translateY(-1px);
}

/* Location Jobs Section */
.location-jobs-section {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin: 0 20px 16px 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.location-jobs-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 16px 0;
}

.location-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.location-job-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #e5e7eb;
}

.location-job-card:hover {
    background: white;
    border-color: var(--lfw-green);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.1);
}

.location-job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.location-job-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.location-job-pay {
    font-size: 14px;
    font-weight: 600;
    color: var(--lfw-green);
    background: var(--lfw-green-light);
    padding: 4px 8px;
    border-radius: 6px;
}

.location-job-preview {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.4;
    margin-bottom: 8px;
}

.location-job-action {
    font-size: 14px;
    color: var(--lfw-green);
    font-weight: 500;
}

/* Work Schedule Styles */
.work-schedule-section {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.work-schedule-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
}

.schedule-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.day-name {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.day-time {
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
}

.schedule-info {
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    color: #6b7280;
    font-style: italic;
    text-align: center;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.loading-content {
    text-align: center;
    color: #6b7280;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 2px solid #e5e7eb;
    border-top: 2px solid var(--lfw-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.spinner.large {
    width: 40px;
    height: 40px;
    border-width: 3px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.retry-btn {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: var(--lfw-green);
    color: white;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    font-weight: 500;
}

/* Directions Toast */
.directions-toast {
    position: fixed;
    top: 90px;
    right: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 2500;
    max-width: 300px;
    animation: slideInRight 0.3s ease-out;
}

.toast-content {
    padding: 16px;
    position: relative;
}

.toast-content h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.toast-content p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.toast-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 18px;
    color: #6b7280;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-close:hover {
    color: #374151;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile/Tablet Responsive - COMPACT HEADER (matches mobile layout breakpoint) */
@media (max-width: 1024px) {
    /* Compact single-row header */
    .header-single {
        padding: 8px 12px;
        flex-direction: row;
        gap: 8px;
        align-items: center;
        min-height: auto;
    }

    .logo-section {
        margin-right: 0;
    }

    /* Small logo on mobile */
    .header-logo-big {
        height: 40px;
    }

    /* HIDE navigation on mobile - they're already on the map page */
    .main-nav {
        display: none;
    }

    /* Compact controls */
    .header-controls-inline {
        gap: 8px;
        margin-left: auto;
        margin-right: 8px;
        height: auto;
        flex-wrap: nowrap;
    }

    /* Smaller view toggle buttons */
    .view-toggle {
        gap: 2px;
    }

    .view-btn {
        padding: 6px 10px;
        font-size: 12px;
    }

    /* Hide job counter on mobile */
    .job-counter {
        display: none;
    }

    /* Compact filter button */
    .filter-btn-header {
        padding: 6px 10px;
        font-size: 12px;
    }

    /* Hide download button and clear directions on mobile header */
    .download-btn,
    .clear-directions-btn {
        display: none !important;
    }

    /* Compact language toggle */
    .header-actions {
        margin-right: 0;
        gap: 4px;
    }

    .language-toggle {
        margin-right: 0;
    }

    .lang-btn {
        padding: 6px 10px;
        font-size: 12px;
    }

    /* Main content starts below compact header (~60px) */
    .main-content {
        flex-direction: column;
        padding-top: 60px;
    }

    .map-container {
        height: 50vh;
    }

    .sidebar {
        width: 100%;
        height: 50vh;
        border-left: none;
        border-top: 1px solid #e5e7eb;
    }

    .sidebar-header {
        padding: 1rem;
    }

    .job-list {
        padding: 0.75rem;
    }

    .job-card {
        padding: 0.75rem;
    }

    .modal {
        align-items: flex-end;
    }

    .modal-content {
        border-radius: 0.5rem 0.5rem 0 0;
        max-height: 90vh;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0.5rem 0.75rem;
    }
    
    .lfw-logo {
        font-size: 1.25rem;
    }
    
    .back-link {
        font-size: 0.875rem;
    }
    
    .job-counter {
        display: none;
    }
    
    .download-btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .main-content {
        padding-top: 60px;
    }
    
    .map-container {
        height: 45vh;
    }
    
    .sidebar {
        height: 55vh;
    }
}/* ===================================
   LANGUAGE TOGGLE - BIGGER BUTTONS
   =================================== */

.language-toggle {
    display: flex;
    gap: 4px;
    background: #f3f4f6;
    padding: 4px;
    border-radius: 12px;
    margin-right: 16px;
}

.lang-btn {
    padding: 10px 20px; /* Increased from 6px 12px */
    font-size: 16px; /* Increased from 14px */
    font-weight: 600;
    border: none;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    min-width: 60px; /* Ensure buttons are wide enough */
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    color: #374151;
}

.lang-btn.active {
    background: white;
    color: #2E7D32;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* ===================================
   MAP/LIST VIEW TOGGLE
   =================================== */

.view-toggle {
    display: flex;
    gap: 2px;
    background: #f8f9fa;
    padding: 2px;
    border-radius: 6px;
    margin-right: 12px;
}

.view-btn {
    padding: 10px 18px;
    font-size: 18px;
    font-weight: 500;
    border: none;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.view-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    color: #374151;
}

.view-btn.active {
    background: white;
    color: #2E7D32;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* ===================================
   MAP CONTAINER STATES
   =================================== */

/* Map view (default) */
.map-container {
    flex: 1;
    position: relative;
    transition: all 0.3s ease;
}

/* List-only view */
.list-view .map-container {
    display: none;
}

.list-view .sidebar {
    width: 100%;
    max-width: none;
    height: calc(100vh - 80px);
}

.list-view .job-list {
    max-height: none;
    height: calc(100% - 180px);
}

/* Hide transit/car buttons in list view */
.list-view .directions-options {
    display: none;
}

/* Hide My Location in list view */
.list-view .map-only {
    display: none !important;
}

/* ===================================
   CLEAN SIDEBAR LAYOUT
   =================================== */

.sidebar-header {
    padding: 20px;
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.sidebar-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

/* ===================================
   CLEAN FILTER SYSTEM
   =================================== */

.filters-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.filter-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    min-width: 65px;
    text-align: right;
}

.sort-select,
.date-select,
.job-search-input {
    flex: 1;
    padding: 10px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    color: #1f2937;
    font-weight: 500;
}

.sort-select,
.date-select {
    cursor: pointer;
}

.sort-select:focus,
.date-select:focus,
.job-search-input:focus,
.pay-input:focus {
    outline: none;
    border-color: #2E7D32;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.pay-range-inputs {
    display: flex;
    gap: 8px;
    flex: 1;
}

.pay-input {
    flex: 1;
    padding: 10px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

/* Remove old filter buttons */
.filters {
    display: none;
}

/* Remove old search controls */
.search-controls {
    display: none;
}

/* ===================================
   JOB LIST IMPROVEMENTS
   =================================== */

.job-list {
    padding: 16px;
    overflow-y: auto;
}

/* ===================================
   CLEAN FILTER SYSTEM
   =================================== */

.filters-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0;
}

.filter-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.filter-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    min-width: 80px;
}

.sort-select,
.date-select {
    flex: 1;
    padding: 8px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    color: #1f2937;
    font-weight: 500;
    cursor: pointer;
}

.sort-select:focus,
.date-select:focus {
    outline: none;
    border-color: #2E7D32;
}

.pay-range-inputs {
    display: flex;
    gap: 8px;
    flex: 1;
}

.pay-input {
    flex: 1;
    padding: 8px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
}

.pay-input:focus {
    outline: none;
    border-color: #2E7D32;
}

/* ===================================
   ENHANCED JOB CARDS
   =================================== */

.job-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s;
    cursor: pointer;
    border: 2px solid transparent;
}

.job-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-color: #2E7D32;
    transform: translateY(-2px);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 12px;
}

.job-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    flex: 1;
}

.job-pay {
    font-size: 18px;
    font-weight: 700;
    color: #2E7D32;
    background: #f0fdf4;
    padding: 6px 14px;
    border-radius: 8px;
    white-space: nowrap;
}

.job-company {
    font-size: 16px;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 8px;
}

.job-location {
    font-size: 14px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.job-location::before {
    content: "📍";
}

.directions-options {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.directions-btn {
    padding: 8px 14px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.directions-btn:hover {
    background: #f9fafb;
    border-color: #2E7D32;
    transform: scale(1.05);
}

.directions-btn.transit {
    color: #1d4ed8;
}

.directions-btn.driving {
    color: #7c3aed;
}

.job-description-preview {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 12px 0;
}

.click-to-view {
    font-size: 13px;
    color: #2E7D32;
    font-weight: 600;
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {
    .header-actions {
        flex-wrap: wrap;
        gap: 8px;
    }

    .view-toggle,
    .language-toggle {
        margin-right: 0;
    }

    .lang-btn {
        padding: 8px 16px;
        font-size: 14px;
        min-width: 50px;
    }

    .view-btn {
        padding: 8px 12px;
        font-size: 14px;
    }

    .job-title {
        font-size: 18px;
    }

    .job-pay {
        font-size: 16px;
        padding: 4px 10px;
    }
}

/* ===================================
   FILTERS ENHANCEMENT
   =================================== */

.filters {
    display: flex;
    gap: 8px;
    margin: 16px 0;
}

.filter-btn {
    padding: 10px 18px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
}

.filter-btn:hover {
    border-color: #2E7D32;
    color: #2E7D32;
}

.filter-btn.active {
    background: #2E7D32;
    color: white;
    border-color: #2E7D32;
}

/* ===================================
   SEARCH CONTROLS
   =================================== */

.search-controls {
    display: flex;
    gap: 8px;
    margin: 16px 0;
}

.job-search-input,
.min-pay-input {
    padding: 10px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.2s;
}

.job-search-input {
    flex: 1;
}

.min-pay-input {
    width: 100px;
}

.job-search-input:focus,
.min-pay-input:focus {
    outline: none;
    border-color: #2E7D32;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

/* ===================================
   LOADING STATES
   =================================== */

.loading-jobs {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #6b7280;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f4f6;
    border-top-color: #2E7D32;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===================================
   NO JOBS STATE
   =================================== */

.no-jobs {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.no-jobs p {
    font-size: 16px;
    margin: 8px 0;
}

.no-jobs p:first-child {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
}

/* ===================================
   CRITICAL FIXES - SIDEBAR LAYOUT
   =================================== */

.main-content {
    display: flex !important;
    height: calc(100vh - 80px) !important;
    margin-top: 80px !important;
}

.sidebar {
    width: 420px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

.sidebar-header {
    flex-shrink: 0 !important;
}

.job-list {
    flex: 1 !important;
    overflow-y: auto !important;
}

/* ===================================
   COLORFUL JOB CARDS - OVERRIDE
   =================================== */

.job-list {
    background: #f9fafb !important;
}

.job-card {
    background: white !important;
    border-radius: 10px !important;
    padding: 16px !important;
    margin-bottom: 12px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
    border-left: 4px solid transparent !important;
    transition: all 0.2s !important;
}

.job-card:hover {
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.15) !important;
    border-left-color: #2E7D32 !important;
    transform: translateX(2px) !important;
}

.job-pay {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%) !important;
    border: 1px solid #bbf7d0 !important;
    color: #2E7D32 !important;
}

.sidebar-header {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%) !important;
}

.job-company::before {
    content: "🏢" !important;
}

.job-location::before {
    content: "📍" !important;
}

.click-to-view {
    color: #2E7D32 !important;
}

.job-card:hover .click-to-view {
    gap: 8px !important;
}
/* ===========================================
   MINIMAL FIX - JUST CENTERING + COLORS
   =========================================== */

/* CENTER LIST VIEW */
.list-view .main-content {
    background: #f9fafb !important;
}

.list-view .sidebar {
    width: 50% !important;
    max-width: 850px !important;
    margin: 0 auto !important;
}

/* GREEN BAR ALWAYS VISIBLE */
.job-card {
    border-left: 4px solid #2E7D32 !important;
}

/* BLACK BORDER ON FILTER */
.list-view .sidebar-header {
    border: 2px solid #1f2937 !important;
}

/* ===============================================================
   ADD THESE LINES TO THE END OF YOUR ORIGINAL map.css FILE
   =============================================================== */

/* ============ LIST VIEW FIXES ============ */

/* Center the list view */
.list-view .main-content {
    background: #f9fafb !important;
    padding: 20px !important;
}

.list-view .sidebar {
    width: 50% !important;
    max-width: 850px !important;
    margin: 0 auto !important;
    border-left: none !important;
}

/* Hide map in list view */
.list-view .map-container {
    display: none !important;
}

/* Hide transit buttons in list view */
.list-view .directions-options {
    display: none !important;
}

/* Hide My Location in list view */
.list-view .map-only {
    display: none !important;
}

/* Black border on filter box */
.list-view .sidebar-header {
    background: white !important;
    border: 2px solid #1f2937 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    border-radius: 12px !important;
    margin-bottom: 12px !important;
    padding: 12px !important;
}

/* Green bar on job cards - ALWAYS visible */
.job-card {
    border-left: 4px solid #2E7D32 !important;
}

.job-card:hover {
    border-left-color: #059669 !important;
    transform: translateX(4px) !important;
}

/* Green pay badge */
.job-pay {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%) !important;
    border: 1px solid #bbf7d0 !important;
    color: #2E7D32 !important;
}

/* Remove business icon */
.job-company::before {
    content: "" !important;
}

/* Green click text */
.click-to-view {
    color: #2E7D32 !important;
}

/* ============ MAP VIEW FIXES ============ */

/* Wider sidebar - no overflow */
.sidebar {
    width: 480px !important;
    overflow: hidden !important;
}

.job-list {
    overflow-y: auto !important;
    background: #f9fafb !important;
}

/* Fix text overflow in map view */
.job-title,
.job-company,
.job-location {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* Black text for transit buttons */
.directions-btn {
    color: #1f2937 !important;
}

.directions-btn.transit {
    color: #1f2937 !important;
}

.directions-btn.driving {
    color: #1f2937 !important;
}

/* ============ BOTH VIEWS ============ */

/* Gray background for job list */
.job-list {
    background: #f9fafb !important;
}

/* Light green header */
.sidebar-header {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%) !important;
}

/* ============ FILTER TOGGLE BUTTON (LIST VIEW) ============ */

#filter-toggle-btn {
    width: 100%;
    padding: 8px 12px;
    background: #2E7D32;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 8px;
    transition: all 0.2s;
}

#filter-toggle-btn:hover {
    background: #1b5e20;
    transform: scale(1.02);
}

.filter-content {
    display: block;
}

/* Compact filter spacing */
.list-view .sidebar-header h2 {
    font-size: 16px !important;
    margin-bottom: 8px !important;
}

.list-view .filters {
    gap: 6px !important;
    margin: 8px 0 !important;
}

.list-view .filter-btn {
    padding: 6px 12px !important;
    font-size: 13px !important;
}

.list-view .search-controls {
    gap: 6px !important;
    margin: 8px 0 !important;
}

.list-view .job-search-input,
.list-view .min-pay-input {
    padding: 6px 10px !important;
    font-size: 13px !important;
}

/* Job Card Rating */
.job-card-rating {
    font-size: 13px;
    color: #666;
    margin: 4px 0;
    font-weight: 500;
}

/* Company Info Section */
.company-info-section {
    margin: 12px 0 16px 0;
}

.job-details-company {
    font-size: 18px;
    font-weight: 600;
    color: #2E7D32;
    margin: 0 0 8px 0;
}

/* Modal Employer Rating Display */
.employer-rating-modal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFF8E1;
    padding: 8px 12px;
    border-radius: 8px;
    width: fit-content;
    margin: 0;
}

.employer-rating-modal .star-icon {
    font-size: 18px;
    line-height: 1;
}

.employer-rating-modal .rating-score {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.employer-rating-modal .rating-count {
    font-size: 14px;
    color: #666;
}

/* ===================================
   FIGMA FILTER MODAL
   =================================== */

/* Filter Button in Header */
.filter-btn-header {
    padding: 12px 20px;
    background: #2E7D32;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.filter-btn-header:hover {
    background: #1b5e20;
    transform: translateY(-1px);
}

/* Modal Overlay */
.filter-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 20px;
}

.filter-modal-overlay.hidden {
    display: none;
}

/* Modal Container */
.filter-modal {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

/* Modal Header */
.filter-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    background: #fafbfc;
}

.filter-modal-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.filter-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: #6b7280;
}

.filter-modal-close:hover {
    background: #e5e7eb;
    color: #1f2937;
}

/* Modal Body */
.filter-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

/* Filter Sections */
.filter-section {
    margin-bottom: 24px;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-section-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
}

/* Text & Number Inputs */
.filter-modal-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s;
}

.filter-modal-input:focus {
    outline: none;
    border-color: #2E7D32;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.filter-modal-input::placeholder {
    color: #9ca3af;
}

/* Two-column inputs (salary, hours) */
.filter-row-inputs {
    display: flex;
    gap: 12px;
}

.filter-row-inputs .filter-modal-input {
    flex: 1;
}

/* Select dropdown */
.filter-modal-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-modal-select:focus {
    outline: none;
    border-color: #2E7D32;
}

/* Checkbox Chips (Days) */
.filter-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #f3f4f6;
    border: 2px solid transparent;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-chip:hover {
    background: #e5e7eb;
}

.filter-chip input[type="checkbox"] {
    display: none;
}

.filter-chip:has(input:checked) {
    background: #f0fdf4;
    border-color: #2E7D32;
    color: #2E7D32;
}

/* Language Chips */
.filter-langs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-lang-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #f3f4f6;
    border: 2px solid transparent;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-lang-chip:hover {
    background: #e5e7eb;
}

.filter-lang-chip input[type="checkbox"] {
    display: none;
}

.filter-lang-chip:has(input:checked) {
    background: #f0fdf4;
    border-color: #2E7D32;
    color: #2E7D32;
}

/* Modal Footer */
.filter-modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid #e5e7eb;
    background: #fafbfc;
}

.filter-reset-btn {
    flex: 1;
    padding: 14px 20px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-reset-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.filter-apply-btn {
    flex: 1;
    padding: 14px 20px;
    background: #2E7D32;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-apply-btn:hover {
    background: #1b5e20;
}

/* Mobile/Tablet Responsive for Filter Modal */
@media (max-width: 1024px) {
    .filter-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .filter-modal {
        max-width: none;
        border-radius: 20px 20px 0 0;
        max-height: 90vh;
    }

    .filter-modal-header {
        padding: 16px 20px;
    }

    .filter-modal-body {
        padding: 20px;
    }

    .filter-chip,
    .filter-lang-chip {
        padding: 6px 12px;
        font-size: 13px;
    }

    .filter-modal-footer {
        padding: 16px 20px;
    }
}

/* ============================================
   MOBILE LAYOUT - FIGMA DESIGN
   Applies to phones AND tablets (max-width: 1024px)
   ============================================ */

/* Hide mobile elements on desktop */
.mobile-header,
.mobile-nav-overlay,
.mobile-bottom-bar,
.mobile-bottom-sheet {
    display: none;
}

/* Hide desktop elements on mobile/tablet */
@media (max-width: 1024px) {
    .desktop-header,
    .desktop-sidebar {
        display: none !important;
    }

    .mobile-header {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: white;
        z-index: 1000;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .mobile-header-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        border-bottom: 1px solid #e5e7eb;
    }

    .mobile-logo img {
        height: 40px;
        width: auto;
    }

    .mobile-header-right {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .mobile-header-right .language-toggle {
        margin-right: 0;
    }

    .mobile-header-right .lang-btn {
        padding: 8px 12px;
        font-size: 14px;
    }

    /* Hamburger Button */
    .hamburger-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .hamburger-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background: #374151;
        border-radius: 1px;
    }

    /* Mobile View Bar (Carte/Liste tabs) */
    .mobile-view-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 16px;
        background: #f8f9fa;
    }

    .mobile-view-bar .view-toggle {
        display: flex;
        gap: 4px;
        background: white;
        padding: 4px;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .mobile-view-bar .view-btn {
        padding: 8px 16px;
        font-size: 14px;
        border: none;
        background: transparent;
        border-radius: 6px;
        cursor: pointer;
        color: #6b7280;
    }

    .mobile-view-bar .view-btn.active {
        background: #f0fdf4;
        color: var(--lfw-green);
        font-weight: 600;
    }

    .mobile-job-count {
        font-size: 14px;
        color: #374151;
    }

    .mobile-job-count span:first-child {
        font-weight: 700;
        color: var(--lfw-green);
    }

    /* Mobile Navigation Overlay */
    .mobile-nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        z-index: 2000;
        display: flex;
        flex-direction: column;
    }

    .mobile-nav-overlay.hidden {
        display: none;
    }

    .mobile-nav-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        border-bottom: 1px solid #e5e7eb;
    }

    .close-nav-btn {
        font-size: 32px;
        background: none;
        border: none;
        color: #374151;
        cursor: pointer;
        line-height: 1;
    }

    .mobile-nav-menu {
        display: flex;
        flex-direction: column;
        padding: 16px;
    }

    .mobile-nav-link {
        padding: 16px;
        font-size: 18px;
        color: #374151;
        text-decoration: none;
        border-radius: 8px;
    }

    .mobile-nav-link:hover,
    .mobile-nav-link.active {
        background: #f0fdf4;
        color: var(--lfw-green);
    }

    .mobile-nav-link.active {
        font-weight: 600;
    }

    /* Main Content - Full screen map */
    .main-content {
        padding-top: 110px; /* Mobile header height */
        height: 100vh;
        position: relative;
    }

    .map-container {
        position: absolute;
        top: 110px;
        left: 0;
        right: 0;
        bottom: 0;
        height: auto !important;
    }

    /* Floating Bottom Bar */
    .mobile-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%);
        background: white;
        border-radius: 50px;
        padding: 8px;
        gap: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        z-index: 900;
    }

    .bottom-bar-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 12px 16px;
        border: none;
        border-radius: 50px;
        font-size: 16px;
        cursor: pointer;
        background: #f3f4f6;
        color: #374151;
        transition: all 0.2s;
    }

    .bottom-bar-btn:hover {
        background: #e5e7eb;
    }

    .bottom-bar-btn.location-btn {
        background: white;
        border: 2px solid #e5e7eb;
    }

    .bottom-bar-btn.filter-btn {
        background: var(--lfw-green);
        color: white;
    }

    .bottom-bar-btn.jobs-btn {
        background: var(--lfw-green);
        color: white;
        font-weight: 600;
    }

    .bottom-bar-btn.jobs-btn span {
        background: white;
        color: var(--lfw-green);
        padding: 2px 8px;
        border-radius: 12px;
        font-size: 14px;
    }

    /* Mobile Bottom Sheet (Job List) */
    .mobile-bottom-sheet {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        border-radius: 24px 24px 0 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
        z-index: 1100;
        max-height: 70vh;
        display: flex;
        flex-direction: column;
        transform: translateY(0);
        transition: transform 0.3s ease;
    }

    .mobile-bottom-sheet.hidden {
        transform: translateY(100%);
        display: flex; /* Keep display flex for animation */
    }

    .bottom-sheet-header {
        padding: 12px 20px 16px;
        border-bottom: 1px solid #e5e7eb;
    }

    .bottom-sheet-handle {
        width: 40px;
        height: 4px;
        background: #d1d5db;
        border-radius: 2px;
        margin: 0 auto 12px;
    }

    .bottom-sheet-title-row {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .bottom-sheet-icon {
        font-size: 24px;
    }

    .bottom-sheet-title {
        flex: 1;
    }

    .bottom-sheet-title h2 {
        font-size: 18px;
        font-weight: 700;
        color: #111827;
        margin: 0;
    }

    .bottom-sheet-count {
        font-size: 14px;
        color: #6b7280;
    }

    .close-sheet-btn {
        font-size: 28px;
        background: none;
        border: none;
        color: #9ca3af;
        cursor: pointer;
        line-height: 1;
    }

    .bottom-sheet-content {
        flex: 1;
        overflow-y: auto;
        padding: 16px;
    }

    /* Hide bottom bar when sheet is open */
    body.sheet-open .mobile-bottom-bar {
        display: none;
    }
}

/* Filter Days Grid - 2 columns like Figma */
/* Schedule Presets */
.filter-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}

.preset-btn {
    padding: 8px 16px;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.preset-btn:hover {
    border-color: #2E7D32;
    color: #2E7D32;
}

.preset-btn.active {
    background: #f0fdf4;
    border-color: #2E7D32;
    color: #2E7D32;
}

.filter-days-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.filter-day-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
}

.filter-day-chip:hover {
    background: #f3f4f6;
}

.filter-day-chip input:checked + span {
    color: var(--lfw-green);
    font-weight: 600;
}

/* ===================================
   MODAL LINKEDIN-STYLE HEADER
   =================================== */

.modal-header-linkedin {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.modal-employer-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.modal-employer-photo-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #F0F0F0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 28px;
}

.modal-header-info {
    flex: 1;
    min-width: 0;
}

.modal-header-info .job-details-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.modal-header-info .job-details-company {
    font-size: 16px;
    font-weight: 500;
    color: #374151;
    margin: 0;
}

/* ===================================
   DOWNLOAD BUTTONS IN HEADER
   =================================== */

.download-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.download-btn.ios-btn {
    background: #000;
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.download-btn.ios-btn:hover {
    background: #333;
    transform: translateY(-1px);
}

.download-btn.android-coming-soon {
    background: #e5e7eb;
    color: #9ca3af;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: default;
}

/* ===================================
   HEADER DOWNLOAD ROW (below nav)
   =================================== */

.header-download-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px 16px;
    background: linear-gradient(to bottom, #f0fdf4, white);
    border-top: 1px solid #e5e7eb;
}

.header-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.header-download-btn.ios {
    background: #000;
    color: white;
}

.header-download-btn.ios:hover {
    background: #333;
    transform: translateY(-1px);
}

.header-download-btn.android {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: default;
}

@media (max-width: 1024px) {
    .header-download-row {
        display: none;
    }
}

/* Mobile download section in nav menu */
.mobile-download-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.mobile-download-btn {
    display: block;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.mobile-download-btn.ios {
    background: #000;
    color: white;
}

.mobile-download-btn.android {
    background: #f3f4f6;
    color: #9ca3af;
}