* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

html,
body {
  margin: 0px;
  height: 100%;
  font-family: "Nunito Sans", sans-serif;
}

/* a blue color as a generic focus style */
button:focus-visible {
  outline: 2px solid #4a90e2 !important;
  outline: -webkit-focus-ring-color auto 5px !important;
}

a {
  text-decoration: none;
}

/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Nunito Sans", Helvetica, Arial, sans-serif;
  background-color: #f5f9fe;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
}

/* Tabs */
.tabs {
  display: flex;
  background: white;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab {
  flex: 1;
  max-width: 150px;
  padding: 16px 24px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
  color: #666;
  transition: all 0.3s ease;
  position: relative;
}

.tab.active {
  color: #005a7a;
  background: #f8fafc;
}

.tab.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #2563eb;
}

/* Main container */
.search-for-locum {
  min-height: 100vh;
  width: 100%;
  background-color: #f5f9fe;
}

.main-content {
  width: 100%;
  grid-template-columns: auto !important;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* Search container */
.search-container {
  background-color: #ffffff;
  border-radius: 0.625rem;
  border: 1px solid #d6ddeb;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

/* Search header */
.search-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.search-input {
  width: 100% !important;
  border: none !important;
  padding: 0 !important;
  background-color: #ffffff !important;
}

.search-input input {
  width: 100%;
  padding: 1rem;
  border: 1px solid #c4c4c4;
  border-radius: 0.3125rem;
  font-size: 16px;
  font-family: inherit;
  color: #808184;
  font-weight: 400;
}

.search-input input:focus {
  outline: 2px solid #00688f;
  border-color: #00688f;
}

.filters-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.filter-dropdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.125rem;
  background-color: #ffffff;
  border: 1px solid #c4c4c4;
  border-radius: 0.3125rem;
  cursor: pointer;
  min-width: 0;
  flex: 1;
  min-width: 200px;
}

.filter-dropdown:first-child {
  background-color: #00688f;
  color: #ffffff;
}

.filter-dropdown:first-child span {
  color: #ffffff;
  font-weight: 700;
}

.filter-dropdown img:first-child {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.filter-dropdown img:last-child {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.filter-dropdown span {
  font-size: 1rem;
  color: #c4c4c4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  text-align: left;
}

.filter-dropdown .dropdown-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  position: relative;
  overflow: hidden;
}

.dropdown-content img {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}

.dropdown-content select {
  flex: 1;
  padding: 0px 0px;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  cursor: pointer;
}

.search-btn {
  background-color: #a32441;
  color: #ffffff;
  border: none;
  padding: 12px 25px;
  border-radius: 0.3125rem;
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
  white-space: nowrap;
}

.search-btn:hover {
  background-color: #8b1f37;
}

.reset-btn {
  background-color: transparent;
  color: #00688f;
  border: 1px solid #00688f;
  padding: 12px 25px;
  border-radius: 0.3125rem;
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
  white-space: nowrap;
}

.reset-btn:hover {
  background-color: #00688f;
  color: #ffffff;
}

/* Content area */
.content-area {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 6px 16px;
  align-items: start;
}

/* Locum list */
.locum-list {
  background-color: #ffffff;
  border-radius: 0.625rem;
  border: 1px solid #d6ddeb;
  overflow: hidden;
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.15);
}

.list-header {
  padding: 1rem;
  border-bottom: 1px solid #e7f0fa;
}

.list-header h3 {
  font-size: 1.125rem;
  color: #808184;
  font-weight: 400;
}

.locum-cards {
  max-height: 80vh;
  overflow-y: auto;
  padding: 0.5rem;
}

.locum-cards::-webkit-scrollbar {
  width: 0;
  display: none;
}

.locum-card {
  border: 1px solid #808184;
  border-radius: 0.625rem;
  margin-bottom: 0.9375rem;
  background-color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.locum-card:hover {
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.locum-card.active {
  border-color: #00688f;
  background-color: rgba(153, 218, 243, 0.07);
}

.card-content {
  padding: 1rem;
}

.profile-section {
  display: flex;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
}

.profile-section .avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.profile-info h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #231f20;
  margin-bottom: 0.25rem;
}

.profile-info p {
  font-size: 14px;
  color: #231f20;
  opacity: 0.5;
  font-weight: 700;
  line-height: 1.2;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.meta-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  flex: 1;
}

.meta-item .meta-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-item img {
  width: 1.5rem;
  height: 1.5rem;
}

.meta-item span {
  font-size: 14px;
  color: #231f20;
  opacity: 0.8;
  text-align: left;
}

/* Alerts section */
.alerts-section {
  background-color: #a32441;
  padding: 0.75rem;
  border-radius: 0 0 0 0.9375rem;
}

.alerts-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.alerts-content span {
  color: #ffffff;
  font-weight: 500;
  font-size: 14px;
}

.get-alerts-btn {
  background-color: #ffffff;
  color: #a32441;
  border: none;
  padding: 10px;
  border-radius: 0.3125rem;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
}

.get-alerts-btn:hover {
  background-color: #f0f0f0;
  color: #a32441;
}

/* Detail panel */
.detail-panel {
  background-color: #ffffff;
  border-radius: 0.625rem;
  border: 1px solid #d6ddeb;
  padding: 1.25rem;
  max-height: 88vh;
  overflow-y: auto;
}

.profile-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  gap: 1rem;
}

.profile-main {
  display: flex;
  gap: 1.5rem;
  flex: 1;
}

.profile-avatar {
  width: 5rem;
  height: 5rem !important;
  border-radius: 50% !important;
  object-fit: cover;
  flex-shrink: 0;
}

.profile-details h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #231f20;
  margin-bottom: 0.5rem;
}

