@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

/* ===== Global + MUI overrides ===== */
#root {
  height: 100%;
  width: 100%;
  font-family: Inter, system-ui, sans-serif;
}

::-webkit-scrollbar {
  width: 0px;
  height: 0px;
  border-radius: 5px;
}

/* Tables need a visible scrollbar so horizontal overflow is discoverable on mobile */
.table_container::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.table_container::-webkit-scrollbar-thumb {
  background-color: #d1d5db;
  border-radius: 999px;
}

.table_container::-webkit-scrollbar-track {
  background-color: #f3f4f6;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

html {
  height: 100%;
  font-size: 14px;
  overflow-x: clip;
}

body {
  margin: 0;
  height: 100%;
  font-size: 13px;
  overflow-x: clip;
}

a {
  text-decoration: none;
  color: unset;
}

.playStoreBtn {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.368627451) 50%, white 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: all 0.5s ease-out;
  background-color: #fff;
  border-radius: 999px;
  outline: none;
  border: none;
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
}
.playStoreBtn:hover {
  background-position: left bottom;
}

.form_field {
  position: relative;
}
.form_field .input-field {
  background: #ffffff;
  border-radius: 8px;
  border: none;
  outline: none;
  margin-bottom: 0.7rem;
  border: 1px solid #dfdfdf;
}
.form_field .border {
  border: 1px solid #dbdbdb;
  background-color: transparent;
  padding: 5px;
}
.form_field .suffix {
  position: absolute;
  left: 10px;
  top: 20px;
  bottom: 0;
  margin: auto;
}
.form_field .prefix {
  position: absolute;
  right: 11px;
  top: 18px;
  bottom: 0;
  margin: auto;
}

.form_field .password-eye-btn {
  position: absolute;
  right: 10px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  height: 28px;
  width: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  padding: 0;
  z-index: 5;
}

.form_field .password-eye-btn:hover {
  color: #4b5563;
}

input::placeholder {
  font-size: 13px;
}

.input-field::after {
  content: "";
  display: none;
}

.listItem {
  color: #3ab7f7;
}
.listItem span {
  color: #000;
  font-size: 13px;
}

.profile_dropdown {
  z-index: 9;
}
.profile_dropdown .dropdown_item {
  display: none;
  animation: growDown 300ms ease-in-out;
  transform-origin: top center;
}
.profile_dropdown .active {
  display: block;
}

@keyframes growDown {
  0% {
    transform: scaleY(0);
  }
  80% {
    transform: scaleY(1.1);
  }
  100% {
    transform: scaleY(1);
  }
}
.MuiFormControlLabel-label {
  font-weight: 700 !important;
  margin-left: 0.5rem !important;
}

.MuiContainer-root {
  max-width: 1240px !important;
}

.MuiAvatar-img {
  object-fit: inherit !important;
}

.slide-in-left {
  transform: translateX(-100%);
}

.slide-in-right {
  transform: translateX(100%);
}

.ReactCrop {
  height: 70vh;
}
.ReactCrop .ReactCrop__child-wrapper {
  height: 100%;
}
.ReactCrop .ReactCrop__child-wrapper img {
  height: 100%;
}

