/* ─────────────────────────────────────────────────────────────
           Grid rules (.amk-grid.amk-cols-5 and .amk-grid.amk-cols-6)
           are now defined SOLELY in unified-cards.css. They were
           previously duplicated here and caused the latest-listings
           6-col grid to collapse to 5 cols at <1400px viewport,
           because this <style> block loads after the external CSS
           and its media query targeted .amk-grid.amk-cols-6 globally.
           DO NOT re-add column rules here.
           ───────────────────────────────────────────────────────────── */

        /* === Job card — overlay layout (matches matrimonial cards) === */
        .job-card {
            position: relative;
            padding: 0 !important;
            overflow: hidden;
            aspect-ratio: 3 / 4;
            /* taller portrait — fits more info */
            background-position: center top;
            background-repeat: no-repeat;
            background-size: cover;
            background-color: #0e1726;
            border-radius: 14px;
            min-height: 380px;
        }

        @supports not (aspect-ratio: 3 / 4) {
            .job-card {
                height: 460px;
            }
        }

        /* Clickable overlay covers the whole card */
        .job-card .job-card__overlay {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: flex-end;
            text-decoration: none;
            color: #fff;
            /* Stronger dark gradient — info area takes ~60% of card */
            background: linear-gradient(to top,
                    rgba(0, 0, 0, 0.92) 0%,
                    rgba(0, 0, 0, 0.80) 40%,
                    rgba(0, 0, 0, 0.45) 60%,
                    rgba(0, 0, 0, 0.10) 80%,
                    rgba(0, 0, 0, 0) 100%);
        }

        .job-card .job-card__info {
            width: 100%;
            padding: 14px 14px 16px;
            color: #fff;
        }

        .job-card .job-card__title {
            margin: 0 0 8px;
            font-size: 17px;
            font-weight: 700;
            line-height: 1.2;
            color: #fff;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
        }

        .job-card .job-card__info p {
            margin: 3px 0;
            font-size: 12px;
            line-height: 1.35;
            color: #f0f4ff;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .job-card .job-card__info p strong {
            color: #ffd166;
            font-weight: 600;
        }

        /* Role badge — top-left, like the BRIDE/GROOM tag */
        .job-card .job-card__role-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            z-index: 4;
            padding: 4px 10px;
            font-size: 12px;
            font-weight: 600;
            color: #fff;
            background: rgba(255, 80, 80, 0.85);
            border-radius: 999px;
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
        }

        /* === Share button on job cards ===
         * Let sharegrids.css handle the actual menu look (matches classified
         * home page). Here we only force the wrapper visible and position it
         * to the LEFT of the heart button so they don't overlap. */
        .job-card {
            position: relative;
        }

        .job-card .amk-share-wrap {
            position: absolute !important;
            top: 12px !important;
            right: 64px !important;
            /* clear gap from the heart button */
            z-index: 5;
            display: inline-block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }

        .job-card .amk-share-btn {
            display: inline-flex !important;
            visibility: visible !important;
            opacity: 1 !important;
        }

        /* ============================================================
         *  JOBS HOME PAGE — element styling (no outer panels)
         *
         *  We DO NOT wrap .jobs-hero-search, .jobs-submenu or .jobs-map in
         *  outer glass containers. The inputs / pills / map already look
         *  good on their own — adding an outer panel creates a "double
         *  back shape" (panel inside panel) that looks visually heavy.
         *  Map styling itself is handled by jobs.css (.jobs-map svg#svg2).
         * ============================================================ */

        /* Search hero — flex layout only, NO outer panel */
        .jobs-hero-search {
            display: flex !important;
            justify-content: center;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            max-width: 1100px;
            margin: 28px auto;
            padding: 0;
            background: transparent;
            border: none;
            box-shadow: none;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
        }

        .jobs-hero-search input,
        .jobs-hero-search select {
            height: 46px;
            padding: 0 16px;
            min-width: 180px;
            color: #fff;
            background: linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03));
            border: 1px solid rgba(255, 255, 255, 0.14);
            border-radius: 12px;
            font-size: 14px;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.18),
                0 6px 14px rgba(0, 0, 0, 0.35);
            transition: all 0.25s ease;
        }

        .jobs-hero-search input::placeholder {
            color: rgba(255, 255, 255, 0.55);
        }

        .jobs-hero-search input:focus,
        .jobs-hero-search select:focus {
            outline: none;
            border-color: rgba(120, 160, 255, 0.55);
            transform: translateY(-1px);
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.25),
                0 10px 22px rgba(0, 0, 0, 0.5),
                0 0 0 3px rgba(120, 160, 255, 0.18);
        }

        .jobs-hero-search select option {
            color: #111;
        }

        .jobs-hero-search button {
            height: 46px;
            padding: 0 22px;
            color: #fff;
            font-weight: 600;
            font-size: 14px;
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 12px;
            background: linear-gradient(135deg, #2563eb 0%, #6b3df7 100%);
            cursor: pointer;
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.30),
                0 10px 22px rgba(79, 70, 229, 0.45);
            transition: all 0.25s ease;
        }

        .jobs-hero-search button:hover {
            transform: translateY(-2px);
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.40),
                0 16px 32px rgba(79, 70, 229, 0.6);
        }





        /* Submenu — flex centering only, NO outer panel */
        .jobs-submenu {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 15px;
            /* Spacing between buttons */
            padding: 20px;
        }

        .jobs-submenu a {
            color: #fff;
            text-decoration: none;
            font-weight: 500;
            padding: 12px 24px;
            border-radius: 15px;
            transition: all 0.3s ease;

            /* 3D Neumorphism - Dark Base */
            background: #102941;
            border: 1px solid rgba(0, 217, 255, 0.2);
            box-shadow:
                5px 5px 10px #050506,
                -5px -5px 10px #0f0f12,
                inset 1px 1px 2px rgba(255, 255, 255, 0.1);

            /* Neon Text */
            text-shadow: 0 0 8px rgba(0, 217, 255, 0.6);
            position: relative;
            overflow: hidden;
        }

        .jobs-submenu a:hover {
            /* Hover - Glowing 3D effect */
            background: #0d0f10;
            box-shadow:
                2px 2px 5px #050506,
                -2px -2px 5px #0f0f12,
                inset 0 0 10px rgba(0, 217, 255, 0.4),
                0 0 20px rgba(0, 217, 255, 0.3);
            color: #fff;
            text-shadow: 0 0 10px #fff;
        }

        .jobs-submenu a:active {
            /* Active - Pressed 3D effect */
            box-shadow:
                inset 5px 5px 10px #050506,
                inset -5px -5px 10px #0f0f12;
        }

        /* USA map — DO NOTHING here. jobs.css owns .jobs-map and
           .jobs-map svg#svg2 rules. Just make sure the heading is centered
           and the section has space around it. */
        .jobs-map h3 {
            margin: 0 0 14px;
            color: #fff;
            font-size: 18px;
            font-weight: 700;
            letter-spacing: 0.3px;
            text-align: center;
        }

/* =========================================================
   Jobs Section Headings
   Employer Hiring / Candidate Looking for Job
========================================================= */

.jobs-section-title{
    position: relative;
    display: inline-block;
    margin: 18px 0 22px;
    padding-bottom: 10px;

    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .3px;
    color: #ffffff;
}

/* Glass underline */
.jobs-section-title::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 4px;
    border-radius: 999px;

    background: linear-gradient(
        90deg,
        rgba(0,140,255,.95),
        rgba(0,225,255,.65)
    );

    box-shadow:
        0 0 12px rgba(0,140,255,.45),
        0 0 24px rgba(0,225,255,.25);

    backdrop-filter: blur(6px);
}

        /* Wrap the two job container H2s + grid into a glass panel.
           (Pure CSS — no markup change.) */
        h2+.amk-grid.amk-cols-5 {
            margin-top: -8px;
        }

        /* Render H2 + grid as a unified glass panel using ::before on each h2 directly preceding amk-grid.amk-cols-5 */
        body h2:has(+ .amk-grid.amk-cols-5) {
            display: inline-block;
            margin: 28px auto 14px;
            padding: 10px 22px;
            color: #fff;
            font-size: 22px;
            font-weight: 700;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03));
            border: 1px solid rgba(255, 255, 255, 0.14);
            border-radius: 14px;
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.20),
                0 12px 26px rgba(0, 0, 0, 0.45);
        }

        /* The grid below the h2 — wrap as glass panel */
        h2+.amk-grid.amk-cols-5 {
            padding: 22px;
            background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
            border: 1px solid rgba(255, 255, 255, 0.10);
            border-radius: 22px;
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.14),
                0 18px 38px rgba(0, 0, 0, 0.55);
        }

        /* Mobile tweaks */
        @media (max-width: 700px) {
            .jobs-hero-search {
                padding: 16px;
                gap: 8px;
            }

            .jobs-hero-search input,
            .jobs-hero-search select,
            .jobs-hero-search button {
                width: 100%;
                min-width: 0;
            }

            .jobs-map {
                padding: 14px;
            }

            h2+.amk-grid.amk-cols-5 {
                padding: 14px;
            }
        }


