:root {
  --mr-navy: #171d54;
  --mr-ink: #11183f;
  --mr-blue: #4aa6cf;
  --mr-orange: #f5660b;
  --mr-yellow: #f6c833;
  --mr-page: #f3f5fb;
  --mr-line: #dfe5f0;
}

html,
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100%;
}

#root {
  min-height: 100vh;
}

body.mr-agency-modal-open {
  background: #eef2f8;
}

body.mr-agency-modal-open #root {
  filter: blur(5px);
  pointer-events: none;
  user-select: none;
}

body.mr-agency-modal-open::before {
  background: rgba(15, 23, 42, 0.48);
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 199999;
}

img {
  max-width: 100%;
}

a,
a:hover,
a:focus {
  text-decoration: none;
}

.mr-ui {
  color: var(--mr-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mr-login-input:focus {
  border-color: var(--mr-blue);
  box-shadow: 0 0 0 4px rgba(74, 166, 207, 0.15);
  outline: none;
}

.react-datepicker-popper {
  z-index: 50;
}

.react-datepicker {
  border-color: var(--mr-line);
  border-radius: 12px;
  box-shadow: 0 16px 32px rgba(17, 24, 63, 0.14);
  overflow: hidden;
}

.react-datepicker__header {
  background: #f6f8fc;
  border-color: var(--mr-line);
}

.react-datepicker__day--selected,
.react-datepicker__day--keyboard-selected {
  background: var(--mr-blue);
}

.mr-modal-overlay {
  align-items: center;
  background: rgba(17, 24, 63, 0.48);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 100;
}

.mr-modal-overlay:target {
  display: flex;
}