.loader {
  width: 50px;
  padding: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  --_m: conic-gradient(#0000 10%, #000), linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
  mask: var(--_m);
  -webkit-mask-composite: source-out;
  mask-composite: subtract;
  animation: l3 0.4s infinite linear;
}

@keyframes l3 {
  to {
    transform: rotate(1turn);
  }
}
.border_bottom {
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.MuiDialog-paper {
  border-radius: 12px !important;
}

.MuiOutlinedInput-input:hover {
  border: none !important;
}


.ant-select-selector .ant-select-selection-search-input {
  background-color: #f9fafb !important;
}

.cancelled .MuiTableContainer-root {
  height: 350px !important;
}

.cancelled ::-webkit-scrollbar {
  width: 4px;
}

.cancelled ::-webkit-scrollbar-track {
  background-color: black;
}

.cancelled ::-webkit-scrollbar-thumb {
  background-color: #3ab7f7;
}

.select-hover:hover {
  border: none !important;
}

.Page .Mui-selected {
  background-color: #004aad !important;
}

.MuiTableCell-root {
  text-align: center;
}

.MuiTabs-indicator {
  height: 0px !important;
}

.dropdown .ant-select-selector {
  height: 60px !important;
}

.tab .css-qy51jk-MuiTabs-indicator {
  background-color: transparent !important;
}

.MuiPagination-ul {
  justify-content: center !important;
}

.MuiPaginationItem-root {
  font-weight: 700 !important;
}

.MuiTabs-root {
  height: 100% !important;
}

.white_card_with_border {
  background-color: #fff;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid #dfdfdf;
}

.table_container {
  width: 100%;
  border: 1.5px solid #f6f6f6;
  margin-top: 1rem;
  border-radius: 12px 12px 0px 0px;
  margin-bottom: 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
.table_container table {
  width: 100%;
  min-width: 640px;
}
.table_container table th {
  white-space: nowrap;
  background-color: #f9fafb;
  padding: 10px 1rem;
  font-size: 13px;
  text-align: center;
}
.table_container table tr {
  border-bottom: 1.5px solid #f6f6f6;
}
.table_container table tr:last-child {
  border-bottom: 0px;
}
.table_container table td {
  cursor: pointer;
  font-size: 13px;
  padding: 10px 1rem;
  text-align: center;
}

@media (min-width: 900px) {
  .table_container table th,
  .table_container table td {
    padding: 10px 2rem;
  }
}
.table_container table .text-align-left {
  text-align: left !important;
}
.table_container table .text-align-right {
  text-align: right !important;
}

.MuiOutlinedInput-input {
  background-color: #fff !important;
}

.text-overflow {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

@media screen and (max-width: 1600px) {
  .MuiContainer-root {
    max-width: 1240px !important;
  }
}
.txtAnimation {
  cursor: pointer;
  scale: 1;
  transition: 0.1s ease-in-out;
}
.txtAnimation:hover {
  scale: 1.01;
}

.MuiSelect-select {
  padding: 14px 14px !important;
}

.center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.MuiInputBase-adornedEnd {
  border-radius: 8px !important;
}

.css-nxo287-MuiInputBase-input-MuiOutlinedInput-input {
  padding: 14.5px 14px !important;
}

.css-1uvydh2 {
  padding: 14.5px 14px !important;
}

.status {
  border-radius: 12px;
  padding: 0.5rem 1rem;
  font-weight: 600;
}
.status.pending {
  background-color: rgba(251, 188, 4, 0.2196078431);
  color: #fbbc04;
}
.status.active {
  background-color: rgba(68, 212, 203, 0.1882352941);
  color: #44d4cb;
}
.status.posted {
  background-color: rgba(68, 212, 203, 0.1882352941);
  color: #44d4cb;
}

.past-date {
  opacity: 0.5;
}
.past-date .number {
  color: #9e9e9e;
}

.tabs {
  border: 1px solid #dfdfdf;
  padding: 0.7rem;
  border-radius: 12px;
  color: rgba(0, 0, 0, 0.5098039216);
  font-weight: 400;
  cursor: pointer;
}
.tabs.active {
  background-color: #3ab7f7;
  color: #fff;
}

.MuiMenu-paper {
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px -2px 6px 0px rgba(0, 0, 0, 0.12) !important;
  min-width: 153px !important;
}

.notifyCount {
  position: absolute;
  left: 25px;
  top: -9px;
  font-size: 11px !important;
  background: rgb(0, 51, 121);
  padding: 0.5rem;
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.MuiTabs-scroller {
  overflow-x: scroll !important;
}

.routeTabs {
  padding: 0.8rem 1rem;
  border-radius: 10px;
  white-space: nowrap;
  font-size: 11px !important;
  font-weight: 500 !important;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}
.routeTabs.activeRoute {
  background-color: #3ab7f7;
  color: #fff !important;
  font-weight: 600 !important;
}

.form-control {
  width: 100% !important;
  padding: 0.8rem 3.5rem !important;
  border: 1px solid #dfdfdf !important;
}

.gray_out {
  opacity: 0.6;
  cursor: not-allowed;
}

.validation-err-message {
  color: red;
  position: absolute;
  font-size: 13px;
}

.css-tzrysg-MuiInputBase-root-MuiOutlinedInput-root-MuiSelect-root {
  height: 50px !important;
}

.css-169iyqw {
  height: auto !important;
}

.MuiSelect-select {
  color: inherit !important;
}

/* ===== Landing ===== */
:root {
  --landing-page-bg: #f9fafb;
  --landing-reg-bg: #f3f4f6;
  --landing-surface: #ffffff;
  --landing-text: #111827;
  --landing-text-secondary: #6b7280;
  --landing-text-muted: #9ca3af;
  --landing-border: #e5e7eb;
  --landing-black: #0a0a0a;
  --landing-form-max: 640px;
  --landing-container-max: 1240px;
  --landing-card-radius: 16px;
  --landing-input-radius: 10px;
  --landing-section-title: 1.75rem;
  --landing-section-title-md: 2rem;
  --landing-body-size: 13px;
  --landing-body-size-md: 14px;
}

.landing-hero-title {
  font-family: Inter, system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .landing-hero-title {
    font-size: 2.625rem;
  }
}

@media (min-width: 1024px) {
  .landing-hero-title {
    font-size: 3rem;
  }
}

.landing-section-title {
  font-family: Inter, system-ui, sans-serif;
  font-size: var(--landing-section-title);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--landing-text);
}

@media (min-width: 768px) {
  .landing-section-title {
    font-size: var(--landing-section-title-md);
  }
}

.landing-section-desc {
  font-family: Inter, system-ui, sans-serif;
  font-size: var(--landing-body-size);
  font-weight: 400;
  line-height: 1.625;
}

@media (min-width: 768px) {
  .landing-section-desc {
    font-size: var(--landing-body-size-md);
  }
}

.landing-input {
  width: 100%;
  height: 44px;
  border-radius: var(--landing-input-radius);
  border: 1px solid var(--landing-border);
  background-color: var(--landing-surface);
  padding: 0 18px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  line-height: 20px;
  font-weight: 400;
  color: var(--landing-text);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.landing-input::placeholder {
  color: var(--landing-text-muted);
}

.landing-input:focus {
  border-color: var(--landing-black);
  background-color: var(--landing-surface);
}

.landing-password-field {
  position: relative;
}

.landing-input--password {
  padding-right: 44px;
}

.landing-password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
}

.landing-password-toggle:hover {
  color: #6b7280;
}

.landing-textarea {
  min-height: 128px;
  height: auto;
  padding: 12px 16px;
  resize: vertical;
  line-height: 1.5;
  border-radius: 10px;
}

.landing-reg-block {
  max-width: var(--landing-form-max);
  margin-left: auto;
  margin-right: auto;
}

.landing-reg-tabs {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  margin-bottom: 12px;
  width: 100%;
  min-width: 0;
}

.landing-reg-tab {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: -0.01em;
  border: none;
  border-radius: 12px 12px 0 0;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease,
    border-color 0.15s ease;
  white-space: normal;
  text-align: center;
}

.landing-reg-tab--active {
  background-color: var(--landing-black);
  color: #ffffff;
}

.landing-reg-tab--inactive {
  background-color: #ffffff;
  border: 1px solid var(--landing-border);
  border-bottom: 1px solid var(--landing-border);
  color: var(--landing-text-secondary);
}

.landing-reg-tab--inactive:hover {
  color: var(--landing-text);
}

.landing-form-card {
  border: 1px solid var(--landing-border);
  border-radius: 16px;
  background: var(--landing-surface);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.landing-form-header {
  padding: 20px 24px;
  background-color: var(--landing-black);
}

.landing-form-body {
  padding: 20px 24px 24px;
}

.landing-form-divider {
  border: none;
  border-top: 1px solid var(--landing-border);
  margin: 20px 0;
}

.landing-select {
  appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.landing-cv-dropzone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 72px;
  border: 1.5px dashed var(--landing-border);
  border-radius: 10px;
  background-color: var(--landing-surface);
  padding: 20px 16px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--landing-text-secondary);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.landing-cv-dropzone:hover,
.landing-cv-dropzone--active {
  border-color: var(--landing-text-muted);
  background-color: var(--landing-page-bg);
}

.landing-cv-hint {
  margin-top: 6px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 10px;
  color: var(--landing-text-muted);
}

.landing-form-section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--landing-text-muted);
}

.landing-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .landing-form-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 14px;
    row-gap: 14px;
  }
}

.landing-sign-in-link {
  margin-top: 12px;
  text-align: center;
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  color: var(--landing-text-secondary);
}

.landing-sign-in-link a {
  font-weight: 600;
  color: var(--landing-text);
  text-decoration: none;
}

.landing-sign-in-link a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .landing-form-header {
    padding: 16px 20px;
  }

  .landing-form-body {
    padding: 16px 20px 20px;
  }

  .landing-reg-tabs {
    margin-bottom: 10px;
    gap: 4px;
  }

  .landing-reg-tab {
    padding: 10px 8px;
    font-size: 11px;
    line-height: 1.25;
    gap: 4px;
  }

  .landing-reg-tab svg {
    display: none;
  }
}

