/* =========================================================
   PESO JOB MATCHING SYSTEM - UNIVERSAL MOBILE LAYER
   Added as the last stylesheet so it can safely override
   desktop-first rules without changing business logic.
========================================================= */

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { min-width: 0 !important; }

*, *::before, *::after { box-sizing: border-box; }
img, video, canvas, svg { max-width: 100%; }

@media (max-width: 900px) {
  .container, .main-container, .content-container,
  .form-page, .employer-container, .application-container {
    width: 100% !important;
    max-width: 100% !important;
  }

  .stats-row, .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .charts-row, .row.cols-3 { grid-template-columns: 1fr !important; }
  .row.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }

  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }

  .table-wrap, .table-responsive, .history-table-wrap, .data-table-wrap,
  .table-container, .details-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .table-wrap table, .table-responsive table, .history-table-wrap table,
  .data-table-wrap table, .table-container table, .details-table-wrap table {
    min-width: 680px;
  }
}

@media (max-width: 768px) {
  body { font-size: 14px !important; }

  /* General page spacing */
  main, .main, .main-area, .content, .page-content {
    width: 100% !important;
    max-width: 100% !important;
  }

  main { padding: 16px !important; }
  .main { padding: 18px 15px 35px !important; }

  /* Headers / toolbars */
  .topbar, .page-header, .panel-head, .card-head, .toolbar,
  .topbar-right, .form-actions, .action-row {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .topbar, .page-header { align-items: flex-start !important; }
  .topbar-right { width: 100%; justify-content: flex-start !important; }

  /* Forms */
  .form-grid, .row.cols-2 { grid-template-columns: 1fr !important; }
  .form-row { grid-template-columns: 1fr !important; }
  .form-group { min-width: 0 !important; width: 100% !important; }
  input, select, textarea, button { max-width: 100% !important; }
  input, select, textarea { min-height: 44px; }
  textarea { min-height: 110px; }
  button, .btn, .btn-primary, .btn-secondary, .action-btn,
  .btn-solid, .btn-outline, .btn-red { min-height: 42px; }

  /* Cards */
  .card, .panel, .edit-card, .profile-card, .details-card,
  .auth-card, .register-card, .job-card, .filter-card, .history-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  .stats-row, .stat-grid, .row.cols-4 { grid-template-columns: 1fr !important; }

  /* Tables stay usable by horizontal scrolling instead of crushing columns. */
  table { font-size: 12px; }
  table:not(.no-mobile-scroll) { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table:not(.no-mobile-scroll) th, table:not(.no-mobile-scroll) td { white-space: nowrap; }

  /* Navigation */
  .site-header { flex-wrap: wrap !important; }
  .site-nav { max-width: 100% !important; }
  .site-nav a { min-height: 42px; }

  /* Job/search sections */
  .search-bar { width: 100% !important; max-width: 100% !important; display: grid !important; grid-template-columns: 1fr !important; gap: 10px !important; }
  .search-bar input, .search-bar select, .search-bar button { width: 100% !important; }

  /* Images / profiles */
  .profile-card img, .company-logo, .profile-picture { max-width: 100%; height: auto; }

  /* Prevent long text from forcing the viewport wider. */
  p, h1, h2, h3, h4, h5, h6, label, td, th, .description, .job-description {
    overflow-wrap: anywhere;
  }

  /* Keep dialogs/forms inside the phone viewport. */
  .modal, .modal-content, .dialog, .popup {
    max-width: calc(100vw - 24px) !important;
  }
}

@media (max-width: 520px) {
  body { font-size: 13px !important; }

  main { padding: 12px !important; }
  .main { padding: 14px 12px 30px !important; }

  h1 { font-size: 22px !important; }
  h2 { font-size: 19px !important; }
  h3 { font-size: 17px !important; }

  .card, .panel, .edit-card, .profile-card, .details-card,
  .auth-card, .register-card { padding: 14px !important; border-radius: 10px !important; }

  .toolbar, .form-actions { width: 100%; }
  .toolbar > *, .form-actions > * { width: 100% !important; }

  .user-chip .name, .date-chip { max-width: 100%; }

  /* Employer sidebar: existing mobile layout is retained, but made touch-friendly. */
  .sidebar nav a { min-height: 44px; }
  .sidebar .logout-link { min-height: 44px; }

  /* Job cards / list rows */
  .job-card, .option-card, .stat-card { margin-left: 0 !important; margin-right: 0 !important; }
  .job-card .actions, .job-actions, .card-actions { width: 100%; display: flex; flex-direction: column; gap: 8px; }
  .job-card .actions > *, .job-actions > *, .card-actions > * { width: 100% !important; }

  /* Authentication and registration */
  .login-card, .register-card, .auth-card { margin: 10px auto !important; }
  .register-container, .login-container { width: 100% !important; padding: 12px !important; }
}

@media (max-width: 380px) {
  main { padding: 10px !important; }
  .main { padding: 12px 10px 25px !important; }
  h1 { font-size: 20px !important; }
  h2 { font-size: 18px !important; }
  input, select, textarea { font-size: 16px !important; }
}

/* Final overflow safeguards for nested flex/grid layouts. */
.dash-shell > *, .main-area, .main, .content, .page-content,
.card, .panel, .form-page, .form-container, .register-card, .auth-card {
  min-width: 0;
}

@media (max-width: 768px) {
  .dash-shell, .main-area, .content-area { width: 100% !important; max-width: 100% !important; }
  .field-row, .input-row, .form-row, .profile-row { min-width: 0 !important; }
}


/* =========================================================
   EMPLOYER DASHBOARD v25 - FINAL MOBILE HEADER
   The mobile header is a two-part row:
   [hamburger + title/subtitle] [notification + company profile]
========================================================= */
@media (max-width: 768px) {
  html, body { overflow-x:hidden !important; }

  .main { width:100% !important; max-width:100% !important; margin:0 !important; padding:12px 10px 28px !important; }

  .topbar {
    position:relative !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    width:100% !important;
    min-width:0 !important;
    min-height:58px !important;
    margin:0 0 14px !important;
    padding:0 !important;
    gap:8px !important;
    flex-wrap:nowrap !important;
  }

  /* Left side: hamburger occupies column 1; greeting occupies column 2. */
  .topbar > div:first-child {
    display:grid !important;
    grid-template-columns:38px minmax(0,1fr) !important;
    grid-template-rows:auto auto !important;
    align-items:center !important;
    column-gap:7px !important;
    row-gap:1px !important;
    min-width:0 !important;
    flex:1 1 auto !important;
    width:auto !important;
    margin:0 !important;
  }

  .topbar > div:first-child > .employer-mobile-toggle {
    grid-column:1 !important;
    grid-row:1 / span 2 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
    max-width:38px !important;
    min-height:38px !important;
    max-height:38px !important;
    margin:0 !important;
    padding:0 !important;
    border:1px solid #d8e4dc !important;
    border-radius:9px !important;
    background:#fff !important;
    color:#176b3a !important;
    font-size:20px !important;
    line-height:1 !important;
    cursor:pointer !important;
    box-shadow:0 2px 7px rgba(0,0,0,.08) !important;
    position:relative !important;
    z-index:10030 !important;
  }

  .topbar h1 {
    grid-column:2 !important;
    grid-row:1 !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    font-size:20px !important;
    line-height:1.1 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  .topbar .sub {
    grid-column:2 !important;
    grid-row:2 !important;
    min-width:0 !important;
    margin:1px 0 0 !important;
    padding:0 !important;
    font-size:11px !important;
    line-height:1.2 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  /* Right side: notification + company profile stay on the same row. */
  .topbar > div:last-child {
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    flex:0 0 auto !important;
    width:auto !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
  }

  .topbar-right {
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    flex-wrap:nowrap !important;
    gap:7px !important;
    width:auto !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
  }

  .bell-wrap {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:30px !important;
    height:36px !important;
    flex:0 0 30px !important;
  }

  .user-chip {
    display:flex !important;
    align-items:center !important;
    gap:6px !important;
    flex:0 0 auto !important;
    min-width:0 !important;
  }

  .user-chip .avatar-circle {
    width:36px !important;
    height:36px !important;
    min-width:36px !important;
    min-height:36px !important;
    max-width:36px !important;
    max-height:36px !important;
    border-radius:50% !important;
    overflow:hidden !important;
    flex:0 0 36px !important;
  }

  .user-chip .name {
    display:block !important;
    max-width:78px !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    font-size:11px !important;
    line-height:1.1 !important;
  }

  .user-chip .role { font-size:9px !important; line-height:1.1 !important; }

  /* The date belongs below the desktop header; on phones it causes wrapping. */
  .date-chip { display:none !important; }
}

@media (max-width:390px) {
  .topbar { gap:5px !important; }
  .topbar > div:first-child { grid-template-columns:36px minmax(0,1fr) !important; column-gap:6px !important; }
  .topbar > div:first-child > .employer-mobile-toggle { width:36px !important; height:36px !important; min-width:36px !important; }
  .topbar h1 { font-size:19px !important; }
  .topbar-right { gap:5px !important; }
  .bell-wrap { width:28px !important; flex-basis:28px !important; }
  .user-chip .name { max-width:60px !important; }
}


/* EMPLOYER DASHBOARD v27: header toggle belongs to the left block */
@media (max-width:768px) {
  .topbar > .employer-mobile-toggle { display:none !important; }
  .topbar > div:first-child { position:relative !important; z-index:10020 !important; }
  .topbar > div:first-child > .employer-mobile-toggle {
    display:flex !important;
    position:relative !important;
    z-index:10031 !important;
    pointer-events:auto !important;
    touch-action:manipulation !important;
  }
  .topbar > div:first-child > h1,
  .topbar > div:first-child > .sub { position:relative !important; z-index:10020 !important; }
  .topbar { overflow:visible !important; }
}


/* EMPLOYER MOBILE NAV v28 - functional sidebar drawer */
@media (max-width: 760px) {
  .employer-mobile-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,0,0,.42) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: 210 !important;
    transition: opacity .2s ease, visibility .2s ease !important;
  }
  .employer-mobile-overlay.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  .sidebar {
    position: fixed !important;
    left: 0 !important; top: 0 !important; bottom: 0 !important;
    width: 230px !important; height: 100vh !important;
    transform: translateX(-105%) !important;
    z-index: 220 !important;
    transition: transform .25s ease !important;
    overflow-y: auto !important;
  }
  .sidebar.open { transform: translateX(0) !important; }
  .employer-mobile-toggle {
    position: relative !important; z-index: 10040 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
  }
  body.employer-menu-open { overflow: hidden !important; }
}


/* =========================================================
   EMPLOYER DASHBOARD v29 - CLEAN SINGLE-ROW MOBILE HEADER
   [ hamburger ] [ greeting ] [ notification + profile ]
========================================================= */
@media (max-width: 768px) {
  .topbar {
    display:grid !important;
    grid-template-columns:40px minmax(0,1fr) auto !important;
    align-items:center !important;
    column-gap:8px !important;
    row-gap:0 !important;
    width:100% !important;
    min-height:58px !important;
    margin:0 0 14px !important;
    padding:0 !important;
    overflow:visible !important;
  }

  .topbar > div:first-child {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    grid-template-rows:auto auto !important;
    grid-column:2 !important;
    grid-row:1 !important;
    min-width:0 !important;
    width:auto !important;
    margin:0 !important;
    padding:0 !important;
    column-gap:0 !important;
    row-gap:1px !important;
  }

  .topbar > div:first-child > .employer-mobile-toggle {
    position:absolute !important;
    left:0 !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    display:flex !important;
    width:40px !important;
    height:40px !important;
    min-width:40px !important;
    max-width:40px !important;
    min-height:40px !important;
    max-height:40px !important;
    margin:0 !important;
    padding:0 !important;
    border:1px solid #d8e4dc !important;
    border-radius:9px !important;
    background:#fff !important;
    color:#176b3a !important;
    font-size:20px !important;
    line-height:1 !important;
    align-items:center !important;
    justify-content:center !important;
    z-index:10050 !important;
    pointer-events:auto !important;
    touch-action:manipulation !important;
  }

  .topbar h1 {
    grid-column:1 !important;
    grid-row:1 !important;
    margin:0 !important;
    padding:0 !important;
    min-width:0 !important;
    font-size:20px !important;
    line-height:1.1 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  .topbar .sub {
    grid-column:1 !important;
    grid-row:2 !important;
    margin:1px 0 0 !important;
    padding:0 !important;
    min-width:0 !important;
    font-size:11px !important;
    line-height:1.2 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  .topbar > div:last-child {
    grid-column:3 !important;
    grid-row:1 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    width:auto !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
  }

  .topbar-right {
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    flex-wrap:nowrap !important;
    width:auto !important;
    gap:7px !important;
    margin:0 !important;
    padding:0 !important;
  }

  .bell-wrap {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:30px !important;
    height:40px !important;
    min-width:30px !important;
    flex:0 0 30px !important;
  }

  .user-chip {
    display:flex !important;
    align-items:center !important;
    flex-wrap:nowrap !important;
    gap:6px !important;
    width:auto !important;
    min-width:0 !important;
    flex:0 0 auto !important;
  }

  .user-chip .avatar-circle {
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
    min-height:38px !important;
    max-width:38px !important;
    max-height:38px !important;
    border-radius:50% !important;
    overflow:hidden !important;
    flex:0 0 38px !important;
  }

  .user-chip > div:last-child {
    min-width:0 !important;
    display:block !important;
  }

  .user-chip .name {
    display:block !important;
    max-width:72px !important;
    margin:0 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    font-size:11px !important;
    line-height:1.1 !important;
  }

  .user-chip .role {
    display:block !important;
    font-size:9px !important;
    line-height:1.1 !important;
    white-space:nowrap !important;
  }

  .date-chip { display:none !important; }
}

@media (max-width:390px) {
  .topbar { grid-template-columns:38px minmax(0,1fr) auto !important; column-gap:6px !important; }
  .topbar > div:first-child > .employer-mobile-toggle { width:38px !important; height:38px !important; min-width:38px !important; }
  .topbar h1 { font-size:19px !important; }
  .topbar-right { gap:5px !important; }
  .bell-wrap { width:28px !important; min-width:28px !important; flex-basis:28px !important; }
  .user-chip .avatar-circle { width:36px !important; height:36px !important; min-width:36px !important; min-height:36px !important; flex-basis:36px !important; }
  .user-chip .name { max-width:58px !important; }
}


/* =========================================================
   EMPLOYER DASHBOARD v30 - LEFT HAMBURGER / SINGLE ROW HEADER
   Mobile structure: [hamburger] [greeting] [notification + profile]
========================================================= */
@media (max-width: 768px) {
  .topbar {
    position:relative !important;
    display:grid !important;
    grid-template-columns:40px minmax(0,1fr) auto !important;
    grid-template-rows:auto !important;
    align-items:center !important;
    column-gap:10px !important;
    row-gap:0 !important;
    width:100% !important;
    min-width:0 !important;
    min-height:58px !important;
    margin:0 0 14px !important;
    padding:0 !important;
    flex-wrap:nowrap !important;
    overflow:visible !important;
  }

  /* Hamburger is a direct child of topbar: fixed LEFT column. */
  .topbar > .employer-mobile-toggle {
    grid-column:1 !important;
    grid-row:1 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    justify-self:start !important;
    width:40px !important;
    height:40px !important;
    min-width:40px !important;
    max-width:40px !important;
    min-height:40px !important;
    max-height:40px !important;
    margin:0 !important;
    padding:0 !important;
    border:1px solid #d8e4dc !important;
    border-radius:9px !important;
    background:#fff !important;
    color:#176b3a !important;
    font-size:20px !important;
    line-height:1 !important;
    cursor:pointer !important;
    box-shadow:0 2px 7px rgba(0,0,0,.08) !important;
    position:relative !important;
    z-index:10050 !important;
    pointer-events:auto !important;
    touch-action:manipulation !important;
  }

  /* Greeting occupies the CENTER column, never the hamburger column. */
  .topbar > div:first-child {
    grid-column:2 !important;
    grid-row:1 !important;
    display:block !important;
    min-width:0 !important;
    width:auto !important;
    margin:0 !important;
    padding:0 !important;
    position:relative !important;
    z-index:10020 !important;
  }
  .topbar > div:first-child > .employer-mobile-toggle { display:none !important; }

  .topbar h1 {
    margin:0 !important;
    padding:0 !important;
    min-width:0 !important;
    font-size:20px !important;
    line-height:1.1 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }
  .topbar .sub {
    margin:1px 0 0 !important;
    padding:0 !important;
    min-width:0 !important;
    font-size:11px !important;
    line-height:1.2 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  /* Notification + company profile remain ONE ROW on the right. */
  .topbar > div:last-child {
    grid-column:3 !important;
    grid-row:1 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    width:auto !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
  }
  .topbar-right {
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    flex-wrap:nowrap !important;
    gap:7px !important;
    width:auto !important;
    margin:0 !important;
    padding:0 !important;
  }
  .bell-wrap {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:30px !important;
    height:40px !important;
    min-width:30px !important;
    flex:0 0 30px !important;
  }
  .user-chip {
    display:flex !important;
    align-items:center !important;
    flex-wrap:nowrap !important;
    gap:6px !important;
    width:auto !important;
    min-width:0 !important;
    flex:0 0 auto !important;
  }
  .user-chip .avatar-circle {
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
    min-height:38px !important;
    border-radius:50% !important;
    overflow:hidden !important;
    flex:0 0 38px !important;
  }
  .user-chip .name {
    display:block !important;
    max-width:70px !important;
    min-width:0 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    font-size:11px !important;
    line-height:1.1 !important;
  }
  .user-chip .role {
    display:block !important;
    font-size:9px !important;
    line-height:1.1 !important;
    white-space:nowrap !important;
  }
  .date-chip { display:none !important; }
}

@media (max-width:390px) {
  .topbar { grid-template-columns:40px minmax(0,1fr) auto !important; column-gap:9px !important; }
  .topbar > .employer-mobile-toggle { width:40px !important; height:40px !important; min-width:40px !important; }
  .topbar h1 { font-size:18px !important; }
  .topbar-right { gap:4px !important; }
  .bell-wrap { width:27px !important; min-width:27px !important; flex-basis:27px !important; }
  .user-chip .avatar-circle { width:35px !important; height:35px !important; min-width:35px !important; min-height:35px !important; flex-basis:35px !important; }
  .user-chip .name { max-width:54px !important; }
}

/* =========================================================
   EMPLOYER DASHBOARD v31 - CLEAN DRAWER LAYER + HEADER SPACING
   ========================================================= */
@media (max-width: 768px) {
  /* Keep the drawer above the entire dashboard header when open. */
  .sidebar {
    z-index: 120000 !important;
  }
  .employer-mobile-overlay {
    z-index: 119000 !important;
  }
  .topbar {
    position: relative !important;
    z-index: 100 !important;
    grid-template-columns: 42px minmax(0,1fr) auto !important;
    column-gap: 18px !important;
  }

  /* Hamburger: clearly separated from the greeting. */
  .topbar > .employer-mobile-toggle {
    display: flex !important;
    position: relative !important;
    z-index: 101 !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    margin: 0 !important;
  }

  /* Never allow the header controls to sit above the drawer. */
  body.employer-menu-open .topbar,
  body.employer-menu-open .topbar > div,
  body.employer-menu-open .topbar-right {
    z-index: 1 !important;
  }
  body.employer-menu-open .topbar > .employer-mobile-toggle {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Dedicated close button inside the drawer. */
  .employer-mobile-close {
    display: none;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border: 1px solid rgba(255,255,255,.55) !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #176b3a !important;
    font-size: 22px !important;
    line-height: 1 !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 2px 7px rgba(0,0,0,.12) !important;
    touch-action: manipulation !important;
  }
  .sidebar.open .employer-mobile-close {
    display: flex !important;
  }

  @media (max-width:390px) {
    .topbar {
      grid-template-columns: 42px minmax(0,1fr) auto !important;
      column-gap: 16px !important;
    }
    .topbar > .employer-mobile-toggle {
      width: 42px !important;
      height: 42px !important;
      min-width: 42px !important;
    }
    .topbar h1 { font-size: 18px !important; }
  }
}

/* EMPLOYER DASHBOARD v33 - close button is mobile-only.
   Do not show the drawer X on desktop/web. */
@media (min-width: 769px) {
  .employer-mobile-close {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}


/* =========================================================
   EMPLOYER NAV FINAL FIX
   - Hamburger only exists on mobile.
   - Hamburger disappears while the drawer is open.
   - No duplicate/lingering hamburger after nav clicks.
   ========================================================= */
.employer-mobile-toggle {
  display: none !important;
}

.employer-mobile-close {
  display: none !important;
}

@media (max-width: 768px) {
  .topbar > .employer-mobile-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
  }

  body.employer-menu-open .topbar > .employer-mobile-toggle {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body.employer-menu-open .employer-mobile-overlay {
    display: block !important;
  }

  body.employer-menu-open .sidebar {
    z-index: 120000 !important;
  }
}

@media (min-width: 769px) {
  .employer-mobile-toggle,
  .employer-mobile-close {
    display: none !important;
  }
}
