/* ========== JOBS PAGE SPECIFIC STYLES ========== */

/* Hero Section */
.jobs-hero {
    min-height: 60vh;
    padding: 130px 5% 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.jobs-hero-glow {
    position: absolute;
    top: -100px;
    right: -200px;
    width: 600px;
    height: 600px;
    pointer-events: none;
    background: conic-gradient(from 210deg at 55% 45%, transparent 0deg, rgba(198, 241, 53, 0.06) 80deg, rgba(0, 255, 209, 0.04) 160deg, transparent 240deg);
}

.jobs-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.jobs-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2rem;
}

.jobs-breadcrumb a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.jobs-breadcrumb a:hover {
    color: var(--lime);
}

.jobs-breadcrumb span {
    color: var(--lime);
}

.jobs-hero-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 1.2rem;
    animation: jobsUp 0.6s ease both;
}

.jobs-hero-title em {
    font-style: normal;
    color: var(--lime);
}

.jobs-hero-sub {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text);
    max-width: 540px;
    animation: jobsUp 0.6s 0.1s ease both;
}

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

/* Ticker */
.jobs-ticker {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg2);
    padding: 12px 0;
}

.jobs-ticker-inner {
    display: inline-block;
    white-space: nowrap;
    animation: jobsTick 28s linear infinite;
}

.jobs-ticker-inner span {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0 1.8rem;
}

.jobs-ticker-highlight {
    color: var(--lime) !important;
}

@keyframes jobsTick {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Filters Bar */
.jobs-filters-bar {
    padding: 2.5rem 5% 0;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    align-items: center;
}

.jobs-filter-btn {
    font-family: 'Space Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 3px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s;
}

.jobs-filter-btn:hover {
    border-color: var(--lime);
    color: var(--lime);
}

.jobs-filter-btn.active {
    background: var(--lime);
    color: #000;
    border-color: var(--lime);
}

.jobs-filter-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-right: 0.3rem;
}

/* Jobs Section */
.jobs-section {
    padding: 2.5rem 5% 90px;
}

.jobs-count {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.jobs-count span {
    color: var(--lime);
}

/* Job Cards */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}

.job-card {
    background: var(--bg2);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    transition: background 0.2s;
    border-bottom: 1px solid var(--border);
}

.job-card:last-child {
    border-bottom: none;
}

.job-card:hover {
    background: var(--bg3);
}

.job-left {
    flex: 1;
}

.job-type-badge {
    font-family: 'Space Mono', monospace;
    font-size: 0.55rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 0.5rem;
}

.job-type-badge.domestic {
    color: var(--cyan);
}

.job-type-badge.international {
    color: var(--lime);
}

.job-type-badge::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    animation: jobsBlink 2s infinite;
}

@keyframes jobsBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.job-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.4rem;
}

.job-meta {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 0.6rem;
}

.job-meta-item {
    font-size: 0.78rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.job-meta-item i {
    font-size: 0.7rem;
    color: var(--muted);
}

.job-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.job-tag {
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 2px 8px;
    border-radius: 2px;
}

.job-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.8rem;
    flex-shrink: 0;
}

.job-apply-btn {
    background: var(--lime);
    color: #000;
    padding: 10px 24px;
    border-radius: 5px;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.job-apply-btn:hover {
    background: var(--cyan);
    transform: translateY(-2px);
}

.job-date {
    font-family: 'Space Mono', monospace;
    font-size: 0.58rem;
    letter-spacing: 1px;
    color: var(--muted);
    text-align: right;
}

/* Job Actions */
.job-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn-view-details {
    background: transparent;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-view-details:hover {
    background: var(--cyan);
    color: #000;
}

.btn-share-job {
    background: transparent;
    border: 1px solid var(--lime);
    color: var(--lime);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-share-job:hover {
    background: var(--lime);
    color: #000;
}

/* Empty State */
.no-jobs {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 4rem;
    text-align: center;
}

.no-jobs-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1.2rem;
}

.no-jobs h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.6rem;
}

.no-jobs p {
    font-size: 0.88rem;
    color: var(--muted);
    max-width: 400px;
    margin: 0 auto 1.5rem;
}

.btn-outline-lime {
    border: 1px solid rgba(198, 241, 53, 0.3);
    color: var(--lime);
    padding: 10px 22px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-lime:hover {
    background: var(--lime);
    color: #000;
}

/* Apply Modal Styles */
.modal-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lime);
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.file-upload-area {
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg2);
}

.file-upload-area:hover {
    border-color: var(--cyan);
    background: rgba(0, 255, 209, 0.05);
}

.upload-progress {
    height: 4px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}

.upload-progress-bar {
    height: 100%;
    background: var(--cyan);
    width: 0%;
    transition: width 0.3s;
}

.file-info {
    margin-top: 10px;
    font-size: 0.8rem;
}

.file-info.success {
    color: #28a745;
}

.sub-btn {
    width: 100%;
    padding: 14px;
    background: var(--lime);
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
}

.sub-btn:hover {
    background: var(--cyan);
    transform: translateY(-2px);
}

.modal-success {
    text-align: center;
    padding: 20px;
}

.modal-success i {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 15px;
}

.modal-success h3 {
    color: var(--lime);
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .job-card {
        flex-direction: column;
        align-items: stretch;
    }
    
    .job-right {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .job-actions {
        justify-content: flex-start;
    }
    
    .job-apply-btn {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .job-right {
        flex-direction: column;
        align-items: stretch;
    }
    
    .job-actions {
        justify-content: stretch;
    }
    
    .btn-view-details,
    .btn-share-job,
    .job-apply-btn {
        width: 100%;
        text-align: center;
    }
}