.landing-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  border: 1px solid var(--landing-border);
  background-color: var(--landing-page-bg);
  padding: 6px 14px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--landing-text-secondary);
}

.landing-section-badge-dot {
  height: 6px;
  width: 6px;
  border-radius: 9999px;
  background-color: #10b981;
  flex-shrink: 0;
}

.landing-pill-btn {
  border-radius: 9999px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: opacity 0.15s ease, background-color 0.15s ease,
    border-color 0.15s ease, color 0.15s ease;
}

.landing-pill-btn--black {
  background-color: var(--landing-black);
  color: #ffffff;
}

.landing-pill-btn--black:hover {
  opacity: 0.88;
}

.landing-pill-btn--outline {
  background-color: #ffffff;
  border: 1px solid var(--landing-border);
  color: var(--landing-text);
}

.landing-pill-btn--outline:hover {
  border-color: var(--landing-black);
}

.landing-pill-btn--ghost {
  background: transparent;
  border: none;
  color: var(--landing-text-secondary);
}

.landing-pill-btn--ghost:hover {
  color: var(--landing-text);
}

.landing-send-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--landing-input-radius);
  border: none;
  padding: 14px 24px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  background-color: #525252;
  cursor: pointer;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}

.landing-send-btn:hover:not(:disabled) {
  background-color: #374151;
}