.profile-details p {
  font-size: 1rem;
  color: #767f8c;
  line-height: 1.5;
}

.profile-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
  justify-content: space-between;
}

.status-badge {
  background-color: rgba(32, 178, 170, 0.1);
  color: #00688f;
  border: 1px solid #00688f;
  padding: 0.375rem 1.825rem;
  border-radius: 0.3125rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.bookmark-btn {
  width: 50px;
  height: 50px;
  cursor: pointer;
  background: none;
  border: none;
  color: #00688f;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
  background-attachment: fixed;
}

.bookmark-btn:hover,
.bookmark-btn:focus {
  color: #00688f;
  background: none;
}

.bookmark-btn svg {
  transition: 0.2s ease;
}

.bookmark-btn.saved svg {
  color: #00688f;
}

.action-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e7f0fa;
  gap: 1rem;
}

.compare-link {
  color: #00688f;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: underline;
  visibility: hidden;
}

.button-group {
  display: flex;
  gap: 0.75rem;
}

.btn-outline {
  background-color: transparent;
  color: #a32441;
  border: 2px solid #a32441;
  padding: 0.75rem 1.5rem;
  border-radius: 0.3125rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
}

.btn-outline:hover {
  background-color: #ffffff;
  color: #a32441;
  border-color: inherit;
  box-shadow: none;
}

.btn-primary {
  background-color: #a32441;
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.3125rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
}

.btn-primary:hover {
  background-color: #8b1f37;
}

.btn-outline img,
.btn-primary img {
  width: 1.5rem;
  height: 1.5rem;
}

/* Profile content container */
.profile-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  margin-bottom: 1.25rem;
}

/* About section */
.about-section {
  min-width: 0;
}

.about-section h3 {
  font-size: 1.625rem;
  font-weight: 700;
  color: #231f20;
  margin-bottom: 1.25rem;
}

.about-section p {
  font-size: 16px;
  color: #231f20;
  opacity: 0.8;
  line-height: 1.5;
  margin-bottom: 1rem;
  font-weight: 400;
}

/* Info grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  background-color: #ffffff;
  border: 1.5px solid #e7f0fa;
  border-radius: 0.5rem;
  padding: 1.5rem;
  height: fit-content;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.info-item img {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.info-label {
  font-size: 12px;
  color: #767f8c;
  font-weight: 400;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.info-value {
  font-size: 13px;
  color: #18191c;
  font-weight: 500;
  line-height: 20px;
}

/* Additional info */
.additional-info {
  font-size: 1rem;
  color: #231f20;
  opacity: 0.8;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* Footer actions */
.footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 10px;
}

.footer-actions span {
  font-size: 0.875rem;
  color: #18191c;
  font-weight: 500;
}

.footer-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.download-btn {
  background-color: #ffffff;
  color: #a32441;
  border: 1px solid #c36;
  padding: 0.75rem 1.5rem;
  border-radius: 0.3125rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 16px;
}

.download-btn:hover {
  background-color: #ffffff;
  color: #c36;
  border-color: inherit;
  box-shadow: none;
}

.download-btn img {
  width: 1.5rem;
  height: 1.5rem;
}

/* Loader styles */
.loader {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid #00688f;
  border-top: 4px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loader-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  text-align: center;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 10;
}

/* Responsive Design */