/* ===============================
   JOBS CATEGORIES GRID
================================ */
.jobs-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.job-category-card {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: transform .25s ease, box-shadow .25s ease;
}

.job-category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
}

.job-category-count {
  display: block;
  font-size: 13px;
  opacity: .7;
  margin-top: 6px;
}




/* ===============================
   JOB SEARCH HERO
================================ */
.jobs-hero {
  max-width: 1200px;
  margin: 36px auto 48px;
  padding: 22px 26px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.05));
  backdrop-filter: blur(20px);
  box-sizing: border-box;
  overflow: visible !important;
}


/* ===============================
   JOBS SEARCH FORM & GRID
================================ */
.jobs-search-form {
  width: 100%;
  box-sizing: border-box;
  float: none !important;
  overflow: visible !important;
}

.jobs-search-grid {
  display: grid;
  width: 100%;
  box-sizing: border-box;
  grid-template-columns: 2.2fr 1.6fr 1.4fr 1.6fr auto;
  gap: 14px;
  align-items: center;
  overflow: visible !important;
}

.jobs-search-grid input,
.jobs-search-grid select {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.40);
  color: #fff;
  font-size: 14px;
  box-sizing: border-box;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
}

.jobs-search-grid input::placeholder {
  color: rgba(255,255,255,0.55);
}

.jobs-search-grid select {
  appearance: auto;
  padding-right: 40px;
}