.landing-send-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.landing-enquiry-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px 56px;
}

.landing-enquiry-success__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  background-color: #f3f4f6;
  color: var(--landing-black);
  margin-bottom: 20px;
}

.landing-enquiry-success__title {
  margin: 0 0 10px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--landing-text);
}

.landing-enquiry-success__text {
  margin: 0;
  max-width: 360px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: var(--landing-text-secondary);
}

@media (max-width: 640px) {
  .landing-enquiry-success {
    padding: 40px 20px 48px;
  }

  .landing-enquiry-success__title {
    font-size: 20px;
  }
}

.landing-shift-card {
  border-radius: 16px;
  border: 1px solid var(--landing-border);
  background: var(--landing-surface);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.landing-shift-urgent {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: #ff4d4f;
  font-family: Inter, system-ui, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.landing-shift-urgent-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background-color: #ffffff;
  flex-shrink: 0;
}

.landing-shift-header {
  padding: 18px 20px;
}

.landing-shift-header--red {
  background-color: #ff5e73;
}

.landing-shift-header--purple {
  background-color: #b066ff;
}

.landing-shift-header--orange {
  background-color: #ffb800;
}

.landing-shift-specialty {
  font-family: Inter, system-ui, sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.landing-shift-clinic {
  margin-top: 6px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.landing-shift-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.landing-shift-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.landing-shift-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.4;
  color: var(--landing-text-secondary);
}

.landing-shift-detail svg {
  flex-shrink: 0;
  color: var(--landing-text-muted);
}

.landing-shift-date-bold {
  font-weight: 700;
  color: var(--landing-text);
}

.landing-shift-time {
  font-weight: 400;
  color: var(--landing-text-secondary);
}

.landing-shift-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--landing-border);
}

.landing-shift-rate-wrap {
  display: flex;
  flex-direction: column;
}

.landing-shift-rate {
  font-family: Inter, system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--landing-text);
}

.landing-shift-rate-label {
  margin-top: 4px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: var(--landing-text-muted);
}

.landing-shift-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 9999px;
  border: 1px solid #bfdbfe;
  background-color: #eff6ff;
  padding: 8px 16px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #1d4ed8;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
}

.landing-shift-apply-btn:hover {
  background-color: #dbeafe;
  border-color: #93c5fd;
  color: #1e40af;
}

.landing-shift-apply-btn:hover svg {
  color: #1e40af;
}

.landing-shift-apply-btn--primary {
  border-color: transparent;
  background-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.28);
}

