/* ---------- Mega Dropdown Styles ---------- */
.mega-dropdown {
  position: relative;
  display: inline-block;
}

.mega-dropdown > a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

/* ---------- Mega Dropdown Styles ---------- */
.mega-dropdown {
  position: relative;
  display: inline-block;
}

.mega-dropdown > a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.mega-dropdown-content ul {
    opacity: 1 !important;
    visibility: visible !important;
    position: unset !important;
    border: none !important;
    box-shadow: unset !important;
}

/* Hidden by default */
.mega-dropdown-content {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  width: auto; /* wide dropdown */
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 20px;
  z-index: 999;
  font-family: sans-serif;
  gap: 40px;
  flex-wrap: nowrap;
}

/* Show on hover */
.mega-dropdown:hover .mega-dropdown-content {
  display: flex; /* show as flex only on hover */
}

.mega-dropdown-content ul li a::after{
    content:unset !important;
}

.mega-column {
  flex: 1;
  min-width: 200px;
}

.mega-column h4 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
}

.mega-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-column ul li {
  margin-bottom: 6px;
  position: relative;
}

.mega-column ul li a {
  text-decoration: none;
  color: #333;
}

.mega-column ul li a:hover {
  text-decoration: underline;
}

.helper-text {
  font-size: 12px;
  font-style: italic;
  color: #666;
  margin-bottom: 10px;
}

/* ---------- Fly-out submenu ---------- */
.flyout ul.submenu {
  display: none;
  position: absolute !important;
  left: 100% !important;
  top: 0 !important;
  background-color: #fff !important;
  padding: 10px 15px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
  min-width: 180px !important;
}

.flyout:hover ul.submenu {
  display: block; /* show submenu on hover */
}

.icon-youtube {
  background: url('../imgs/template/icons/youtube.svg') no-repeat center center;
  transition-duration: 0.2s;
}

.icon-instagram {
  background: url('../imgs/template/icons/instagram.svg') no-repeat center center;
  transition-duration: 0.2s;
}

.mega-dropdown:hover .mega-dropdown-content li a {
    padding-left: 0px !important;
    padding-bottom: 0px !important;
}

.mega-dropdown:hover .mega-dropdown-content li a:hover {
    padding-left: 0px !important;
}


.mega-dropdown:hover .mega-dropdown-content ul {
    padding: 0px !important;
}

.mega-dropdown:hover .mega-dropdown-content {
    display: flex;
    padding-top: 0px;
}

/* ul.submenu.sub_specialties li {
    padding-left: 14px !important;
} */

ul.submenu.sub_specialties li {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    padding-left: 14px !important;
     margin-bottom: 0px;
}

ul.submenu.sub_specialties {
    width: 100%;
}

ul.submenu.sub_specialties a {
    padding-top: 0px !important;
}


ul.submenu.sub_specialties {
    height: 180px;
    overflow: auto;
}

.career_dropdown i{
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1 !important;
    font-size: 18px !important;
    opacity: 1;
    margin-left: 4px;
    position: absolute;
    top: 1px;
    right: -19px;
    color: #a0abb8;
}

.hidden-speciality {
  display: none;
  transition: all 0.3s ease;
}
.toggle-specialities {
  cursor: pointer;
  color: #0077b6;
  font-weight: 500;
  user-select: none;
}
.toggle-specialities:hover {
  text-decoration: underline;
}

.browse_by_jobs li{
  cursor: pointer;
}

 .side-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  right: 0;
  height: 100%;
  width: 400px; /* adjust as needed */
  background: #fff;
  box-shadow: -4px 0 12px rgba(0,0,0,0.2);
  animation: slideIn 0.3s forwards;
  overflow-y: auto;
}

.side-modal-content {
  padding: 20px;
}

.side-modal h3 {
  margin-top: 0;
  font-size: 20px;
  font-weight: bold;
}

.side-modal ul {
  list-style: none;
  padding: 0;
}