.jobs-search-grid button {
  height: 46px;
  padding: 0 26px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(135deg, #4da3ff, #2563eb);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(37,99,235,0.35);
  flex-shrink: 0;
}

.jobs-search-grid button:hover {
  opacity: 0.95;
}

/* ===============================
   LOCATION WRAPPER
================================ */
.job-location-wrapper {
  position: relative;
  width: 100%;
  overflow: visible !important;
}

/* The visible input field */
.job-location-wrapper input[type="text"] {
  width: 100%;
  cursor: pointer;
  box-sizing: border-box;
}
/* ===============================
   LOCATION DROPDOWN OVERRIDE
   Paste at very bottom of jobs.css
   to win against all conflicting rules
================================ */

/* State column — flex column so search stays pinned */
.job-location-dropdown .state-list {
  display: flex !important;
  flex-direction: column !important;
  width: 210px !important;
  min-width: 210px !important;
  max-width: 210px !important;
  overflow: hidden !important;
  border-right: 1px solid rgba(255,255,255,0.10) !important;
  max-height: 340px !important;
}

/* Search pinned at top — never scrolls away */
.job-location-dropdown .state-search {
  flex-shrink: 0 !important;
  display: block !important;
  width: calc(100% - 16px) !important;
  margin: 8px 8px 4px !important;
  padding: 7px 10px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  background: rgba(0,0,0,0.5) !important;
  color: #fff !important;
  font-size: 12px !important;
  outline: none !important;
  box-sizing: border-box !important;
}

/* Only the items list scrolls */
.job-location-dropdown .states {
  flex: 1 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.job-location-dropdown .state-item {
  padding: 8px 12px !important;
  font-size: 12px !important;
  color: rgba(255,255,255,0.82) !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}

.job-location-dropdown .state-item:hover {
  background: rgba(77,163,255,0.2) !important;
  color: #4da3ff !important;
}

/* City column hidden until state hovered */
.job-location-dropdown .city-list {
  display: none !important;
  flex: 1 !important;
}

.job-location-dropdown .city-list.is-visible {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.job-location-dropdown .city-header {
  flex-shrink: 0 !important;
  padding: 9px 12px 7px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #4da3ff !important;
  text-transform: uppercase !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

.job-location-dropdown .cities {
  flex: 1 !important;
  overflow-y: auto !important;
  max-height: 300px !important;
}

.job-location-dropdown .city-item {
  padding: 7px 12px !important;
  font-size: 12px !important;
  color: rgba(255,255,255,0.78) !important;
  cursor: pointer !important;
}

.job-location-dropdown .city-item:hover {
  background: rgba(77,163,255,0.15) !important;
  color: #fff !important;
}

/* Wrapper must allow overflow for dropdown to appear */
.job-location-wrapper {
  position: relative !important;
  overflow: visible !important;
}

/* Every parent up the chain must allow overflow */
.jobs-search-field,
.jobs-search-grid,
.jobs-search-form,
.jobs-hero {
  overflow: visible !important;
}


/* ===============================
   JOBS GRID
================================ */






/* ===============================
   JOB SINGLE PAGE
================================ */
.job-single-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.job-header { margin-bottom: 30px; }
.job-title  { font-size: 32px; margin-bottom: 6px; }
.job-company { font-size: 16px; opacity: 0.8; margin-bottom: 10px; }

.job-meta-top {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
  opacity: 0.85;
}

.job-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.job-description,
.job-apply-box {
  padding: 24px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
}

.job-apply-box {
  background: rgba(255,255,255,0.12);
  height: fit-content;
}

.job-apply-btn {
  display: block;
  margin-top: 12px;
  padding: 14px;
  text-align: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #4da3ff, #3b82f6);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

/* ===============================
   APPLY STATUS
================================ */
.job-apply-success { color: #4ade80; margin-bottom: 12px; }
.job-apply-error   { color: #f87171; margin-bottom: 12px; }
.job-apply-info    { padding: 14px; border-radius: 12px; background: rgba(74,222,128,0.15); color: #4ade80; font-weight: 600; }

/* ===============================
   MY APPLICATIONS
================================ */
.my-applications-page {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.my-applications-table {
  width: 100%;
  border-collapse: collapse;
}

.my-applications-table th,
.my-applications-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.my-applications-table th {
  text-align: left;
  opacity: 0.8;
}

/* ===============================
   EMPLOYER DASHBOARD
================================ */
.employer-dashboard {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.employer-job-box {
  margin-bottom: 40px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
}

.employer-applicants-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}

.employer-applicants-table th,
.employer-applicants-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.withdraw-btn {
  background: #f87171;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* ===============================
   STATUS BADGES
================================ */
.status-badges {
  display: flex;
  gap: 10px;
  margin: 12px 0 18px;
}

.status-badge {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255,255,255,0.12);
}

.status-applied     { color: #60a5fa; }
.status-reviewed    { color: #fbbf24; }
.status-shortlisted { color: #4ade80; }
.status-rejected    { color: #f87171; }

/* ===============================
   MENU & HEADER
================================ */
.menu-item a[href$="/jobs/"],
.amk-menu a[href$="/jobs/"] {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  font-weight: 600;
}

/* ===============================
   UTILITIES
================================ */
.jobs-empty {
  text-align: center;
  opacity: 0.8;
  margin: 30px 0;
}

/* ===============================
   JOBS SUB HEADER MENU
================================ */
.jobs-sub-nav {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  max-width: 1100px;
  margin: 20px auto 30px;
  padding: 10px 18px;
}

.jobs-sub-menu {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.jobs-sub-menu a { font-weight: 600; opacity: 0.8; }
.jobs-sub-menu a:hover,
.jobs-sub-menu .current-menu-item a { opacity: 1; color: #4da3ff; }


/* ===============================
   POST JOB FORM
================================ */
.post-job-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  position: relative;
  z-index: 0;
}



/* Each form-group sits in normal stacking order —
   the first one (Job Field) gets a high z-index so its
   dropdown panel floats above ALL siblings below it */
.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

/* Job Field is always the first .form-group — lift it highest */
.post-job-grid .form-group:first-child {
  z-index: 9999;
}

.form-group label { margin-bottom: 6px; font-weight: 600; }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.4);
  color: #fff;
}


.form-group.full-width { grid-column: span 2; }

.form-submit {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 36px;
  text-align: center;
}

.form-submit button {
  padding: 14px 40px;
  min-width: 200px;
  border-radius: 14px;
  background: linear-gradient(135deg, #4da3ff, #2563eb);
  color: #fff;
  font-weight: 600;
  border: none;
}

/* POST JOB ROLE VISIBILITY */
.employer-only,
.candidate-only { display: none; }

/* ===============================
   MOBILE
================================ */
@media (max-width: 900px) {
  .jobs-hero { padding: 20px; }
  .jobs-search-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .jobs-search-grid input,
  .jobs-search-grid select,
  .jobs-search-grid button { width: 100%; }

  .job-location-dropdown {
    width: 100%;
    flex-direction: column;
  }
  .job-location-dropdown .state-list {
    width: 100%;
    max-width: 100%;
    min-width: unset;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .job-location-dropdown .states { max-height: 160px; }
  .job-location-dropdown .cities { max-height: 160px; }
}

@media (max-width: 768px) {
  .job-content { grid-template-columns: 1fr; }
  .post-job-grid { grid-template-columns: 1fr; }
}

/* ===============================
   LOCATION DROPDOWN – FINAL
================================ */

.job-location-wrapper {
  position: relative;
  overflow: visible !important;
}

.job-location-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 560px;
  z-index: 999999;
  background: rgba(18,22,32,0.98);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}

/* ✅ ONE CLASS ONLY */
.job-location-dropdown.open {
  display: grid;
  grid-template-columns: 210px 1fr;
}

/* ===============================
   ATTACHMENT PREVIEW GRID
================================ */

.attachment-preview-grid {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.attachment-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;

    justify-content: flex-start;
    align-items: flex-start;

    width: 100%;
    max-height: 420px;      /* ✅ IMPORTANT */
    overflow-y: auto;       /* ✅ IMPORTANT */

    position: relative;     /* ✅ IMPORTANT */
    z-index: 1;             /* ✅ BELOW button */
}


.attachment-item {
  width: 180px;
  height: 200px;
  position: relative;
  background: rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.attachment-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.attachment-item .file-icon {
  font-size: 20px;
  font-weight: bold;
  opacity: 0.7;
}

.attachment-item .remove {
  position: absolute;
  top: 6px;
  right: 8px;
  background: rgba(0,0,0,0.6);
  width: 26px;
  height: 26px;
  line-height: 24px;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
}

.login-modal { display: none; }
.login-modal.active { display: block; }

/* --- Added Keyframes for Neon Pulse --- */
@keyframes neonPulse {
    0%, 100% {
        box-shadow: 0 0 5px #fff, 0 0 10px #0fa, 0 0 20px #0fa;
        border-color: rgba(0, 255, 200, 0.4);
    }
    50% {
        box-shadow: 0 0 10px #fff, 0 0 20px #0fa, 0 0 30px #0fa;
        border-color: rgba(0, 255, 200, 0.6);
    }
}

.jobs-submenu {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    font-weight: 500;
}

.jobs-submenu a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* --- Neon Animation Logic --- */
@keyframes neon-pulse {
    from {
        text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #0fa, 0 0 20px #0fa;
    }
    to {
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #0fa, 0 0 40px #0fa, 0 0 50px #0fa;
    }
}

/* --- Apply Animation on Hover --- */
.jobs-submenu a:hover {
    color: #fff;
    text-decoration: none;
    /* Runs the pulse every 1.5 seconds, back and forth forever */
    animation: neon-pulse 1.5s ease-in-out infinite alternate;
}


.jobs-search-bar {
    position: relative;
    z-index: 20;
    padding: 15px 20px;
    margin: 20px auto;
    max-width: fit-content;
    /* Dark Blue 3D Morphism Effect */
    background: rgba(10, 20, 50, 0.185);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.123),
                inset -1px -1px 3px rgba(0, 0, 0, 0.171),
                inset 1px 1px 3px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease; /* Added for smoother interaction */
}

/* --- Neon Pulse on Search Bar Hover --- */
.jobs-search-bar:hover {
    animation: neonPulse 1.5s infinite alternate;
}

/* Link Styling */
.mat-submenu .mat-sub-link {
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

/* Updated Hover & Active Effect with Neon */
.mat-submenu .mat-sub-link:hover,
.mat-submenu .mat-sub-link.active {
    background: rgba(0, 255, 200, 0.1); /* Subtle neon background */
    box-shadow: 0 0 10px rgb(0, 217, 255),
                inset 2px 2px 5px rgba(0, 0, 0, 0.4);
    text-shadow: 0 0 5px #fff;
}






.job-title-dropdown {
    position: relative;
    z-index: 9998;
}

.job-title-panel {
    z-index: 9999;
    position: absolute;
}


.job-title-empty {
    padding: 12px;
    color: #4d4d4d;
    text-align: center;
    font-size: 14px;
}

.post-job-errors {
    background: rgba(255,60,60,0.12);
    border: 1px solid rgba(255,60,60,0.4);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.post-job-errors p {
    color: #ff6b6b;
    margin: 5px 0;
    font-weight: 500;
}


.status-hired {
    color: #16a34a;
    font-weight: bold;
}

/* ===============================
   JOB FIELD GRID (6 x 5)
=============================== */

.jobs-field-section {
    padding: 40px 0;
}

.jobs-field-title {
    font-size: 28px;
    margin-bottom: 25px;
    text-align: center;
    color: #fff;
}

.jobs-field-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

@media (max-width: 1200px) {
    .jobs-field-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
    .jobs-field-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===============================
   3D GLASS MORPHISM CARD
=============================== */

.jobs-field-card {
    perspective: 800px;
}

.jobs-field-inner {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
    border-radius: 16px;
    padding: 22px 10px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.jobs-field-card:hover .jobs-field-inner {
    transform: rotateX(10deg) rotateY(-10deg) translateY(-6px);
    box-shadow: 0 35px 60px rgba(0,0,0,0.6);
}

.jobs-field-emoji {
    font-size: 32px;
    margin-bottom: 10px;
}

.jobs-field-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}


.jobs-grid-section {
    margin-top: 40px;
}

.jobs-grid-title {
    font-size: 26px;
    margin-bottom: 20px;
    color: #fff;
}


.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
@media (max-width: 1200px) {
    .jobs-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .jobs-grid { grid-template-columns: repeat(1, 1fr); }
}

.job-card {
  border-radius: 22px;
  overflow: hidden;
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  color: #fff;
  text-decoration: none;
}



.job-card-inner {
    display: block;
    padding: 22px;
    color: #fff;
    text-decoration: none;
}

.job-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.job-field {
    font-size: 14px;
    opacity: .9;
    margin-bottom: 10px;
}

.company {
    font-size: 14px;
    margin-bottom: 8px;
}

.meta {
    font-size: 13px;
    opacity: .85;
    margin-bottom: 6px;
}

.posted {
    font-size: 12px;
    opacity: .7;
}

/* Candidate background image */
.candidate-card {
    background-size: cover;
    background-position: center;
}

.candidate-card .job-card-inner {
    background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.45));
}

.notice.success {
    background: rgba(34,197,94,0.15);
    border: 1px solid rgba(34,197,94,0.4);
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 20px;
    color: #22c55e;
    font-weight: 600;
}


.job-status-badge.pending {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(234,179,8,0.15);
    color: #eab308;
    border: 1px solid rgba(234,179,8,0.4);
    margin-left: 8px;
}
.attachment-card img,
.attachment-card iframe {
  display: block;
}

.attachment-card {
    position: relative;   /* ✅ SAFE */
}

.attachment-preview {
    pointer-events: auto;
}

.job-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.job-thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  border-radius: 6px;
}
.job-thumb.active {
  opacity: 1;
  outline: 2px solid #3b82f6;
}

.job-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.job-lightbox img {
  max-width: 90%;
  max-height: 90%;
}
.job-lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

.job-pdf-viewer {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  margin-bottom: 15px;
}


.job-description-textarea {
    height: 180px;
    resize: none;
    overflow-y: auto;
    line-height: 1.5;
}

.word-counter {
    font-size: 12px;
    margin-top: 6px;
    color: #aaa;
    text-align: right;
}

.word-counter.limit {
    color: #ef4444;
    font-weight: 600;
}

/* ✅ Make attachments span full row */
.post-job-grid .full-width {
    grid-column: 1 / -1;     /* ✅ span all columns */
}

/* ✅ Attachment block — full row, extra spacing above */
.job-attachments {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 16px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.08);
}


.post-job-form button[type="submit"] {
    position: relative;
    z-index:10;
}


.job-seeker-profile {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.profile-details p {
  margin: 6px 0;
}

.attachment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 180px);
  gap: 16px;
}

.attachment-card {
  width: 180px;
  height: 220px;
  background: #f8f8f8;
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.attachment-card img,
.attachment-card iframe {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border: none;
}

.download-btn {
  text-align: center;
  font-size: 13px;
  padding: 6px;
  background: #2563eb;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
}

.send-message-btn {
  display: inline-block;
  padding: 12px 20px;
  background: #16a34a;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
}



/* ───────── JOB GRID (MATCH MATRIMONIAL) ───────── */

.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 6px 2px;
}

/* ───────── JOB CARD BASE (GLASS + 3D) ───────── */

.job-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.03) 100%
    );
    border: 1px solid rgba(100, 160, 255, 0.18);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.45),
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Hover lift */
.job-card:hover {
    transform: perspective(900px) translateY(-7px) rotateX(2deg);
    box-shadow:
        0 22px 50px rgba(0, 80, 200, 0.28),
        0 8px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 0 1px rgba(100, 160, 255, 0.35);
    border-color: rgba(100, 160, 255, 0.35);
}

/* Top shimmer */
.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(100, 180, 255, 0.65) 50%,
        transparent 100%
    );
    z-index: 3;
}

/* ───────── LINK ───────── */

.job-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* ───────── BODY ───────── */

.job-card-body {
    padding: 16px;
}

.job-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #ddeeff;
    margin-bottom: 8px;
}

/* Meta text */
.job-card-body p {
    font-size: 12px;
    color: rgba(150, 185, 255, 0.75);
    margin: 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.job-card-body small {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: rgba(120, 160, 220, 0.6);
}
.job-type-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 10px;
    border-radius: 14px;
    font-size: 10px;
    font-weight: 700;
    color: #80b8ff;
    background: rgba(40, 120, 255, 0.18);
    border: 1px solid rgba(40, 120, 255, 0.45);
}


/* ───────── JOB SEEKING SECTION ───────── */

.job-seek-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 6px 2px;
}

/* ───────── JOB SEEK CARD (GLASS / 3D) ───────── */

.job-seek-card {
    position: relative;
    border-radius: 16px;
    background: linear-gradient(
        145deg,
        rgba(255,255,255,0.08),
        rgba(255,255,255,0.03)
    );
    border: 1px solid rgba(100,160,255,0.18);
    box-shadow:
        0 8px 32px rgba(0,0,0,0.45),
        0 2px 8px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.10),
        inset 0 -1px 0 rgba(0,0,0,0.2);
    transition: all .3s ease;
    cursor: pointer;
    backdrop-filter: blur(12px);
}

/* Hover effect */
.job-seek-card:hover {
    transform: perspective(900px) translateY(-7px) rotateX(2deg);
    box-shadow:
        0 22px 50px rgba(0,80,200,0.28),
        0 8px 20px rgba(0,0,0,0.4),
        0 0 0 1px rgba(100,160,255,0.35);
    border-color: rgba(100,160,255,0.35);
}

/* Top shimmer line */
.job-seek-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(100,180,255,0.6),
        transparent
    );
}

/* ───────── CARD BODY ───────── */

.job-seek-body {
    padding: 16px;
}

.job-seek-title {
    color: #ddeeff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.job-seek-body p {
    color: rgba(150,185,255,0.75);
    font-size: 12px;
    margin: 4px 0;
}

.job-seek-body small {
    display: block;
    margin-top: 6px;
    color: rgba(120,160,220,0.6);
    font-size: 11px;
}


/* ── CARD TYPE BADGE (TOP RIGHT) ── */

.mat-type-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

/* Hiring badge (blue) */
.mat-type-badge.hiring {
    background: rgba(40, 120, 255, 0.2);
    border: 1px solid rgba(40, 120, 255, 0.45);
    color: #80b8ff;
}

/* Job seeking badge (green / teal) */
.mat-type-badge.seeking {
    background: rgba(60, 200, 170, 0.18);
    border: 1px solid rgba(60, 200, 170, 0.45);
    color: #7fffd4;
}


/* ── CARD ENTRANCE ANIMATION ── */

.mat-card {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
    animation: matCardIn 0.6s ease forwards;
}

@keyframes matCardIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* FORCE IDENTICAL SECTION SPACING */
.hiring-section,
.job-seeking-section {
    margin-top: 24px;
    margin-bottom: 24px;
}


/* FORCE FIX INPUT STYLE — FINAL */

.post-job-form input,
.post-job-form select,
.post-job-form textarea {
  background: rgba(0,0,0,0.55) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  width: 100% !important;
  box-sizing: border-box;
}

/* Fix placeholder */
.post-job-form input::placeholder,
.post-job-form textarea::placeholder {
  color: rgba(255,255,255,0.55) !important;
}

/* Fix textarea height */
.post-job-form textarea {
  min-height: 160px !important;
}


/* ✅ FORCE APPLY FORM STYLE */

.post-job-form .form-group input,
.post-job-form .form-group select,
.post-job-form .form-group textarea {
  background: rgba(0, 0, 0, 0.6) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  width: 100% !important;
  box-sizing: border-box;
}

/* Placeholder fix */
.post-job-form input::placeholder,
.post-job-form textarea::placeholder {
  color: rgba(255,255,255,0.6) !important;
}

/* Focus effect */
.post-job-form input:focus,
.post-job-form textarea:focus,
.post-job-form select:focus {
  outline: none !important;
  border-color: #4da3ff !important;
  box-shadow: 0 0 0 2px rgba(77,163,255,0.3) !important;
}


/* ===============================
   JOB SINGLE PAGE
=============================== */

.job-single-wrap {
    max-width: 900px;
    margin: 40px auto;
    padding: 24px;
    color: #fff;
}

.job-single-header {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.job-single-header h2 {
    flex: 1 1 100%;
    font-size: 26px;
    margin: 0;
}

/* Badges */
.job-badge {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.job-badge.hiring {
    background: linear-gradient(135deg, #ffbd2e, #ff8400);
    color: #2a1600;
}

.job-badge.seeking {
    background: linear-gradient(135deg, #34d5ff, #1a9bff);
    color: #002733;
}

/* Status */
.job-status {
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}

.job-status.open {
    background: #1f8f3a;
}

.job-status.closed {
    background: #8f1f1f;
}

/* Meta */
.job-single-meta p {
    font-size: 15px;
    margin: 6px 0;
}

/* Content */
.job-single-content {
    font-size: 16px;
    line-height: 1.6;
}

/* Attachments */
.job-attachments {
    list-style: none;
    padding: 0;
}

.job-attachments li {
    margin: 8px 0;
}

.job-attachments a {
    color: #6be4ff;
    font-weight: 600;
    text-decoration: none;
}




.job-post-form {
    max-width: 900px;
}

.job-post-form .form-row {
    width: 48%;
    display: inline-block;
    margin-bottom: 14px;
    vertical-align: top;
}

.job-post-form .form-row.full {
    width: 100%;
}

.job-post-form label {
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.job-post-form input,
.job-post-form select,
.job-post-form textarea {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
}

.role-block {
    display: none;
}

.job-post-form button {
    padding: 10px 18px;
    font-size: 16px;
}


/* ============================================================
   JOB POST FORM — 3D Glassmorphism CSS
   Apply these classes to your job-post.php form elements.
   Import Google Font in your <head>:
   <link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap" rel="stylesheet">
   ============================================================ */

/* ── RESET & BASE ───────────────────────────────────────────── */
.job-post-form *,
.job-post-form *::before,
.job-post-form *::after {
  box-sizing: border-box;
}

.job-post-form {
  font-family: 'Outfit', sans-serif;
}

/* ── PAGE BACKGROUND (wrap your form in .job-form-page) ─────── */
.job-form-page {
  min-height: 100vh;
  background: #0a0e1a;
  background-image:
    radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(14, 165, 233, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 60% 10%, rgba(168, 85, 247, 0.10) 0%, transparent 45%);
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* ── FORM CARD ──────────────────────────────────────────────── */
.job-form-card {
  width: 100%;
  max-width: 680px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 40px 44px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.08) inset,
    0 -2px 0 rgba(0, 0, 0, 0.3) inset,
    0 40px 80px rgba(0, 0, 0, 0.5),
    0 8px 32px rgba(99, 102, 241, 0.15),
    0 1px 0 rgba(255, 255, 255, 0.05);
  transform: perspective(1000px) rotateX(0.5deg);
  position: relative;
  overflow: hidden;
}

.job-form-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  border-radius: 28px;
  pointer-events: none;
}

/* Ambient orb top-right */
.job-form-card::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Ensure content sits above pseudo-elements */
.job-form-card > * {
  position: relative;
  z-index: 1;
}

/* ── HEADING ────────────────────────────────────────────────── */
.job-post-form h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 36px;
}

/* Purple icon badge next to the heading — wrap ➕ in .form-icon-badge */
.form-icon-badge {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow:
    0 4px 16px rgba(99, 102, 241, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

/* ── LAYOUT ─────────────────────────────────────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row.full,
.form-row-full {
  grid-column: 1 / -1;
}

/* ── LABELS ─────────────────────────────────────────────────── */
.job-post-form label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.4px;
  padding-left: 2px;
}

/* ── SECTION DIVIDER ────────────────────────────────────────── */
.form-section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  margin: 10px 0 4px;
  grid-column: 1 / -1;
}

.form-section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(99, 102, 241, 0.8);
  margin-bottom: 4px;
  grid-column: 1 / -1;
}

/* ── GLASS INPUT (text, email, url, number, tel) ────────────── */
.job-post-form input[type="text"],
.job-post-form input[type="email"],
.job-post-form input[type="url"],
.job-post-form input[type="number"],
.job-post-form input[type="tel"],
.job-post-form textarea {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  padding: 13px 16px;
  width: 100%;
  outline: none;
  transition: all 0.25s ease;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.05) inset,
    0 2px 12px rgba(0, 0, 0, 0.25),
    0 1px 0 rgba(0, 0, 0, 0.4);
  -webkit-appearance: none;
  appearance: none;
}

.job-post-form input::placeholder,
.job-post-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
  font-weight: 300;
}

.job-post-form input:focus,
.job-post-form textarea:focus {
  border-color: rgba(99, 102, 241, 0.6);
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.1), rgba(99, 102, 241, 0.04));
  box-shadow:
    0 0 0 3px rgba(99, 102, 241, 0.15),
    0 2px 0 rgba(255, 255, 255, 0.06) inset,
    0 2px 20px rgba(0, 0, 0, 0.3);
  color: #fff;
}