/* Tablet styles */
@media (max-width: 1024px) {
  .main-content {
    padding: 0.75rem;
  }

  .content-area {
    grid-template-columns: 1fr;
    gap: 6px 16px;
  }

  .detail-panel {
    max-height: none;
    order: 2;
  }

  .locum-list {
    order: 1;
  }

  .locum-cards {
    max-height: 50vh;
  }

  .filter-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-dropdown {
    min-width: auto;
    flex: none;
  }

  .search-btn,
  .reset-btn {
    align-self: stretch;
  }

  .profile-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .profile-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-actions {
    align-self: flex-end;
  }

  .action-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .button-group {
    justify-content: center;
  }

  .footer-actions {
    align-items: stretch;
    text-align: center;
  }
}

/* Mobile styles */
@media (max-width: 768px) {
  .tabs {
    margin-bottom: 16px;
  }

  .tab {
    padding: 12px 16px;
    font-size: 14px;
  }

  .main-content {
    padding: 0.5rem;
  }

  .search-container {
    padding: 0.75rem;
  }

  .filter-dropdown span {
    font-size: 0.875rem;
  }

  .profile-main {
    gap: 1rem;
  }

  .profile-avatar {
    align-self: center;
  }

  .profile-actions {
    align-self: flex-end;
  }

  .card-meta {
    gap: 0.5rem;
  }

  .alerts-content {
    gap: 12px;
  }

  .alerts-content span {
    font-size: 13px;
  }

  .button-group {
    flex-direction: column;
  }

  .btn-outline,
  .btn-primary {
    justify-content: center;
  }

  .locum-cards {
    max-height: 40vh;
  }

  .about-section h3 {
    font-size: 1.375rem;
  }

  .profile-details h2 {
    font-size: 1.25rem;
  }
}

/* Small mobile styles */
@media (max-width: 480px) {
  .container {
    padding: 0.25rem;
  }

  .tabs {
    flex-direction: row;
    align-items: stretch;
  }

  .tab {
    max-width: none;
    padding: 10px 14px;
    font-size: 13px;
  }

  .main-content {
    padding: 0.25rem;
  }

  .search-container {
    padding: 0.5rem;
  }

  .detail-panel {
    padding: 1rem;
  }

  .filter-dropdown {
    padding: 0.75rem;
  }

  .filter-dropdown span {
    font-size: 0.8125rem;
  }

  .search-btn,
  .reset-btn {
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
  }

  .profile-section {
    align-items: center;
  }

  .profile-section .avatar {
    width: 4rem;
    height: 4rem;
  }

  .profile-avatar {
    width: 4rem;
    height: 4rem;
  }

  .btn-outline,
  .btn-primary {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
  }

  .download-btn {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
  }

  .about-section h3 {
    font-size: 1.25rem;
  }

  .profile-details h2 {
    font-size: 1.125rem;
  }

  .locum-cards {
    max-height: 35vh;
  }
}

/* Large desktop styles */
@media (min-width: 1400px) {
  .main-content {
    max-width: 100%;
  }

  .content-area {
    gap: 6px 16px;
  }

  .search-container {
    padding: 1.5rem;
  }

  .detail-panel {
    padding: 2rem;
  }

  .filter-controls {
    gap: 1rem;
  }

  .filter-dropdown {
    min-width: 220px;
    display: flex;
    gap: 10px;
  }

  .info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .locum-cards {
    max-height: 76vh;
  }

  .about-section h3 {
    font-size: 1.75rem;
  }

  .profile-details h2 {
    font-size: 1.625rem;
  }
}

/* Focus styles for accessibility */
button:focus-visible,
.filter-dropdown:focus-visible,
.locum-card:focus-visible {
  outline: 2px solid #4a90e2;
  outline-offset: 2px;
}

input:focus-visible {
  outline: 2px solid #00688f;
  outline-offset: 2px;
}

/* Keyboard navigation */
.locum-card:focus {
  outline: 2px solid #00688f;
  outline-offset: 2px;
}

.filter-dropdown:hover {
  background-color: #f8f9fa;
}

.filter-dropdown:first-child:hover {
  background-color: #005a7a;
}