.landing-shift-apply-btn--primary:hover {
  background-color: #1d4ed8;
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.landing-shift-apply-btn--primary:hover svg {
  color: #ffffff;
}

.landing-shift-apply-btn--applied {
  border-color: transparent;
  background-color: #059669;
  color: #ffffff;
  box-shadow: none;
}

.landing-shift-apply-btn--applied:hover {
  background-color: #047857;
  border-color: transparent;
  color: #ffffff;
}

.landing-shift-apply-btn--applied:hover svg {
  color: #ffffff;
}

.landing-shifts-header {
  text-align: left;
}

@media (min-width: 768px) {
  .landing-shift-body {
    padding: 20px;
  }
}

.landing-role-card {
  border-radius: 16px;
  border: 1px solid var(--landing-border);
  background: var(--landing-surface);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.landing-role-featured {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background-color: var(--landing-black);
  font-family: Inter, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: #ffffff;
}

.landing-role-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 12px 14px 14px;
}

.landing-role-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.landing-role-title {
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--landing-text);
}

.landing-role-badge {
  flex-shrink: 0;
  border-radius: 9999px;
  border: 1px solid;
  padding: 3px 10px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: var(--landing-surface);
}

.landing-role-badge--nhs {
  border-color: #2563eb;
  color: #1d4ed8;
}

.landing-role-badge--private {
  border-color: #c4b5fd;
  color: #6d28d9;
}

.landing-role-badge--parttime {
  border-color: #6ee7b7;
  color: #047857;
}

.landing-role-employer {
  margin-bottom: 8px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--landing-text-secondary);
}

.landing-role-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}

.landing-role-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.4;
  color: var(--landing-text-secondary);
}

.landing-role-detail svg {
  flex-shrink: 0;
  color: var(--landing-text-muted);
}

.landing-role-salary {
  margin-bottom: 10px;
  border-radius: 8px;
  background-color: #f3f4f6;
  padding: 8px 12px;
}

.landing-role-salary-amount {
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--landing-text);
}

.landing-role-salary-note {
  margin-top: 2px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--landing-text-muted);
}

.landing-role-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--landing-border);
}

.landing-role-posted {
  font-family: Inter, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: var(--landing-text-muted);
}

.landing-role-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 9999px;
  border: 1px solid #bfdbfe;
  background-color: #eff6ff;
  padding: 8px 16px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #1d4ed8;
  cursor: pointer;
  white-space: nowrap;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
}

.landing-role-apply-btn:hover {
  border-color: #93c5fd;
  background-color: #dbeafe;
  color: #1e40af;
}

.landing-role-apply-btn:hover svg {
  color: #1e40af;
}

.landing-role-apply-btn--primary {
  border-color: transparent;
  background-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.28);
}

.landing-role-apply-btn--primary:hover {
  background-color: #1d4ed8;
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.landing-role-apply-btn--primary:hover svg {
  color: #ffffff;
}

.landing-role-apply-btn--applied {
  border-color: transparent;
  background-color: #059669;
  color: #ffffff;
  box-shadow: none;
}

.landing-role-apply-btn--applied:hover {
  border-color: transparent;
  background-color: #047857;
  color: #ffffff;
}

.landing-role-apply-btn--applied:hover svg {
  color: #ffffff;
}

.landing-permanent-header {
  text-align: left;
}

@media (min-width: 768px) {
  .landing-role-body {
    padding: 14px 16px 16px;
  }
}

.landing-step-card {
  border-radius: 16px;
  border: 1px solid var(--landing-border);
  background: var(--landing-surface);
  padding: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.landing-how-number {
  display: block;
  margin-bottom: 12px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--landing-text-secondary);
}

.landing-how-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 9999px;
  background-color: var(--landing-page-bg);
  color: var(--landing-text);
}

.landing-how-title {
  margin-bottom: 8px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--landing-text);
}

.landing-how-desc {
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.625;
  color: var(--landing-text-secondary);
}

@media (min-width: 768px) {
  .landing-step-card {
    padding: 24px;
  }
}

.landing-card-btn {
  border-radius: 9999px;
  border: 1px solid var(--landing-border);
  background: #ffffff;
  padding: 8px 14px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: var(--landing-text);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    color 0.15s ease;
  white-space: nowrap;
}

.landing-card-btn:hover {
  border-color: var(--landing-black);
  background-color: var(--landing-black);
  color: #ffffff;
}