/* ── TEXTAREA ───────────────────────────────────────────────── */
.job-post-form textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

/* ── SELECT WRAPPER (gives the custom dropdown arrow) ───────── */
/*
   IMPORTANT: Wrap every <select> in a <div class="select-wrapper">
   This gives the purple chevron arrow and makes it look like a
   proper dropdown — fixing the "looks like a text field" issue.

   Example:
   <div class="select-wrapper">
     <select name="job_location" class="glass-select">...</select>
   </div>
*/
.select-wrapper {
  position: relative;
  display: block;
}

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid rgba(99, 102, 241, 0.85);
  pointer-events: none;
  transition: transform 0.2s ease;
}

/* ── GLASS SELECT ───────────────────────────────────────────── */
.job-post-form select,
.glass-select {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  padding: 13px 40px 13px 16px; /* right padding leaves room for arrow */
  width: 100%;
  outline: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.05) inset,
    0 2px 12px rgba(0, 0, 0, 0.25),
    0 1px 0 rgba(0, 0, 0, 0.4);
  -webkit-appearance: none;
  appearance: none; /* removes native arrow */
}

.job-post-form select:focus,
.glass-select:focus {
  border-color: rgba(99, 102, 241, 0.6);
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.1), rgba(99, 102, 241, 0.04));
  box-shadow:
    0 0 0 3px rgba(99, 102, 241, 0.15),
    0 2px 0 rgba(255, 255, 255, 0.06) inset,
    0 2px 20px rgba(0, 0, 0, 0.3);
  color: #fff;
}