.side-modal ul li {
  margin: 8px 0;
}

.side-modal ul li a {
  text-decoration: none;
  color: #333;
}

.side-modal ul li a:hover {
  color: #0077cc;
}

.close-btn {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

@keyframes slideIn {
  from { right: -400px; opacity: 0; }
  to { right: 0; opacity: 1; }
}

.more-btn a{
  display: inline-block; /* only as wide as content */
  margin: 10px 0;
  padding: 6px 14px;
  background-color: #000; /* black */
  color: #fff !important;
  border: none;
  border-radius: 20px; /* pill shape */
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  transition: background-color 0.2s;
}

.more-btn a:hover {
  background-color: #333; /* slightly lighter on hover */
}

.modal-overlay {
  display: none; /* hidden by default */
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* semi-transparent black */
  z-index: 999; /* behind modal */
}

.mega-column h4 a{
    margin-bottom: 10px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    line-height: 0px !important;
    padding-top: 20px !important;
}


a.browse_by::before {
    width: auto !important;
}

a.browse_by::before {
    background-color: #fff !important;
}

a.get_started {
    width: 44%;
    padding-top: initial;
}

.browse_menu {
  width:auto !important;
}

.browse_menu::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px; /* space below text */
  width: 0;
  height: 2px;
  background-color: currentColor; /* underline uses li text color */
  transition: width 0.3s ease;
}

.browse_menu:hover::after {
  width: 100%;
}

#nurseModal a:hover{
  text-decoration: underline !important;
}

#specialtyModal a:hover{
  text-decoration: underline !important;
}

#workPreferModal a:hover{
  text-decoration: underline !important;
}

