 :root {
            --nist-blue: #2d4697;
            --nist-orange: #df9d00;
            --nist-dark-blue: #003c71;
            --nist-light-blue: #e6f2ff;
            --nist-gray: #f8f9fa;
            --nist-yellow: #FFD200;
        }
    body {
      background-color: var(--nist-light);
      font-family: "Segoe UI", sans-serif;
      line-height: 1.6;
    }

    /* Header Navbar */
    .navbar {
      background-color: var(--nist-blue);
      padding: 1rem 0;
    }

    .navbar-brand img {
      height: 40px;
    }

    .navbar-nav .nav-link {
      color: #fff !important;
      font-weight: 500;
      margin-right: 1rem;
      transition: opacity 0.3s ease;
    }

    .navbar-nav .nav-link:hover {
      opacity: 0.8;
    }

    .navbar .btn-signin {
      background-color: #fff;
      color: var(--nist-blue);
      font-weight: 600;
      border-radius: 6px;
      padding: 8px 20px;
      transition: all 0.3s ease;
    }

    .navbar .btn-signin:hover {
      background-color: #f8f9fa;
      transform: translateY(-1px);
    }

    /* Mobile Navbar */
    @media (max-width: 991.98px) {
      .navbar-collapse {
        margin-top: 1rem;
      }
      
      .navbar-nav {
        text-align: center;
      }
      
      .navbar-nav .nav-item {
        margin: 0.5rem 0;
      }
      
      .navbar .btn-signin {
        width: 100%;
        margin-top: 0.5rem;
      }
    }

    /* Main Content */
    .main-section {
      padding: 2rem 0;
    }

    .page-title {
      color: var(--nist-blue);
      font-weight: 700;
      margin-bottom: 1.5rem;
      font-size: 2rem;
    }

    /* Filters Sidebar */
    .filter-box {
      background: #fff;
      border-radius: 12px;
      padding: 1.5rem;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
      margin-bottom: 1.5rem;
      position: sticky;
      top: 2rem;
    }

    .filter-box h5 {
      font-weight: 600;
      margin-bottom: 1.25rem;
      color: var(--nist-blue);
      font-size: 1.25rem;
    }

    .form-label {
      font-weight: 600;
      color: #495057;
      margin-bottom: 0.5rem;
    }

    .form-select, .form-control {
      border-radius: 8px;
      border: 1px solid #dee2e6;
      padding: 0.75rem;
      font-size: 0.95rem;
    }

    .form-select:focus, .form-control:focus {
      border-color: var(--nist-blue);
      box-shadow: 0 0 0 0.2rem rgba(13, 26, 117, 0.1);
    }

    /* Job Cards */
    .job-card {
      background: #fff;
      border-radius: 12px;
      padding: 1.5rem;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
      margin-bottom: 1.5rem;
      border: 2px solid transparent;
      transition: all 0.3s ease;
    }

    .job-card:hover {
      border-color: var(--nist-blue);
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }

    .badge-academic {
      background-color: var(--nist-accent);
      color: #fff;
      font-size: 0.8rem;
      padding: 0.5rem 1rem;
      border-radius: 20px;
      font-weight: 600;
    }

    .badge-admin {
      background-color: #28a745;
      color: #fff;
      font-size: 0.8rem;
      padding: 0.5rem 1rem;
      border-radius: 20px;
      font-weight: 600;
    }

    .badge-technical {
      background-color: #17a2b8;
      color: #fff;
      font-size: 0.8rem;
      padding: 0.5rem 1rem;
      border-radius: 20px;
      font-weight: 600;
    }

    .job-title {
      color: var(--nist-blue);
      font-weight: 700;
      font-size: 1.3rem;
      margin: 0.75rem 0 0.5rem;
      line-height: 1.3;
    }

    .job-department {
      color: #6c757d;
      font-weight: 500;
      margin-bottom: 0.75rem;
    }

    .job-info {
      color: #6c757d;
      font-size: 0.95rem;
      margin-bottom: 1rem;
    }

    .job-info i {
      width: 16px;
      margin-right: 0.25rem;
    }

    .job-description {
      color: #495057;
      line-height: 1.6;
      margin-bottom: 1.25rem;
    }

    .btn-view {
      background-color: var(--nist-blue);
      color: #fff;
      border-radius: 8px;
      font-weight: 600;
      padding: 0.75rem 1.5rem;
      border: 2px solid var(--nist-blue);
      transition: all 0.3s ease;
    }

    .btn-view:hover {
      background-color: transparent;
      color: var(--nist-blue);
      transform: translateY(-1px);
    }

    /* Results Header */
    .results-header {
      background: #fff;
      border-radius: 10px;
      padding: 1rem 1.5rem;
      margin-bottom: 1.5rem;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .results-count {
      color: #6c757d;
      font-weight: 500;
    }

    .sort-select {
      min-width: 200px;
    }

    /* Pagination */
    .pagination {
      margin: 2rem 0 1rem;
    }

    .pagination .page-link {
      color: var(--nist-blue);
      border: 1px solid #dee2e6;
      padding: 0.75rem 1rem;
      font-weight: 500;
      border-radius: 8px;
      margin: 0 0.25rem;
      transition: all 0.3s ease;
    }

    .pagination .page-link:hover {
      background-color: var(--nist-light);
      border-color: var(--nist-blue);
    }

    .pagination .active .page-link {
      background-color: var(--nist-blue);
      border-color: var(--nist-blue);
      color: #fff;
    }

    /* Footer */
    footer {
      background-color: #000000;
      color: #fff;
      padding: 3rem 0 2rem;
      margin-top: 3rem;
    }

    footer a {
      color: #fff;
      text-decoration: none;
      transition: opacity 0.3s ease;
    }

    footer a:hover {
      opacity: 0.8;
      text-decoration: underline;
    }

    .footer-title {
      font-weight: 600;
      margin-bottom: 1rem;
      font-size: 1.1rem;
    }

    .footer-links p {
      margin-bottom: 0.5rem;
    }

    .social-links {
      display: flex;
      gap: 1rem;
      margin-top: 1rem;
    }

    .social-links a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      transition: all 0.3s ease;
    }

    .social-links a:hover {
      background: rgba(255, 255, 255, 0.2);
      transform: translateY(-2px);
    }

    .footer-divider {
      border-color: rgba(255, 255, 255, 0.2);
      margin: 2rem 0 1.5rem;
    }

    /* Mobile Responsive Styles */
    @media (max-width: 767.98px) {
      .page-title {
        font-size: 1.75rem;
        text-align: center;
      }

      .filter-box {
        position: static;
        margin-bottom: 1.5rem;
      }

      .results-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
      }

      .sort-select {
        width: 100%;
      }

      .job-card {
        padding: 1.25rem;
      }

      .job-title {
        font-size: 1.2rem;
      }

      .job-info {
        font-size: 0.9rem;
      }

      .btn-view {
        width: 100%;
        margin-top: 1rem;
      }

      .job-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
      }

      .pagination .page-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
      }

      footer {
        padding: 2rem 0 1.5rem;
      }

      .footer-section {
        margin-bottom: 2rem;
      }
    }

    @media (max-width: 575.98px) {
      .container {
        padding-left: 1rem;
        padding-right: 1rem;
      }

      .job-card {
        padding: 1rem;
      }

      .job-title {
        font-size: 1.1rem;
      }

      .filter-box {
        padding: 1.25rem;
      }

      .filter-buttons {
        flex-direction: column;
        gap: 0.75rem;
      }

      .filter-buttons .btn {
        width: 100%;
      }
    }

    /* Tablet Styles */
    @media (min-width: 768px) and (max-width: 991.98px) {
      .job-card {
        padding: 1.25rem;
      }

      .job-title {
        font-size: 1.25rem;
      }
    }

    /* Filter Button Styles */
    .filter-buttons {
      display: flex;
      gap: 0.75rem;
      margin-top: 1.5rem;
      flex-wrap: nowrap;
      flex-direction: column;

    }

    .filter-buttons .btn {
      flex: 1;
      padding: 0.75rem;
      font-weight: 600;
      border-radius: 8px;
    }

    .btn-apply {
      background-color: var(--nist-blue);
      color: white;
      border: 2px solid var(--nist-blue);
    }

    .btn-apply:hover {
      background-color: transparent;
      color: var(--nist-blue);
    }

    .btn-reset {
      background-color: transparent;
      color: #6c757d;
      border: 2px solid #6c757d;
    }

    .btn-reset:hover {
      background-color: #6c757d;
      color: white;
    }


/* Save Icon Styles */
.save-icon {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e9ecef;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    z-index: 2;
}

.save-icon:hover {
    background: #fff;
    border-color: var(--nist-blue);
    transform: scale(1.1);
}

.save-icon.saved {
    background: var(--nist-blue);
    border-color: var(--nist-blue);
}

.save-icon.saved i {
    color: white;
}

.save-icon i {
    color: #6c757d;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.save-icon.saved i {
    color: white;
}

.save-icon:hover i {
    color: var(--nist-blue);
}

.save-icon.saved:hover i {
    color: white;
}

/* Update job card to support absolute positioning */
.job-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative; /* Add this for absolute positioning context */
}

/* Mobile responsive adjustments for save icon */
@media (max-width: 767.98px) {
    .save-icon {
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
    }
    
    .save-icon i {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .save-icon {
        top: 0.75rem;
        right: 0.75rem;
        width: 32px;
        height: 32px;
    }
}