/* Dropdown options background */
.job-post-form select option,
.glass-select option {
  background: #1a1f35;
  color: #e2e8f0;
}

/* ── ROLE TOGGLE (Employer / Candidate pill switch) ─────────── */
/*
   Replace the <select name="job_role"> with this HTML:
   <div class="role-toggle">
     <button type="button" class="role-btn active" data-role="hiring">Employer (Hiring)</button>
     <button type="button" class="role-btn" data-role="seeking">Candidate (Seeking)</button>
   </div>
*/
.role-toggle {
  display: flex;
  gap: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 5px;
}

.role-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
}

.role-btn.active {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  box-shadow:
    0 4px 16px rgba(99, 102, 241, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.role-btn:hover:not(.active) {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
}

/* ── ROLE BLOCKS ────────────────────────────────────────────── */
.role-block {
  display: none;
}

.role-block.employer {
  display: contents; /* default shown */
}

/* JS toggles these — keep your existing toggle() logic */

/* ── FILE UPLOAD ZONE ───────────────────────────────────────── */
/*
   Wrap the file input in <div class="file-upload-zone">
*/
.file-upload-zone {
  border: 2px dashed rgba(99, 102, 241, 0.35);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  background: rgba(99, 102, 241, 0.04);
  transition: all 0.25s ease;
  position: relative;
}

.file-upload-zone:hover {
  border-color: rgba(99, 102, 241, 0.65);
  background: rgba(99, 102, 241, 0.09);
}

.file-upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.file-upload-zone p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
  margin-top: 6px;
}

.file-upload-zone p span {
  color: #818cf8;
  font-weight: 600;
}

/* ── SUBMIT BUTTON ──────────────────────────────────────────── */
.job-post-form button[type="submit"],
.job-submit-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #0ea5e9 100%);
  color: #fff;
  box-shadow:
    0 8px 32px rgba(99, 102, 241, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 -3px 0 rgba(0, 0, 0, 0.3) inset;
  transition: all 0.3s ease;
  transform: translateY(0);
  margin-top: 8px;
}

/* Top-gloss sheen */
.job-post-form button[type="submit"]::before,
.job-submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.job-post-form button[type="submit"]:hover,
.job-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 40px rgba(99, 102, 241, 0.6),
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 -3px 0 rgba(0, 0, 0, 0.3) inset;
}

.job-post-form button[type="submit"]:active,
.job-submit-btn:active {
  transform: translateY(1px);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

/* ── SMALL HINT TEXT ────────────────────────────────────────── */
.job-post-form small,
.field-hint {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.28);
  margin-top: 4px;
  display: block;
}

/* ── REQUIRED STAR ──────────────────────────────────────────── */
.req {
  color: #f472b6;
  margin-left: 2px;
}

/* ── HIDE NUMBER SPINNERS ───────────────────────────────────── */
.job-post-form input[type="number"]::-webkit-inner-spin-button,
.job-post-form input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  .job-form-card {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-row.full,
  .form-row-full {
    grid-column: 1;
  }

  .job-post-form h2 {
    font-size: 1.4rem;
  }
}


.job-card {
    min-height: 220px;
}

.job-card .amk-card-body p {
    font-size: 13px;
    margin: 4px 0;
}

/* ============================================================
   🔥 ADVANCED JOB CARD TOOLBAR — iOS STYLE + TOOLTIP + 3D SYNC
   FINAL PATCH (SAFE — NO LOGIC REMOVED)
============================================================ */
/* Ensure card supports 3D */
.job-card {
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}
/* ============================================================
   🎯 FLOATING TOOLBAR (HIDDEN DEFAULT)
============================================================ */
.amk-card-actions {
    position: absolute;
    top: 2px;
    right: 2px;
    display: flex;
    gap: 10px;
    padding: 0;
    border-radius: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    z-index: 30;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none;
}
/* amk-card-actions is now always visible, no slide-in needed */
.job-card:hover .amk-card-actions {
    opacity: 1;
    pointer-events: auto;
}

/* Bare variant: no pill container, always visible (fav button on job cards) */
.amk-card-actions--bare {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    top: 2px !important;
    right: 2px !important;
}

/* Job card fav-btn hover — same as classified cards */
.job-card .fav-btn,
.job-card .amk-card-actions .fav-btn {
    transition: background 0.2s ease, transform 0.15s ease !important;
}
.job-card .fav-btn:hover,
.job-card .amk-card-actions .fav-btn:hover {
    background: rgba(0,0,0,0.80) !important;
    transform: scale(1.12) !important;
}
/* ============================================================
   🎯 BUTTON STYLE (GLASS ICONS)
============================================================ */
.amk-card-actions button,
.amk-card-actions .amk-share-btn {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #fff;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.30),
        0 4px 12px rgba(0,0,0,0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.2s ease, transform 0.15s ease;
}
/* Hover — same as classified */
.amk-card-actions button:hover,
.amk-card-actions .amk-share-btn:hover {
    background: rgba(0,0,0,0.80) !important;
    transform: scale(1.12) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.30),
        0 6px 18px rgba(0,0,0,0.6);
}
/* Hover pop */
.amk-card-actions button:hover,
.amk-card-actions .amk-share-btn:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.85),
        0 14px 30px rgba(0,0,0,0.7);
}
/* ============================================================
   💡 TOOLTIP LABELS (Save / Share)
============================================================ */
.amk-card-actions button::after,
.amk-card-actions .amk-share-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -34px;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: rgba(0,0,0,0.85);
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all .2s ease;
}
/* show tooltip */
.amk-card-actions button:hover::after,
.amk-card-actions .amk-share-btn:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
/* ============================================================
   ❤️ KEEP HEART RIGHT
============================================================ */
.amk-card-actions .amk-share-wrap {
    order: 1;
}
.amk-card-actions .fav-btn,
.amk-card-actions .amk-heart,
.job-card .amk-heart {
    order: 2;
}