.saved-searches {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      border-bottom: 1px solid #e2e8f0;
      padding-bottom: 0.5rem;
      margin-bottom: 1.5rem;
    }

    .chip {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.4rem 0.8rem;
      border: 1px solid #cbd5e1;
      border-radius: 9999px;
      background: white;
      font-size: 0.9rem;
      font-weight: 500;
      color: #475569;
      cursor: pointer;
      transition: all 0.2s ease;
      position: relative;
    }
    .chip:hover {
      background: #f1f5f9;
    }
    .chip.active {
      background: #eff6ff;
      color: #2563eb;
      border-color: #2563eb;
    }
    .chip .dot {
      width: 8px;
      height: 8px;
      background: #f97316;
      border-radius: 50%;
    }
    .chip.add-new {
      border-style: dashed;
      color: #64748b;
    }
    .chip.add-new:hover {
      color: #2563eb;
      border-color: #2563eb;
      background: #f0f9ff;
    }

    .tooltip {
      position: absolute;
      left: 50%;
      top: 120%;
      transform: translateX(-50%);
      background: #1e293b;
      color: white;
      font-size: 0.75rem;
      padding: 4px 8px;
      border-radius: 4px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s;
      white-space: nowrap;
      z-index: 10;
    }
    .chip:hover .tooltip {
      opacity: 1;
    }

     .find-jobs-header button {
      background: #2563eb;
      color: white;
      border: none;
      padding: 8px 16px;
      border-radius: 6px;
      font-weight: 500;
      cursor: pointer;
      transition: 0.2s;
    }
    .find-jobs-header button:hover { background: #1d4ed8; }

    .btn-cancel {
      background: #f3f4f6;
      border: none;
      padding: 8px 14px;
      border-radius: 6px;
      cursor: pointer;
    }
    .btn-save {
      background: #2563eb;
      color: white;
      border: none;
      padding: 8px 14px;
      border-radius: 6px;
      cursor: pointer;
    }

    /* ---------- SAVED SEARCH TABS ---------- */
    .saved-searches-row {
      display: flex;
      gap: 8px;
      padding: 12px 24px;
      background: #fff;
      border-bottom: 1px solid #e5e7eb;
      overflow-x: auto;
    }
    .saved-search-tab {
      background: #f3f4f6;
      padding: 6px 14px;
      border-radius: 20px;
      font-size: 14px;
      cursor: pointer;
      position: relative;
      transition: 0.2s;
      white-space: nowrap;
    }
    .saved-search-tab.active {
      background: #2563eb;
      color: #fff;
      font-weight: 600;
    }
    .saved-search-tab.add-new {
      background: #e0f2fe;
      color: #0369a1;
      border: 1px dashed #7dd3fc;
      font-weight: 500;
    }
    .saved-search-tab .unsaved-dot {
      position: absolute;
      top: 4px;
      right: 6px;
      width: 8px;
      height: 8px;
      background: #facc15;
      border-radius: 50%;
      display: none;
    }
    .saved-search-tab.unsaved .unsaved-dot {
      display: inline-block;
    }
    .saved-search-tab.linked::after {
      content: "🔗";
      font-size: 13px;
      margin-left: 6px;
    }

    /* ---------- MANAGE SAVED SEARCHES ---------- */
    .manage-section {
      background: #fff;
      margin: 20px 24px;
      border-radius: 10px;
      border: 1px solid #e5e7eb;
      overflow: hidden;
    }
    .manage-header {
      background: #f3f4f6;
      padding: 12px 20px;
      font-weight: 600;
    }
    table {
      width: 100%;
      border-collapse: collapse;
    }
    th, td {
      padding: 12px 20px;
      border-bottom: 1px solid #e5e7eb;
      font-size: 14px;
      text-align: left;
    }
    tr:hover {
      background: #f9fafb;
    }
    .actions button {
      margin-right: 6px;
      padding: 4px 8px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 13px;
    }
    .btn-edit { background: #dbeafe; color: #1d4ed8; }
    .btn-duplicate { background: #fef9c3; color: #854d0e; }
    .btn-delete { background: #fee2e2; color: #991b1b; }
    .alert-pill {
      padding: 3px 8px;
      border-radius: 12px;
      font-size: 12px;
      font-weight: 500;
    }
    .alert-on { background: #dcfce7; color: #15803d; }
    .alert-off { background: #fee2e2; color: #991b1b; }

    .modal-cancel { background: #f3f4f6; }
    .modal-confirm { background: #dc2626; color:#fff; }

    /* ---------- SIDE DRAWER ---------- */
.edit_side_drawer .drawer { position: fixed; top: 0; right: -400px; width: 400px; height: 100%; background: #fff; box-shadow: -2px 0 8px rgba(0,0,0,0.2); transition: right 0.3s; z-index: 100; padding: 20px; overflow-y: auto; }
.edit_side_drawer .drawer.open { right: 0; }
.edit_side_drawer .drawer h3 { margin-top: 0; font-weight: 600; }
.edit_side_drawer .drawer .tabs { display: flex; border-bottom: 1px solid #ddd; margin-bottom: 15px; }
.drawer .tab { padding: 10px 15px; cursor: pointer; border-bottom: 2px solid transparent; }
.edit_side_drawer .drawer .tab.active { border-bottom: 2px solid #2563eb; font-weight: bold; }
.edit_side_drawer .tab-content { display: none; }
.edit_side_drawer .tab-content.active { display: block; }
.edit_side_drawer .drawer label { display: block; margin: 10px 0 5px; font-weight: 500; }
.edit_side_drawer .drawer input[type="text"], .drawer select, .drawer input[type="number"], .drawer input[type="time"] { width: 100%; padding: 6px; margin-bottom: 10px; box-sizing: border-box; }
.edit_side_drawer .drawer .buttons { margin-top: 20px; text-align: right; }
.edit_side_drawer .drawer .buttons button { margin-left: 10px; padding: 8px 14px; border: none; border-radius: 6px; cursor: pointer; }
.edit_side_drawer .drawer .btn-cancel { background: #f3f4f6; }
.edit_side_drawer .drawer .btn-save { background: #2563eb; color: #fff; }