/* Print styles */
@media print {
  .search-header,
  .alerts-section,
  .action-buttons {
    display: none;
  }

  .content-area {
    grid-template-columns: 1fr;
  }

  .detail-panel {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

:root {
  --graywhite: rgba(255, 255, 255, 1);
  --gray-500: rgba(118, 127, 140, 1);
  --primary-50: rgba(231, 240, 250, 1);
  --gray-900: rgba(24, 25, 28, 1);
  --body-medium-400-font-family: "Inter", Helvetica;
  --body-medium-400-font-weight: 400;
  --body-medium-400-font-size: 16px;
  --body-medium-400-letter-spacing: 0px;
  --body-medium-400-line-height: 24px;
  --body-medium-400-font-style: normal;
}

/* Multi-Select Dropdown Styles */
.filter-select {
  display: flex;
  position: relative;
  min-width: 160px;
  flex: 1;
}

.multiselect-wrapper {
  position: relative;
  width: 100%;
}

.multiselect-trigger {
  width: 100%;
  height: 48px;
  padding: 0 18px 0 18px !important;
  font-size: 14px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  background: white;
  color: #334155;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.multiselect-trigger img {
  width: 20px;
  height: 20px;
  margin-right: 14px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  filter: none;
  transition: filter 0.2s;
}

.multiselect-trigger.active img {
  filter: brightness(0) invert(1);
}

.multiselect-trigger:focus {
  outline: none;
  border-color: #2563eb;
}

.multiselect-trigger.active {
  background: #00688f !important;
  border-color: #00688f !important;
  color: white !important;
}

.multiselect-trigger .selection-text {
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.multiselect-trigger .selection-count {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-left: 8px;
}

.filter-select svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #64748b;
  pointer-events: none;
  z-index: 1;
}

.filter-select.active svg {
  color: white !important;
}

.multiselect-trigger::after {
  content: "";
  width: 8px;
  height: 8px;
  border: solid #64748b;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-left: 7px;
}

.multiselect-trigger.active::after {
  border-color: white !important;
  transform: rotate(-135deg);
}

.multiselect-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 2px solid #e2e8f0;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: none;
  max-height: 300px;
  overflow: hidden;
}

.multiselect-dropdown.show {
  display: block;
  max-height: 325px;
}

.multiselect-search {
  padding: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.multiselect-search input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-size: 14px;
}

.multiselect-options {
  max-height: 200px;
  overflow-y: auto;
}

.multiselect-option {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.multiselect-option:hover {
  background-color: #f8fafc;
}

.multiselect-option input[type="checkbox"] {
  margin-right: 10px;
  width: 16px;
  height: 16px;
}

.multiselect-option label {
  flex: 1;
  cursor: pointer;
  font-size: 14px;
  color: #334155;
}

.multiselect-actions {
  padding: 12px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 8px;
}

.multiselect-btn {
  flex: 1;
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.multiselect-btn.reset {
  background: #f1f5f9;
  color: #64748b;
}

.multiselect-btn.reset:hover {
  background: #e2e8f0;
}

.multiselect-btn.apply {
  background: #00688f;
  color: white;
}

.multiselect-btn.apply:hover {
  background: #005a7a;
}

button:focus {
  background: #00688f;
}

/* 2-line truncation for sector in BOTH places */
.info-item .info-value,
.profile-details p.sector-text,
.locum-card .profile-info p.sector-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4em;
  max-height: 2.8em;
  margin: 0;
}

.img.profile-avatar {
  height: 80px;
}

a.tab {
  text-decoration: none !important;
}

/* Job Alerts Inline Modal */
.job-alerts-modal {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: none;
}
.job-alerts-modal.open {
  display: block;
}
.job-alerts-modal .jam-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
  z-index: 99990;
}
.job-alerts-modal .jam-dialog {
  position: relative;
  background: #fff;
  border-radius: 12px;
  width: min(640px, 92%);
  margin: 8vh auto;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  z-index: 99991;
  overflow: visible; /* allow dropdowns to overflow */
}
.job-alerts-modal .jam-title {
   margin: 0 0 24px;
  font-size: 24px;
  font-weight: 700;
  color: #00688f;
}
.job-alerts-modal .jam-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: 0;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: #475569;
}
body.no-scroll {
  overflow: hidden;
}

/* Keep enhanced dropdowns above overlay while modal is open */
body.job-alerts-open .select2-container {
  z-index: 100010 !important;
}
body.job-alerts-open .select2-dropdown {
  z-index: 100011 !important;
}
body.job-alerts-open .chosen-container .chosen-drop {
  z-index: 100011 !important;
}
body.job-alerts-open .choices__list--dropdown.is-active,
body.job-alerts-open .choices__list[aria-expanded="true"] {
  z-index: 100011 !important;
}
body.job-alerts-open .ui-datepicker,
body.job-alerts-open .ui-timepicker-wrapper,
body.job-alerts-open .ui-autocomplete {
  z-index: 100011 !important;
}