/* ── Heart button color: white default, red when saved ── */
.fav-btn {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-style: normal;
    /* Force text rendering — prevents browser from switching to color emoji */
    font-family: "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
}
.fav-btn.active,
.fav-btn.is-fav {
    color: #ff3b5c !important;
    -webkit-text-fill-color: #ff3b5c !important;
}
.fav-btn:hover {
    color: #ff8fa3 !important;
    -webkit-text-fill-color: #ff8fa3 !important;
}
/* ============================================================
   🔥 3D TILT SYNC (HOVER DEPTH)
============================================================ */
.job-card:hover {
    transform: rotateX(4deg) rotateY(-4deg) translateY(-8px);
}
/* Toolbar follows same 3D plane */
.job-card:hover .amk-card-actions {
    transform: translateX(0) scale(1) translateZ(40px);
}
/* ============================================================
   ✨ EXTRA GLOW (PREMIUM LOOK)
============================================================ */
.job-card:hover .amk-card-actions {
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.6),
        0 20px 50px rgba(0,0,0,0.7),
        0 0 18px rgba(99,102,241,0.35);
}


/* === FULL WIDTH POST JOB PAGE === */
.post-job-page {
    width: 100%;
    max-width: none;
    padding: 40px 24px;
}

.post-job-wrapper {
    width: 100%;
    max-width: none;   /* ✅ remove constraint */
    margin: 0 auto;
}
.post-job-grid .full-width {
    grid-column: 1 / -1;
}
.post-job-wrapper {
    backdrop-filter: blur(14px);
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.06),
        rgba(255,255,255,0.02)
    );
    border-radius: 20px;
}
@media (min-width: 1400px) {
    .post-job-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* =========================================
   FORCE FULL-WIDTH POST JOB PAGE
   ========================================= */

/* Kill theme containers */
.post-job-page,
.post-job-page .post-job-wrapper,
.post-job-page .container,
.post-job-page .site-content,
.post-job-page .wrap {
    max-width: none !important;
    width: 100% !important;
}

/* Main wrapper */
.post-job-wrapper {
    margin: 0 !important;
    padding: 32px 40px;
    border-radius: 0 !important; /* optional */
}

/* Form grid */
.post-job-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 36px;
}

/* Full-width rows */
.post-job-grid .full-width {
    grid-column: 1 / -1;
}

@media (min-width: 1400px) {
    .post-job-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* === Job Single Attachment Preview Grid === */
.job-attach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 180px);
    gap: 14px;
    margin-top: 16px;
}

.job-attach-card {
    width: 180px;
    height: 230px;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.job-attach-preview {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
}

.job-attach-preview img,
.job-attach-preview iframe {
    width: 100%;
    height: 100%;
    border: none;
    object-fit: contain;
}

.job-attach-doc {
    text-align: center;
    padding: 12px;
    color: #e5e7eb;
    font-size: 12px;
}

.job-attach-doc-icon {
    font-size: 42px;
    margin-bottom: 10px;
}

.job-attach-actions {
    padding: 8px;
    text-align: center;
    background: rgba(0,0,0,0.55);
}

.job-attach-actions a {
    display: inline-block;
    padding: 6px 14px;
    background: #2563eb;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
}

.job-attach-actions a:hover {
    background: #1d4ed8;
}
#amk-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 180px);
    gap: 14px;
}

.amk-preview-card {
    position: relative;
    background: rgba(0,0,0,0.35);
    border-radius: 12px;
    overflow: hidden;
}

.amk-remove-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    cursor: pointer;
}
#amk-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 180px);
    gap: 14px;
}

.amk-preview-card {
    position: relative;
    background: rgba(0,0,0,0.35);
    border-radius: 12px;
    overflow: hidden;
}

.amk-remove-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    cursor: pointer;
}


#amk-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 180px);
    gap: 14px;
    margin-top: 14px;
}

.amk-preview-card {
    position: relative;
    width: 180px;
    height: 230px;
    background: rgba(0,0,0,0.35);
    border-radius: 12px;
    overflow: hidden;
}

.amk-preview-card img,
.amk-preview-card iframe {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: none;
}

.amk-remove-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(0,0,0,0.7);
    color: #fff;
    text-align: center;
    line-height: 26px;
    cursor: pointer;
    z-index: 10;
}

/* ===============================
   JOB HERO SEARCH – 3D GLASS
================================ */

.jobs-search-bar,
.jobs-hero-search,
.jobs-search-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 30px auto 40px;
}

.jobs-search-form input,
.jobs-search-form select,
.jobs-search-form button {
    height: 48px;
    padding: 0 18px;
    background: linear-gradient(
        145deg,
        rgba(255,255,255,0.08),
        rgba(255,255,255,0.02)
    );
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    color: #fff;
    font-size: 14px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.15),
        0 12px 28px rgba(0,0,0,0.55);
    transition: all .3s ease;
}

/* Hover depth */
.jobs-search-form input:hover,
.jobs-search-form select:hover {
    transform: translateY(-1.5px);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.25),
        0 18px 38px rgba(0,0,0,0.75);
}

/* Search button emphasis */
.jobs-search-form button {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    font-weight: 600;
    cursor: pointer;
}

.jobs-search-form button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 22px 46px rgba(79,70,229,0.6),
        inset 0 1px 0 rgba(255,255,255,0.35);
}


/* ===============================
   JOB CARDS – 3D GLASS MORPHISM
================================ */

.job-card,
.jobs-grid .job-item,
.jobs-listing .job-card {
    position: relative;
    background: linear-gradient(
        145deg,
        rgba(255,255,255,0.06),
        rgba(255,255,255,0.02)
    );
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.12),
        0 18px 42px rgba(0,0,0,0.65);
    transform-style: preserve-3d;
    transition: all .35s ease;
}

/* 3D hover lift */
.job-card:hover,
.jobs-grid .job-item:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.18),
        0 30px 80px rgba(0,0,0,0.9),
        0 0 40px rgba(79,70,229,0.35);
}

/* Card inner depth */
.job-card * {
    transform: translateZ(6px);
}


.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 26px;
    padding: 20px;
}


/* ===============================
   USA MAP – CENTER + DEPTH
================================ */

.jobs-map-wrap,
.jobs-usa-map,
#usa-map {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px auto;
    padding: 20px;
}

/* SVG map glass base */
.jobs-usa-map svg,
#usa-map svg {
    max-width: 860px;
    width: 100%;
    background: radial-gradient(
        circle at center,
        rgba(255,255,255,0.05),
        rgba(0,0,0,0.65)
    );
    border-radius: 22px;
    padding: 24px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.12),
        0 30px 80px rgba(0,0,0,0.75),
        0 0 60px rgba(99,102,241,0.25);
}




/* =========================================
   JOBS PAGE — ENSURE CITY PANEL VISIBLE
========================================= */

body.page-jobs
.usa-location-dropdown {
  overflow: visible;
  max-height: none;
}

body.page-jobs
.usa-location-dropdown .city-list,
body.page-jobs
.usa-location-dropdown .usa-cities {
  display: block;
  max-height: 320px;
  overflow-y: auto;
}

body.page-jobs .usa-location-dropdown {
  overflow: hidden;
}

/* =========================================
   JOBS PAGE — FIX DOUBLE SCROLL IN LOCATION
========================================= */

/* Outer dropdown must NOT scroll */
body.page-jobs .usa-location-dropdown {
  overflow: hidden !important;
}

/* State list (LEFT) */
body.page-jobs .usa-location-dropdown .usa-states {
  max-height: 320px;
  overflow-y: auto;
}

/* City list (RIGHT) */
body.page-jobs .usa-location-dropdown .usa-cities {
  max-height: 320px;
  overflow-y: auto;
}

/* ===== Jobs Form Enhancements ===== */

.field-posting-as {
  margin-top: 14px;
}

.field-posting-as select {
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  background: rgba(0,0,0,.35);
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
}

/* Optional: smooth hide */
.field-price,
.field-condition,
.field-deal-type,
.field-images {
  transition: opacity .2s ease;
}

/* ===============================
   JOBS – EMPLOYER FORM LAYOUT
================================ */

.amk-job-employer-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  margin-top: 12px;
}

/* Make textarea full width */
.amk-job-employer-fields .amk-form__row:last-child {
  grid-column: 1 / -1;
}

