:root {
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    --primary: #22c55e;
    --primary-dark: #16a34a;
    --text-muted: #9ca3af;
}

/* LAYOUT */
.jobs-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    color: #fff;
    padding: 100px 0;
}

@media (max-width: 991px) {
    .jobs-layout {
        grid-template-columns: 1fr;
    }
}

/* SIDEBAR */
.jobs-sidebar {
    position: sticky;
    top: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    padding: 26px;
}

.sidebar-title {
    font-size: 1.15rem;
    margin-bottom: 24px;
}

.filter-block {
    margin-bottom: 24px;
}

.filter-block label {
    font-size: 0.8rem;
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.filter-block input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    outline: none;
}

.filter-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    cursor: pointer;
}

.filter-options input {
    accent-color: var(--primary);
}

.apply-filter-btn {
    width: 100%;
    padding: 14px;
    border: none;
    font-weight: 700;
    cursor: pointer;
      background: #f86139;
    color: #fff;
    transition: transform .2s ease;
}

.apply-filter-btn:hover {
    transform: translateY(-2px);
}

/* RESULTS */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.results-header h4 {
    font-size: 1.25rem;
}

.results-header span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.job-table {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* JOB CARD */
.job-row {
    display: grid;
    align-items: center;
    grid-template-columns: 2fr 3fr 1fr;
    gap: 20px;
    padding: 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(14px);
    transition: all 0.25s ease;
}

.job-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.14);
}

.job-main h5 {
    font-size: 1.1rem;
    margin: 0;
}

.job-main p {
    font-size: 0.85rem;
    margin-top: 6px;
    color: var(--text-muted);
}

/* TAGS */
.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.meta {
    font-size: 0.75rem;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.18);
}

.location {
    background: rgba(59, 130, 246, 0.25);
        padding: 5px;
    font-size: 12px;
      text-transform: capitalize;
}

.type {
    background: rgba(34, 197, 94, 0.25);
        padding: 5px;
    font-size: 12px;
    text-transform: capitalize;
}

.time {
    background: transparent;
    color: var(--text-muted);
    padding: 0;
        font-size: 12px;
          text-transform: capitalize;
}

/* ACTION */
.job-action {
    text-align: right;
}

.view-btn {
    display: inline-block;
    padding: 10px 22px;
    font-size: 0.8rem;
    font-weight: 700;
       background: #f86139;
   color: #fff;
    text-decoration: none;
    transition: transform .2s ease;
}

.view-btn:hover {
    transform: scale(1.05);
    color: #fff;
}

/* EMPTY STATE */
.no-jobs {
    display: none;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(14px);
    padding: 50px 20px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* MOBILE */
@media (max-width: 768px) {
    .job-row {
        grid-template-columns: 1fr;
    }

    .job-action {
        text-align: left;
        margin-top: 10px;
    }
}

/* popup design */
/* ===== APPLY MODAL ===== */

/* Overlay */
.apply-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

/* Open state */
.apply-modal:target {
    opacity: 1;
    pointer-events: all;
}

/* Modal Box */
.apply-modal-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    max-width: 420px;
    width: 100%;
    padding: 38px 34px;
    color: #fff;
    position: relative;
    text-align: center;
    animation: fadeUp 0.35s ease;
}

/* Close Button */
.close-modal {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 22px;
    text-decoration: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: #fff;
}

/* Title */
.modal-title {
    font-size: 1.4rem;
    margin-bottom: 14px;
    font-weight: 700;
}

/* Text */
.apply-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Email Button */
.email-link {
    display: inline-block;
    padding: 14px 26px;
    font-size: 0.9rem;
    font-weight: 700;
    background: #f86139;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.email-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(248, 97, 57, 0.4);
    color: #fff;
}

/* Note */
.note-text {
    margin-top: 18px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile */
@media (max-width: 480px) {
    .apply-modal-content {
        margin: 20px;
        padding: 30px 22px;
    }

    .modal-title {
        font-size: 1.25rem;
    }
}

/* Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile */
@media (max-width: 480px) {
    .apply-modal-content {
        margin: 20px;
        padding: 28px 22px;
    }
}