.landing-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  border: 1px solid var(--landing-border);
  background-color: #ffffff;
  padding: 6px 14px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--landing-text-secondary);
}

.landing-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 9999px;
  border: 1px solid var(--landing-border);
  background-color: #ffffff;
  padding: 6px 12px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: var(--landing-text);
}

.landing-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--landing-text-muted);
}


/* ===== Auth ===== */
/* Hide browser native password reveal everywhere we use a custom eye toggle */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
  display: none;
}

.auth-page {
  min-height: 100vh;
  background: #f9fafb;
  font-family: Inter, system-ui, sans-serif;
  color: #111827;
}

.auth-page-header {
  border-bottom: 1px solid #e5e7eb;
  background: rgba(249, 250, 251, 0.92);
  backdrop-filter: blur(12px);
}

.auth-page-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@media (min-width: 640px) {
  .auth-page-header-inner {
    padding: 14px 32px;
  }
}

@media (min-width: 1024px) {
  .auth-page-header-inner {
    padding: 14px 40px;
  }
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  padding: 0;
}

.auth-brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #0a0a0a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

.auth-brand-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #111827;
}

.auth-brand-sub {
  font-size: 10px;
  color: #9ca3af;
}

.auth-back-link {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
}

.auth-back-link:hover {
  color: #111827;
}

.auth-page-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px 32px;
}

@media (min-width: 640px) {
  .auth-page-main {
    padding: 24px 32px 40px;
  }
}

@media (min-width: 1024px) {
  .auth-page-main {
    padding: 24px 40px 40px;
  }
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

@media (min-width: 640px) {
  .auth-card {
    padding: 24px 24px;
  }
}

.auth-portal-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}

.auth-portal-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.auth-portal-tab--active {
  border-color: #0a0a0a;
  background: #0a0a0a;
  color: #fff;
}

.auth-card-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
  line-height: 1.2;
}

.auth-form {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
}

.auth-field input {
  width: 100%;
  height: 40px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 0 12px;
  font-family: inherit;
  font-size: 13px;
  color: #111827;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.auth-password-wrap {
  position: relative;
  width: 100%;
}

.auth-password-wrap input {
  padding-right: 44px;
}

/* Hide browser native password reveal (Edge/Chrome) — we use our own eye toggle */
.auth-password-wrap input::-ms-reveal,
.auth-password-wrap input::-ms-clear {
  display: none;
}

.auth-password-wrap input::-webkit-credentials-auto-fill-button,
.auth-password-wrap input::-webkit-strong-password-auto-fill-button {
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  right: 0;
}

.auth-password-toggle {
  position: absolute;
  right: 10px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  height: 28px;
  width: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  padding: 0;
  z-index: 5;
}

.auth-password-toggle:hover {
  color: #4b5563;
}

.auth-field input:focus {
  border-color: #0a0a0a;
  background: #fff;
}

.auth-field input::placeholder {
  color: #9ca3af;
}

.auth-field-error {
  margin-top: 6px;
  font-size: 11px;
  color: #dc2626;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.auth-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #6b7280;
  cursor: pointer;
}

.auth-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: #0a0a0a;
}

.auth-link {
  font-size: 12px;
  font-weight: 600;
  color: #111827;
  text-decoration: none;
}

.auth-link:hover {
  text-decoration: underline;
}

.auth-submit-btn {
  width: 100%;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: #0a0a0a;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.auth-submit-btn:hover {
  background: #262626;
}

.auth-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.auth-card-footer {
  margin: 0;
  padding-top: 4px;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
}

.auth-card-footer a {
  color: #111827;
  font-weight: 600;
  text-decoration: none;
}

.auth-card-footer a:hover {
  text-decoration: underline;
}