/* Ensure Job Responsibilities is full width */
#amk_description {
  width: 100%;
}
.amk-job-employer-fields {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

/* =====================================
   JOBS – TITLE + POSTING AS SAME ROW
===================================== */

/* Make inline rows 2-column */
.amk-inline-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Only for Jobs inline layout */
.amk-inline-row .amk-job-inline {
  margin-top: 0;
}

/* =====================================
   JOBS – EMPLOYER / CANDIDATE FIELDS
===================================== */

/* Force job-specific fields BELOW inline row */
.amk-job-employer-fields,
.amk-job-candidate-fields {
  display: block;
  margin-top: 12px;
}

/* Each field full width */
.amk-job-employer-fields .amk-form__row,
.amk-job-candidate-fields .amk-form__row {
  width: 100%;
}

/* Nice spacing */
.amk-job-employer-fields .amk-form__row,
.amk-job-candidate-fields .amk-form__row {
  margin-bottom: 12px;
}

/* ===============================
   JOBS – FORCED ROW LAYOUT
================================ */

.amk-job-row {
  display: grid;
  gap: 30px;
  margin-bottom: 14px;
}

/* 2-column row */
.amk-job-row.two {
  grid-template-columns: 1fr 1fr;
}

/* 3-column row */
.amk-job-row.three {
  grid-template-columns: 1fr 1fr 1fr;
}

/* Full-width row */
.amk-job-row.full {
  grid-template-columns: 1fr;
}
/* ===============================
   ATTACHMENTS PREVIEW
================================ */
.amk-attach-preview {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.amk-attach-item {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.amk-attach-item img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
}

.amk-attach-item button {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ff4d4d;
  color: #fff;
  border: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
}

.amk-doc {
  font-size: 12px;
  text-align: center;
}

/* ===============================
   MATRIMONIAL GRID SUPPORT
================================ */

/* 4-column row */
.amk-job-row.four {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.amk-matrimonial-row.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.amk-matrimonial-row.two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.amk-matrimonial-row.full {
  display: grid;
  grid-template-columns: 1fr;
}

.status-applied { color: #60a5fa; }
.status-reviewed { color: #fbbf24; }
.status-shortlisted { color: #4ade80; }
.status-rejected { color: #f87171; }




/* ===============================
   LOCATION CUSTOM DROPDOWN
================================ */

.job-location-wrapper {
  position: relative;
  width: 100%;
}

#job_location_input {
  width: 100%;
  cursor: pointer;
}

#job-location-dropdown {
  display: none;                  /* JS sets display:flex to open */
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 9999;
  width: 520px;
  border-radius: 16px;
  background: rgba(20, 24, 36, 0.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  overflow: hidden;
  flex-direction: row;
}

/* ================================
   LEFT COLUMN – States + Search
   ────────────────────────────────
   IMPORTANT: All these rules used to be bare-class selectors
   (.state-list, .states, .state-item, .city-list, .cities,
   .city-item, .city-header). The unified usa-location-dropdown
   plugin uses the SAME class names — so unscoped rules from
   this old job-location-dropdown widget were leaking onto the
   plugin's dropdown on classified pages, breaking layout.
   Now scoped to .job-location-dropdown parent.
================================ */
.job-location-dropdown .state-list {
  display: flex;
  flex-direction: column;
  width: 210px;
  min-width: 210px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

/* Search box at top of state column */
.job-location-dropdown .state-search {
  flex-shrink: 0;
  margin: 8px 10px 4px;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.40);
  color: #fff;
  font-size: 13px;
  outline: none;
  box-sizing: border-box;
}

.job-location-dropdown .state-search::placeholder {
  color: rgba(255,255,255,0.40);
}

/* Scrollable state items below the search */
.job-location-dropdown .states {
  flex: 1;
  overflow-y: auto;
  padding: 4px 0;
  max-height: 320px;
}

.job-location-dropdown .states::-webkit-scrollbar { width: 4px; }
.job-location-dropdown .states::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }

.job-location-dropdown .state-item {
  padding: 9px 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.job-location-dropdown .state-item:hover {
  background: rgba(77,163,255,0.18);
  color: #4da3ff;
}

.job-location-dropdown .state-empty {
  padding: 10px 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  font-style: italic;
}

/* ================================
   RIGHT COLUMN – Cities (scroll only, no search)
================================ */
.job-location-dropdown .city-list {
  display: none;               /* shown by JS on state hover */
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.job-location-dropdown .city-header {
  flex-shrink: 0;
  padding: 10px 14px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #4da3ff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Cities scroll directly — no search input */
.job-location-dropdown .cities {
  flex: 1;
  overflow-y: auto;
  padding: 4px 0;
  max-height: 340px;
}

.job-location-dropdown .cities::-webkit-scrollbar { width: 4px; }
.job-location-dropdown .cities::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }

.job-location-dropdown .city-item {
  padding: 8px 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.80);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.job-location-dropdown .city-item:hover {
  background: rgba(77,163,255,0.15);
  color: #fff;
}

.job-location-dropdown .city-empty {
  padding: 12px 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  font-style: italic;
}

/* ================================
   MOBILE – stack columns
================================ */
@media (max-width: 600px) {
  #job-location-dropdown {
    width: 100%;
    flex-direction: column;
  }

  .job-location-dropdown .state-list {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    max-height: 200px;
  }

  .job-location-dropdown .city-list {
    max-height: 200px;
  }
}

/* Ensure shortcode input fills grid cell */
.jobs-search-field .usa-location-container,
.jobs-search-field .usa-location {
  width: 100%;
}

.status-applied { color: #60a5fa; }
.status-withdrawn { color: #9ca3af; }
.status-reviewed { color: #fbbf24; }
.status-shortlisted { color: #4ade80; }
.status-rejected { color: #f87171; }


/* ============================================================
 * job-post-morphism.css — minimal placeholder
 * ------------------------------------------------------------
 * The original file at this path has been lost from the theme.
 * This placeholder stops the 404 console error. It contains
 * minimal "morphism" styling for the post-job form glass look.
 * If you ever recover the original, replace this file.
 *
 * Path: wp-content/themes/AmericanMarket/css/job-post-morphism.css
 * ============================================================ */

/* Outfit font loading is handled by functions.php. Just apply it
   to the post-job form. */
.amk-job-form,
.amk-job-form input,
.amk-job-form select,
.amk-job-form textarea,
.amk-job-form button {
    font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Glassy form panel */
.amk-job-form-wrap {
    max-width: 760px;
    margin: 24px auto;
    padding: 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    color: #fff;
}

.amk-job-form .amk-job-row {
    margin-bottom: 16px;
}

.amk-job-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0.9;
}

.amk-job-form input[type="text"],
.amk-job-form input[type="email"],
.amk-job-form input[type="number"],
.amk-job-form input[type="url"],
.amk-job-form select,
.amk-job-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s ease, background 0.15s ease;
    box-sizing: border-box;
}

.amk-job-form input:focus,
.amk-job-form select:focus,
.amk-job-form textarea:focus {
    border-color: rgba(120, 200, 255, 0.7);
    background: rgba(255, 255, 255, 0.12);
}

.amk-job-form button[type="submit"] {
    padding: 12px 24px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #28a7ff, #1167c4);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(40, 167, 255, 0.45);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.amk-job-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(40, 167, 255, 0.55);
}

/* Attachment preview grid for the job uploader */
#amk-preview-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.amk-preview-card {
    position: relative;
    width: 180px;
    height: 230px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 10px;
    overflow: hidden;
}

.amk-remove-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
    font-size: 15px;
    line-height: 1;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
}

.amk-doc-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
}

.amk-doc-icon {
    font-size: 48px;
    margin-bottom: 8px;
}


/* ✅ FORCE IMAGE SECTION */
.job-card__media,
.job-card__media-link {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
}
.job-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
/* ✅ STOP TEXT FLOATING ABOVE IMAGE */

.job-card__title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.job-card__meta {
  font-size: 13px;
  opacity: 0.8;
}
/* ✅ FINAL OVERRIDE — FIX JOB CARD LAYOUT */
.job-card * {
  transform: none !important;
}


.job-card {
  display: flex !important;
  flex-direction: column !important;
}

.job-card__media {
  width: 100%;
  aspect-ratio: 1 / 1;
}



/* ✅ STOP GLOBAL OVERLAY CONFLICT */
.amk-g-overlay,
.job-card .amk-g-overlay {
  position: static !important;
  transform: none !important;
  background: none !important;
}
.job-card__media {
  position: relative;
  z-index: 1;
}


/* ✅ FINAL FIX — JOB INFO BELOW IMAGE */
.job-card__info {
    position: static !important;   /* 🔥 break overlay */
    transform: none !important;    /* 🔥 remove float */
    width: 100%;
    padding: 12px 14px;
    background: transparent;
}
.job-card {
    display: flex !important;
    flex-direction: column !important;
}
.job-card__media-link,
.job-card__media {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.job-card__info {
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
}
.job-card * {
    transform: none !important;
}


 /* ─────────────────────────────────────────────────────────────
           Grid rules (.amk-grid.amk-cols-5 and .amk-grid.amk-cols-6)
           are now defined SOLELY in unified-cards.css. They were
           previously duplicated here and caused the latest-listings
           6-col grid to collapse to 5 cols at <1400px viewport,
           because this <style> block loads after the external CSS
           and its media query targeted .amk-grid.amk-cols-6 globally.
           DO NOT re-add column rules here.
           ───────────────────────────────────────────────────────────── */

        /* === Job card — overlay layout (matches matrimonial cards) === */
        .job-card {
            position: relative;
            padding: 0 !important;
            overflow: hidden;
            aspect-ratio: 3 / 4;
            /* taller portrait — fits more info */
            background-position: center top;
            background-repeat: no-repeat;
            background-size: cover;
            background-color: #0e1726;
            border-radius: 14px;
            min-height: 380px;
        }

        @supports not (aspect-ratio: 3 / 4) {
            .job-card {
                height: 460px;
            }
        }

        /* Clickable overlay covers the whole card */
        .job-card .job-card__overlay {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: flex-end;
            text-decoration: none;
            color: #fff;
            /* Stronger dark gradient — info area takes ~60% of card */
            background: linear-gradient(to top,
                    rgba(0, 0, 0, 0.92) 0%,
                    rgba(0, 0, 0, 0.80) 40%,
                    rgba(0, 0, 0, 0.45) 60%,
                    rgba(0, 0, 0, 0.10) 80%,
                    rgba(0, 0, 0, 0) 100%);
        }

        .job-card .job-card__info {
            width: 100%;
            padding: 14px 14px 16px;
            color: #fff;
        }

        .job-card .job-card__title {
            margin: 0 0 8px;
            font-size: 17px;
            font-weight: 700;
            line-height: 1.2;
            color: #fff;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
        }

        .job-card .job-card__info p {
            margin: 3px 0;
            font-size: 12px;
            line-height: 1.35;
            color: #f0f4ff;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .job-card .job-card__info p strong {
            color: #ffd166;
            font-weight: 600;
        }

        /* Role badge — top-left, like the BRIDE/GROOM tag */
        .job-card .job-card__role-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            z-index: 4;
            padding: 4px 10px;
            font-size: 12px;
            font-weight: 600;
            color: #fff;
            background: rgba(255, 80, 80, 0.85);
            border-radius: 999px;
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
        }

        /* === Share button on job cards ===
         * Let sharegrids.css handle the actual menu look (matches classified
         * home page). Here we only force the wrapper visible and position it
         * to the LEFT of the heart button so they don't overlap. */
        .job-card {
            position: relative;
        }

        .job-card .amk-share-wrap {
            position: absolute !important;
            top: 12px !important;
            right: 64px !important;
            /* clear gap from the heart button */
            z-index: 5;
            display: inline-block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }

        .job-card .amk-share-btn {
            display: inline-flex !important;
            visibility: visible !important;
            opacity: 1 !important;
        }

        /* ============================================================
         *  JOBS HOME PAGE — element styling (no outer panels)
         *
         *  We DO NOT wrap .jobs-hero-search, .jobs-submenu or .jobs-map in
         *  outer glass containers. The inputs / pills / map already look
         *  good on their own — adding an outer panel creates a "double
         *  back shape" (panel inside panel) that looks visually heavy.
         *  Map styling itself is handled by jobs.css (.jobs-map svg#svg2).
         * ============================================================ */

        /* Search hero — flex layout only, NO outer panel */
        .jobs-hero-search {
            display: flex !important;
            justify-content: center;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            max-width: 1100px;
            margin: 28px auto;
            padding: 0;
            background: transparent;
            border: none;
            box-shadow: none;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
        }

        .jobs-hero-search input,
        .jobs-hero-search select {
            height: 46px;
            padding: 0 16px;
            min-width: 180px;
            color: #fff;
            background: linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03));
            border: 1px solid rgba(255, 255, 255, 0.14);
            border-radius: 12px;
            font-size: 14px;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.18),
                0 6px 14px rgba(0, 0, 0, 0.35);
            transition: all 0.25s ease;
        }

        .jobs-hero-search input::placeholder {
            color: rgba(255, 255, 255, 0.55);
        }

        .jobs-hero-search input:focus,
        .jobs-hero-search select:focus {
            outline: none;
            border-color: rgba(120, 160, 255, 0.55);
            transform: translateY(-1px);
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.25),
                0 10px 22px rgba(0, 0, 0, 0.5),
                0 0 0 3px rgba(120, 160, 255, 0.18);
        }

        .jobs-hero-search select option {
            color: #111;
        }

        .jobs-hero-search button {
            height: 46px;
            padding: 0 22px;
            color: #fff;
            font-weight: 600;
            font-size: 14px;
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 12px;
            background: linear-gradient(135deg, #2563eb 0%, #6b3df7 100%);
            cursor: pointer;
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.30),
                0 10px 22px rgba(79, 70, 229, 0.45);
            transition: all 0.25s ease;
        }

        .jobs-hero-search button:hover {
            transform: translateY(-2px);
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.40),
                0 16px 32px rgba(79, 70, 229, 0.6);
        }





        /* Submenu — flex centering only, NO outer panel */
        .jobs-submenu {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 15px;
            /* Spacing between buttons */
            padding: 20px;
        }

        .jobs-submenu a {
            color: #fff;
            text-decoration: none;
            font-weight: 500;
            padding: 12px 24px;
            border-radius: 15px;
            transition: all 0.3s ease;

            /* 3D Neumorphism - Dark Base */
            background: #102941;
            border: 1px solid rgba(0, 217, 255, 0.2);
            box-shadow:
                5px 5px 10px #050506,
                -5px -5px 10px #0f0f12,
                inset 1px 1px 2px rgba(255, 255, 255, 0.1);

            /* Neon Text */
            text-shadow: 0 0 8px rgba(0, 217, 255, 0.6);
            position: relative;
            overflow: hidden;
        }

        .jobs-submenu a:hover {
            /* Hover - Glowing 3D effect */
            background: #0d0f10;
            box-shadow:
                2px 2px 5px #050506,
                -2px -2px 5px #0f0f12,
                inset 0 0 10px rgba(0, 217, 255, 0.4),
                0 0 20px rgba(0, 217, 255, 0.3);
            color: #fff;
            text-shadow: 0 0 10px #fff;
        }

        .jobs-submenu a:active {
            /* Active - Pressed 3D effect */
            box-shadow:
                inset 5px 5px 10px #050506,
                inset -5px -5px 10px #0f0f12;
        }

        /* USA map — DO NOTHING here. jobs.css owns .jobs-map and
           .jobs-map svg#svg2 rules. Just make sure the heading is centered
           and the section has space around it. */
        .jobs-map h3 {
            margin: 0 0 14px;
            color: #fff;
            font-size: 18px;
            font-weight: 700;
            letter-spacing: 0.3px;
            text-align: center;
        }

        /* Section headings (Employer Hiring / Candidate Looking for Job)
           — wrap heading with subtle glass underline */
        .amk-grid.amk-cols-5+h2,
        h2:has(+ .amk-grid.amk-cols-5),
        body h2 {
            /* generic safe — only enhance the two relevant headings via pattern below */
        }

        /* More targeted: container heading style */
        .jobs-section-title,
        body>main h2,
        article h2,
        .entry-content h2 {
            /* Don't over-target — let pages style their own h2s. */
        }

        /* Wrap the two job container H2s + grid into a glass panel.
           (Pure CSS — no markup change.) */
        h2+.amk-grid.amk-cols-5 {
            margin-top: -8px;
        }

        /* Render H2 + grid as a unified glass panel using ::before on each h2 directly preceding amk-grid.amk-cols-5 */
        body h2:has(+ .amk-grid.amk-cols-5) {
            display: inline-block;
            margin: 28px auto 14px;
            padding: 10px 22px;
            color: #fff;
            font-size: 22px;
            font-weight: 700;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03));
            border: 1px solid rgba(255, 255, 255, 0.14);
            border-radius: 14px;
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.20),
                0 12px 26px rgba(0, 0, 0, 0.45);
        }

        /* The grid below the h2 — wrap as glass panel */
        h2+.amk-grid.amk-cols-5 {
            padding: 22px;
            background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
            border: 1px solid rgba(255, 255, 255, 0.10);
            border-radius: 22px;
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.14),
                0 18px 38px rgba(0, 0, 0, 0.55);
        }

        /* Mobile tweaks */
        @media (max-width: 700px) {
            .jobs-hero-search {
                padding: 16px;
                gap: 8px;
            }

            .jobs-hero-search input,
            .jobs-hero-search select,
            .jobs-hero-search button {
                width: 100%;
                min-width: 0;
            }

            .jobs-map {
                padding: 14px;
            }

            h2+.amk-grid.amk-cols-5 {
                padding: 14px;
            }
        }
        
        
        
        /* ✅ FIX JOB GRID IMAGE (NO CROP) */
.amk-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;   /* ✅ IMPORTANT FIX */
    background: #0b1226;              /* optional dark bg */
}
.amk-card__media {
    height: 180px;   /* adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.amk-card__media img {
    padding: 10px;
}