/* ===== Dashboard / Core app ===== */
:root {
  --core-page-bg: #f9fafb;
  --core-surface: #ffffff;
  --core-text: #111827;
  --core-text-secondary: #6b7280;
  --core-text-muted: #9ca3af;
  --core-border: #e5e7eb;
  --core-black: #0a0a0a;
  --core-nav-active: #f3f4f6;
  --core-container-max: 1240px;
  --core-radius-sm: 8px;
  --core-radius-md: 12px;
  --core-radius-lg: 16px;
  /* Status tones â€” Figma My Shifts */
  --tone-green: #059669;
  --tone-blue: #2563eb;
  --tone-red: #dc2626;
  --tone-orange: #d97706;
  --tone-orange-light: #f59e0b;
  --tone-orange-accent: #f97316;
  /* Specialty badges â€” Figma calendar/shifts */
  --spec-obstetric-bg: #ffe4e6;
  --spec-obstetric-text: #e11d48;
  --spec-gyn-bg: #f5f3ff;
  --spec-gyn-text: #7c3aed;
  --spec-general-bg: #eff6ff;
  --spec-general-text: #2563eb;
  --spec-msk-bg: #fffbeb;
  --spec-msk-text: #d97706;
  --spec-vascular-bg: #ccfbf1;
  --spec-vascular-text: #0d9488;
  --spec-cardiac-bg: #ffe4e6;
  --spec-cardiac-text: #f43f5e;
  /* Cancelled banners */
  --cancel-clinic-bg: #fff8e1;
  --cancel-clinic-text: #b45d00;
  --cancel-me-bg: #ffebee;
  --cancel-me-text: #c62828;
  /* Role badges */
  --badge-nhs-border: #2563eb;
  --badge-nhs-text: #1d4ed8;
  --badge-nhs-bg: #dbeafe;
  --badge-private-border: #c4b5fd;
  --badge-private-text: #6d28d9;
  --badge-private-bg: #ede9fe;
  --badge-parttime-border: #6ee7b7;
  --badge-parttime-text: #047857;
  --badge-parttime-bg: #d1fae5;
  /* Typography â€” Inter scale (Figma dashboard) */
  --font-xs: 10px;
  --font-sm: 11px;
  --font-base: 12px;
  --font-md: 13px;
  --font-lg: 14px;
  --font-xl: 16px;
  --font-2xl: 20px;
  --font-3xl: 24px;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --lh-tight: 1.2;
  --lh-snug: 1.35;
  --lh-normal: 1.5;
  --tracking-tight: -0.02em;
  /* Spacing â€” Figma rhythm */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --core-page-bottom: var(--space-16);
}

.font-inter {
  font-family: Inter, system-ui, -apple-system, sans-serif;
}

.core-app {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background-color: var(--core-page-bg);
  color: var(--core-text);
  min-height: 100vh;
  font-size: var(--font-md);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Sonographer portal — compact Figma type scale */
.core-app--sonographer {
  --font-xs: 9px;
  --font-sm: 10px;
  --font-base: 11px;
  --font-md: 12px;
  --font-lg: 13px;
  --font-xl: 14px;
  --font-2xl: 17px;
  --font-3xl: 20px;
  font-size: var(--font-md);
  line-height: 1.45;
}

.core-app--sonographer .MuiTypography-body1 {
  font-size: var(--font-md);
}

.core-app--sonographer .MuiTypography-body2 {
  font-size: var(--font-base);
}

.core-app--sonographer .MuiTypography-h5 {
  font-size: var(--font-2xl);
  line-height: var(--lh-tight);
}

.core-app--sonographer .MuiTypography-h6 {
  font-size: var(--font-xl);
  line-height: var(--lh-tight);
}

.core-app--sonographer .MuiButton-root {
  font-size: var(--font-md);
  line-height: 1.25;
  min-height: 0;
  padding: 6px 14px;
}

.core-app--sonographer .MuiChip-label {
  font-size: var(--font-sm);
}

.core-app button,
.core-app input,
.core-app textarea,
.core-app select {
  font-family: inherit;
}

.core-container {
  max-width: var(--core-container-max);
}


.core-main {
  padding: var(--space-5) 0 var(--core-page-bottom);
}

.core-app--fill-height {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-height: 100dvh;
  min-height: 0 !important;
  overflow: hidden;
}

.core-main.core-main--fill {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: var(--space-5) 0 var(--space-4) !important;
}

@media (min-width: 1024px) {
  .core-main {
    padding: var(--space-6) 0 var(--space-16);
  }

  .core-main.core-main--fill {
    padding: var(--space-6) 0 var(--space-5) !important;
  }
}


/* Legacy calendar overrides (old rota component) */
.dashboard-calendar .calendar {
  border: none;
}

.dashboard-calendar .number {
  font-weight: 600;
}


/* ===== App misc ===== */
.MuiSelect-select {
  color: inherit !important;
}

