html,
body,
#root,
.root {
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  height: 100dvh;
  min-height: 100dvh;
  margin: 0;
}

/* Final simple modern login override. */
main:has(input[name='email']) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(30, 160, 255, 0.16), transparent 34%),
    linear-gradient(180deg, #07162f 0%, #030a19 100%) !important;
}

main:has(input[name='email']) > div:first-child {
  position: absolute !important;
  inset: 38px 0 auto 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 228px !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  border: 0 !important;
  box-shadow: none !important;
  background: radial-gradient(ellipse at center, rgba(165, 205, 255, 0.12), rgba(55, 130, 235, 0.05) 52%, transparent 76%) !important;
  overflow: visible !important;
  pointer-events: none;
}

main:has(input[name='email']) .i7-brand-logo {
  position: static !important;
  transform: none !important;
  width: min(370px, 72vw) !important;
  max-width: min(370px, 72vw) !important;
  margin: 0 auto !important;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.22)) !important;
}

.i7-hero-art,
.i7-brand-features {
  display: none !important;
}

main:has(input[name='email']) > .MuiPaper-root {
  width: 100% !important;
  min-height: 100dvh !important;
  padding: 286px 24px 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

main:has(input[name='email']) > .MuiPaper-root form {
  width: min(520px, calc(100vw - 48px)) !important;
  max-width: 520px !important;
  min-height: auto !important;
  padding: 40px 42px 34px !important;
  border-radius: 24px !important;
  border: 1px solid rgba(120, 160, 255, 0.24) !important;
  background:
    linear-gradient(180deg, rgba(14, 27, 56, 0.84), rgba(5, 13, 31, 0.92)) !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42) !important;
  backdrop-filter: blur(18px);
}

.i7-login-header {
  margin-bottom: 28px !important;
  text-align: left;
}

.i7-login-header h1 {
  font-size: 30px !important;
  line-height: 1.16 !important;
  font-weight: 800 !important;
}

.i7-login-header p {
  margin-top: 8px !important;
  font-size: 17px !important;
  line-height: 1.45 !important;
}

main:has(input[name='email']) .MuiTextField-root {
  margin-bottom: 18px !important;
}

main:has(input[name='email']) .MuiInputBase-root {
  min-height: 62px !important;
  height: 62px !important;
  border-radius: 14px !important;
}

main:has(input[name='email']) input {
  height: 62px !important;
  font-size: 16px !important;
  padding-left: 66px !important;
}

main:has(input[name='email']) label {
  font-size: 14px !important;
  transform: translate(14px, -8px) scale(0.75) !important;
}

main:has(input[name='email']) .i7-field-email::before,
main:has(input[name='email']) .i7-field-password::before {
  left: 22px !important;
  width: 22px !important;
  height: 22px !important;
}

main:has(input[name='email']) button[type='submit'],
main:has(input[name='email']) form button.MuiButton-contained {
  min-height: 62px !important;
  margin-top: 4px !important;
  margin-bottom: 22px !important;
  font-size: 21px !important;
}

.i7-language-wrapper {
  top: 28px !important;
  right: 32px !important;
}

.i7-language-wrapper .MuiInputBase-root {
  min-height: 48px !important;
  height: 48px !important;
}

main:has(input[name='email']) .i7-whatsapp,
body:not(:has(.maplibregl-map)) .i7-whatsapp {
  height: 52px !important;
  right: 32px !important;
  bottom: 28px !important;
  padding: 0 22px !important;
}

@media (max-width: 920px) {
  main:has(input[name='email']) {
    overflow: auto !important;
  }

  main:has(input[name='email']) > div:first-child {
    inset: 30px 0 auto 0 !important;
    height: 174px !important;
    border: 0 !important;
  }

  main:has(input[name='email']) .i7-brand-logo {
    width: min(270px, 74vw) !important;
    max-width: min(270px, 74vw) !important;
  }

  main:has(input[name='email']) > .MuiPaper-root {
    min-height: 100dvh !important;
    padding: 218px 18px 28px !important;
  }

  main:has(input[name='email']) > .MuiPaper-root form {
    width: 100% !important;
    padding: 30px 22px 26px !important;
    border-radius: 22px !important;
  }

  .i7-language-wrapper {
    top: 16px !important;
    right: 16px !important;
  }

  main:has(input[name='email']) .i7-whatsapp,
  body:not(:has(.maplibregl-map)) .i7-whatsapp {
    display: none !important;
  }
}

/* Last-pass logo spacing/readability lock. Keep this at EOF. */
main:has(input[name='email']) > div:first-child {
  inset: 38px 0 auto 0 !important;
  height: 228px !important;
  overflow: visible !important;
  isolation: isolate;
}

main:has(input[name='email']) > div:first-child::before {
  content: '' !important;
  position: absolute !important;
  left: 50% !important;
  top: 20px !important;
  width: min(560px, 82vw) !important;
  height: 188px !important;
  transform: translateX(-50%) !important;
  border-radius: 36px !important;
  background: radial-gradient(ellipse at center, rgba(165, 205, 255, 0.18), rgba(55, 130, 235, 0.09) 48%, transparent 74%) !important;
  filter: blur(10px) !important;
  z-index: -1 !important;
  pointer-events: none !important;
}

main:has(input[name='email']) .i7-brand-logo {
  position: relative !important;
  z-index: 1 !important;
  width: min(370px, 72vw) !important;
  max-width: min(370px, 72vw) !important;
  height: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.22)) !important;
}

main:has(input[name='email']) > .MuiPaper-root {
  padding-top: 286px !important;
}

@media (max-width: 920px) {
  main:has(input[name='email']) > div:first-child {
    inset: 30px 0 auto 0 !important;
    height: 174px !important;
    overflow: visible !important;
  }

  main:has(input[name='email']) > div:first-child::before {
    top: 10px !important;
    width: min(360px, 88vw) !important;
    height: 140px !important;
    border-radius: 28px !important;
  }

  main:has(input[name='email']) .i7-brand-logo {
    width: min(270px, 74vw) !important;
    max-width: min(270px, 74vw) !important;
  }

  main:has(input[name='email']) > .MuiPaper-root {
    padding-top: 218px !important;
  }
}

/* Last-pass logo spacing/readability lock. Keep this at EOF. */
main:has(input[name='email']) > div:first-child {
  inset: 38px 0 auto 0 !important;
  height: 228px !important;
  overflow: visible !important;
  isolation: isolate;
}

main:has(input[name='email']) > div:first-child::before {
  content: '' !important;
  position: absolute !important;
  left: 50% !important;
  top: 20px !important;
  width: min(560px, 82vw) !important;
  height: 188px !important;
  transform: translateX(-50%) !important;
  border-radius: 36px !important;
  background: radial-gradient(ellipse at center, rgba(165, 205, 255, 0.18), rgba(55, 130, 235, 0.09) 48%, transparent 74%) !important;
  filter: blur(10px) !important;
  z-index: -1 !important;
  pointer-events: none !important;
}

main:has(input[name='email']) .i7-brand-logo {
  position: relative !important;
  z-index: 1 !important;
  width: min(370px, 72vw) !important;
  max-width: min(370px, 72vw) !important;
  height: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.22)) !important;
}

main:has(input[name='email']) > .MuiPaper-root {
  padding-top: 286px !important;
}

@media (max-width: 920px) {
  main:has(input[name='email']) > div:first-child {
    inset: 30px 0 auto 0 !important;
    height: 174px !important;
    overflow: visible !important;
  }

  main:has(input[name='email']) > div:first-child::before {
    top: 10px !important;
    width: min(360px, 88vw) !important;
    height: 140px !important;
    border-radius: 28px !important;
  }

  main:has(input[name='email']) .i7-brand-logo {
    width: min(270px, 74vw) !important;
    max-width: min(270px, 74vw) !important;
  }

  main:has(input[name='email']) > .MuiPaper-root {
    padding-top: 218px !important;
  }
}

main:has(input[name='email']) > div:first-child img:not(.i7-brand-logo):not(.i7-hero-scene):not([src*='flag']) {
  display: none !important;
}

main:has(input[name='email']) .i7-brand-logo {
  display: block !important;
}

main:has(input[name='email']) .i7-hero-art,
main:has(input[name='email']) .i7-brand-features {
  display: none !important;
}

main:has(input[name='email']) > .MuiPaper-root form img:not([src*='flag']) {
  display: none !important;
}

main:has(input[name='email']) a[href*='register'],
main:has(input[name='email']) a[href*='signup'],
main:has(input[name='email']) .i7-register-hidden {
  display: none !important;
}

/* Final logo spacing/readability lock. */
main:has(input[name='email']) > div:first-child {
  inset: 38px 0 auto 0 !important;
  height: 228px !important;
  overflow: visible !important;
  isolation: isolate;
}

main:has(input[name='email']) > div:first-child::before {
  content: '' !important;
  position: absolute !important;
  left: 50% !important;
  top: 20px !important;
  width: min(560px, 82vw) !important;
  height: 188px !important;
  transform: translateX(-50%) !important;
  border-radius: 36px !important;
  background:
    radial-gradient(ellipse at center, rgba(165, 205, 255, 0.18), rgba(55, 130, 235, 0.09) 48%, transparent 74%) !important;
  filter: blur(10px) !important;
  z-index: -1 !important;
  pointer-events: none !important;
}

main:has(input[name='email']) .i7-brand-logo {
  position: relative !important;
  z-index: 1 !important;
  width: min(370px, 72vw) !important;
  max-width: min(370px, 72vw) !important;
  height: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.22)) !important;
}

main:has(input[name='email']) > .MuiPaper-root {
  padding-top: 286px !important;
}

@media (max-width: 920px) {
  main:has(input[name='email']) > div:first-child {
    inset: 30px 0 auto 0 !important;
    height: 174px !important;
    overflow: visible !important;
  }

  main:has(input[name='email']) > div:first-child::before {
    top: 10px !important;
    width: min(360px, 88vw) !important;
    height: 140px !important;
    border-radius: 28px !important;
  }

  main:has(input[name='email']) .i7-brand-logo {
    width: min(270px, 74vw) !important;
    max-width: min(270px, 74vw) !important;
  }

  main:has(input[name='email']) > .MuiPaper-root {
    padding-top: 218px !important;
  }
}


/* Simple modern login reset. Keeps the approved logo and focuses the page on the form. */
main:has(input[name='email']) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(30, 160, 255, 0.16), transparent 34%),
    linear-gradient(180deg, #07162f 0%, #030a19 100%) !important;
}

main:has(input[name='email']) > div:first-child {
  position: absolute !important;
  inset: 38px 0 auto 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 228px !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  border: 0 !important;
  box-shadow: none !important;
  background: radial-gradient(ellipse at center, rgba(165, 205, 255, 0.12), rgba(55, 130, 235, 0.05) 52%, transparent 76%) !important;
  overflow: visible !important;
  pointer-events: none;
}

main:has(input[name='email']) .i7-brand-logo {
  position: static !important;
  transform: none !important;
  width: min(370px, 72vw) !important;
  max-width: min(370px, 72vw) !important;
  margin: 0 auto !important;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.22)) !important;
}

.i7-hero-art,
.i7-brand-features {
  display: none !important;
}

main:has(input[name='email']) > .MuiPaper-root {
  width: 100% !important;
  min-height: 100dvh !important;
  padding: 286px 24px 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

main:has(input[name='email']) > .MuiPaper-root form {
  width: min(520px, calc(100vw - 48px)) !important;
  max-width: 520px !important;
  min-height: auto !important;
  padding: 40px 42px 34px !important;
  border-radius: 24px !important;
  border: 1px solid rgba(120, 160, 255, 0.24) !important;
  background:
    linear-gradient(180deg, rgba(14, 27, 56, 0.84), rgba(5, 13, 31, 0.92)) !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42) !important;
  backdrop-filter: blur(18px);
}

.i7-login-header {
  margin-bottom: 28px !important;
  text-align: left;
}

.i7-login-header h1 {
  font-size: 30px !important;
  line-height: 1.16 !important;
  font-weight: 800 !important;
}

.i7-login-header p {
  margin-top: 8px !important;
  font-size: 17px !important;
  line-height: 1.45 !important;
}

main:has(input[name='email']) .MuiTextField-root {
  margin-bottom: 18px !important;
}

main:has(input[name='email']) .MuiInputBase-root {
  min-height: 62px !important;
  height: 62px !important;
  border-radius: 14px !important;
}

main:has(input[name='email']) input {
  height: 62px !important;
  font-size: 16px !important;
  padding-left: 66px !important;
}

main:has(input[name='email']) label {
  font-size: 14px !important;
  transform: translate(14px, -8px) scale(0.75) !important;
}

main:has(input[name='email']) .i7-field-email::before,
main:has(input[name='email']) .i7-field-password::before {
  left: 22px !important;
  width: 22px !important;
  height: 22px !important;
}

main:has(input[name='email']) button[type='submit'],
main:has(input[name='email']) form button.MuiButton-contained {
  min-height: 62px !important;
  margin-top: 4px !important;
  margin-bottom: 22px !important;
  font-size: 21px !important;
}

.i7-language-wrapper {
  top: 28px !important;
  right: 32px !important;
}

.i7-language-wrapper .MuiInputBase-root {
  min-height: 48px !important;
  height: 48px !important;
}

main:has(input[name='email']) .i7-whatsapp,
body:not(:has(.maplibregl-map)) .i7-whatsapp {
  height: 52px !important;
  right: 32px !important;
  bottom: 28px !important;
  padding: 0 22px !important;
}

@media (max-width: 920px) {
  main:has(input[name='email']) {
    overflow: auto !important;
  }

  main:has(input[name='email']) > div:first-child {
    inset: 30px 0 auto 0 !important;
    height: 174px !important;
    border: 0 !important;
  }

  main:has(input[name='email']) .i7-brand-logo {
    width: min(270px, 74vw) !important;
    max-width: min(270px, 74vw) !important;
  }

  main:has(input[name='email']) > .MuiPaper-root {
    min-height: 100dvh !important;
    padding: 218px 18px 28px !important;
  }

  main:has(input[name='email']) > .MuiPaper-root form {
    width: 100% !important;
    padding: 30px 22px 26px !important;
    border-radius: 22px !important;
  }

  .i7-language-wrapper {
    top: 16px !important;
    right: 16px !important;
  }

  main:has(input[name='email']) .i7-whatsapp,
  body:not(:has(.maplibregl-map)) .i7-whatsapp {
    display: none !important;
  }
}

body {
  overflow: hidden;
}

#root.root {
  display: flex;
  flex-direction: column;
}

#root.root > div {
  flex: 1 1 auto;
  min-height: 0;
}

[class$='-page'],
[class*='-page '] {
  min-height: 0;
}

[class$='-page']:has([class$='-contentMap']),
[class*='-page ']:has([class$='-contentMap']) {
  height: 100% !important;
}

[class$='-root']:has([class$='-contentMap']),
[class*='-root ']:has([class$='-contentMap']),
[class$='-sidebar']:has([class$='-contentMap']),
[class*='-sidebar ']:has([class$='-contentMap']) {
  height: 100% !important;
  min-height: 0 !important;
}

[class$='-middle']:has([class$='-contentMap']),
[class*='-middle ']:has([class$='-contentMap']) {
  height: auto !important;
  min-height: 0 !important;
}

[class$='-contentMap'],
[class*='-contentMap '],
[class$='-contentMap'] > div,
[class*='-contentMap '] > div,
.maplibregl-map {
  height: 100% !important;
  min-height: 0 !important;
}


/* Keep WhatsApp available on public/auth screens without covering app controls after login. */
body:has(.maplibregl-map) .i7-whatsapp,
body:has(nav) .i7-whatsapp,
body:has([class$='-contentMap']) .i7-whatsapp,
body:has([class*='-contentMap ']) .i7-whatsapp {
  display: none;
}

.i7-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: #22c55e;
  color: #ffffff;
  font: 700 15px/1.2 Arial, sans-serif;
  text-decoration: none;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.32);
}

.i7-whatsapp:hover {
  background: #16a34a;
}

@media (max-width: 720px) {
  .i7-whatsapp {
    right: 16px;
    bottom: 16px;
    min-width: 104px;
    height: 42px;
  }
}

/* Modern i7 login screen. Scoped to auth pages so the Traccar app UI stays untouched. */
main:has(input[name='email']) {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 8%, rgba(37, 99, 235, 0.24), transparent 31%),
    radial-gradient(circle at 18% 88%, rgba(14, 165, 233, 0.18), transparent 34%),
    linear-gradient(115deg, #020817 0%, #071326 46%, #020617 100%) !important;
  color: #f8fafc;
}

main:has(input[name='email'])::before {
  content: none;
  position: absolute;
  inset: auto auto 0 0;
  width: 58%;
  height: 44%;
  pointer-events: none;
  opacity: 0.42;
  background:
    linear-gradient(155deg, transparent 0 58%, rgba(56, 189, 248, 0.9) 59% 60%, transparent 61%),
    linear-gradient(26deg, transparent 0 43%, rgba(37, 99, 235, 0.75) 44% 45%, transparent 46%),
    repeating-linear-gradient(0deg, rgba(148, 163, 184, 0.12) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.1) 0 1px, transparent 1px 58px);
  mask-image: linear-gradient(to top, #000 0%, transparent 95%);
}

main:has(input[name='email'])::after {
  content: none;
}

main:has(input[name='email']) > div:first-child {
  position: relative;
  width: 46% !important;
  min-width: 560px;
  justify-content: flex-start !important;
  align-items: center !important;
  padding: 0 4.2vw;
  background: transparent !important;
  border-right: 1px solid rgba(59, 130, 246, 0.25);
  box-shadow: inset -1px 0 26px rgba(37, 99, 235, 0.1);
  overflow: hidden;
}

main:has(input[name='email']) > div:first-child {
  background:
    radial-gradient(circle at 50% 18%, rgba(30, 160, 255, 0.08), transparent 26%),
    linear-gradient(180deg, #06142d 0%, #041128 54%, #06142d 100%) !important;
}

main:has(input[name='email']) > div:first-child::before {
  content: none;
  white-space: pre;
  position: absolute;
  left: 5.2vw;
  top: calc(50% - 34px);
  max-width: 560px;
  color: #93b4ff;
  font: 500 20px/1.45 Arial, sans-serif;
  letter-spacing: 0;
  text-shadow: 0 20px 55px rgba(37, 99, 235, 0.35);
}

main:has(input[name='email']) > div:first-child::after {
  content: none;
}

main:has(input[name='email']) .i7-brand-logo {
  width: min(520px, 88%) !important;
  max-width: min(520px, 88%) !important;
  height: auto !important;
  max-height: none !important;
  margin: 0;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.22)) !important;
  position: absolute;
  top: 82px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

main:has(input[name='email']) .i7-brand-logo {
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.22)) !important;
}

main:has(input[name='email']) > .MuiPaper-root {
  position: relative;
  flex: 1 1 auto;
  align-items: center !important;
  justify-content: center !important;
  padding: 110px 80px 90px !important;
  background: transparent !important;
  box-shadow: none !important;
}

main:has(input[name='email']) > .MuiPaper-root form {
  position: relative;
  box-sizing: border-box;
  width: 100% !important;
  max-width: 760px !important;
  min-height: 610px;
  padding: 68px 76px;
  border: 1px solid rgba(120, 160, 255, 0.42);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(17, 31, 66, 0.78), rgba(5, 13, 31, 0.92));
  backdrop-filter: blur(18px);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.i7-hero-art {
  position: absolute;
  left: 0;
  right: 0;
  top: 390px;
  bottom: 116px;
  height: auto;
  pointer-events: none;
  opacity: 1;
  z-index: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.i7-hero-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.i7-hero-scene-blur {
  display: none;
}

.i7-hero-scene-main {
  opacity: 0.98;
}

.i7-map-plane {
  position: absolute;
  inset: 42px 0 0 0;
  background:
    linear-gradient(135deg, transparent 0 18%, rgba(30, 160, 255, 0.15) 19% 20%, transparent 21%),
    linear-gradient(30deg, transparent 0 38%, rgba(73, 184, 255, 0.22) 39% 40%, transparent 41%),
    repeating-linear-gradient(0deg, rgba(148, 163, 184, 0.10) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.08) 0 1px, transparent 1px 44px);
  clip-path: polygon(3% 42%, 61% 4%, 100% 35%, 38% 100%, 0 72%);
  opacity: 0.58;
  transform: perspective(800px) rotateX(58deg) rotateZ(-4deg);
  transform-origin: bottom;
}

.i7-route-line {
  position: absolute;
  left: 108px;
  right: 88px;
  bottom: 74px;
  height: 4px;
  background: linear-gradient(90deg, #1ea0ff, #49b8ff 46%, #3c7bff);
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(73, 184, 255, 0.95);
  transform: rotate(-14deg);
}

.i7-route-line::before,
.i7-route-line::after {
  content: '';
  position: absolute;
  width: 13px;
  height: 13px;
  top: -5px;
  border-radius: 50%;
  background: #49b8ff;
  box-shadow: 0 0 18px rgba(73, 184, 255, 0.95);
}

.i7-route-line::before {
  left: 26%;
}

.i7-route-line::after {
  right: 10%;
}

.i7-car {
  position: absolute;
  left: 22px;
  bottom: 36px;
  width: 150px;
  height: 66px;
  border-radius: 38px 52px 20px 20px;
  background:
    radial-gradient(circle at 22% 82%, #ef4444 0 5px, transparent 6px),
    radial-gradient(circle at 72% 84%, #111827 0 11px, #60a5fa 12px 13px, transparent 14px),
    linear-gradient(155deg, #e5e7eb 0 18%, #64748b 52%, #111827 100%);
  box-shadow: 18px 18px 34px rgba(0, 0, 0, 0.45), 0 0 18px rgba(30, 160, 255, 0.26);
  transform: skewX(-12deg) rotate(-9deg);
}

.i7-car::before {
  content: '';
  position: absolute;
  left: 33px;
  top: 9px;
  width: 52px;
  height: 24px;
  border-radius: 20px 28px 8px 8px;
  background: linear-gradient(135deg, #dbeafe, #2563eb 70%);
  opacity: 0.7;
}

.i7-pin {
  position: absolute;
  right: 58px;
  top: 38px;
  width: 54px;
  height: 54px;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(160deg, #62d8ff, #1ea0ff 62%, #176fe0);
  box-shadow: 0 0 28px rgba(73, 184, 255, 0.85);
  transform: rotate(-45deg);
}

.i7-pin::before {
  content: '';
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: #071326;
}

.i7-pin::after {
  content: '';
  position: absolute;
  inset: -26px;
  border-radius: 50%;
  border: 2px solid rgba(73, 184, 255, 0.35);
  transform: rotate(45deg);
}

.i7-brand-features {
  position: absolute;
  left: 4.2vw;
  right: 4.2vw;
  bottom: 42px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}

.i7-feature {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: #ffffff;
  font: 700 16px/1.3 Inter, Poppins, Segoe UI, Arial, sans-serif;
}

.i7-feature p {
  margin: 0;
  white-space: nowrap;
}

.i7-feature span {
  position: relative;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  border: 1px solid rgba(96, 165, 250, 0.58);
  background: rgba(8, 18, 40, 0.34);
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.25);
}

.i7-feature span::before {
  content: '';
  position: absolute;
  inset: 11px;
  background-color: #93b4ff;
  mask: var(--i7-feature-icon) center / 24px 24px no-repeat;
}

.i7-feature-shield {
  --i7-feature-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.7 8.9a1 1 0 0 1-.6 0C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.2-2.4a1.4 1.4 0 0 1 1.6 0C14.5 3.8 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}

.i7-feature-pin {
  --i7-feature-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 1 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.i7-feature-chart {
  --i7-feature-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M3 3v18h18'/%3E%3Crect width='3' height='8' x='7' y='9' rx='1'/%3E%3Crect width='3' height='13' x='12' y='4' rx='1'/%3E%3Crect width='3' height='5' x='17' y='12' rx='1'/%3E%3C/svg%3E");
}

.i7-login-header {
  margin: 0 0 36px;
}

.i7-login-header h1 {
  margin: 0;
  color: #ffffff;
  font: 800 36px/1.15 Inter, Poppins, Segoe UI, Arial, sans-serif;
  letter-spacing: 0;
}

.i7-login-header p {
  margin: 12px 0 0;
  color: #b8c4e0;
  font: 400 21px/1.45 Inter, Poppins, Segoe UI, Arial, sans-serif;
}

main:has(input[name='email']) > .MuiPaper-root form::after {
  content: '';
  position: absolute;
  inset: -1px 40px auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38bdf8, #2563eb, transparent);
  opacity: 0.9;
}

main:has(input[name='email']) form > div:last-child {
  width: 100% !important;
}

main:has(input[name='email']) form [class$='-container'],
main:has(input[name='email']) form [class*='-container '] {
  width: 100% !important;
  max-width: none !important;
  gap: 0 !important;
}

main:has(input[name='email']) .MuiTextField-root {
  width: 100% !important;
  margin-bottom: 26px !important;
  position: relative;
}

main:has(input[name='email']) .i7-field-email::before,
main:has(input[name='email']) .i7-field-password::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 50%;
  z-index: 2;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.92;
  background-color: #dbeafe;
  mask: var(--i7-field-icon) center / contain no-repeat;
}

main:has(input[name='email']) .i7-field-email {
  --i7-field-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E");
}

main:has(input[name='email']) .i7-field-password {
  --i7-field-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='11' x='3' y='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
}

main:has(input[name='email']) .MuiInputBase-root {
  min-height: 76px;
  height: 76px;
  border-radius: 14px !important;
  color: #ffffff !important;
  background: rgba(11, 20, 43, 0.72);
  overflow: hidden;
}

main:has(input[name='email']) .MuiOutlinedInput-notchedOutline {
  border-color: rgba(148, 163, 184, 0.30) !important;
}

main:has(input[name='email']) .MuiInputBase-root:hover .MuiOutlinedInput-notchedOutline {
  border-color: rgba(141, 178, 255, 0.7) !important;
}

main:has(input[name='email']) .MuiInputBase-root.Mui-focused .MuiOutlinedInput-notchedOutline {
  border-color: #49b8ff !important;
  box-shadow: 0 0 0 3px rgba(73, 184, 255, 0.12);
}

main:has(input[name='email']) input {
  height: 76px !important;
  color: #ffffff !important;
  font-size: 18px !important;
  padding-left: 78px !important;
}

main:has(input[name='email']) label {
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  transform: translate(14px, -9px) scale(0.75) !important;
  background: transparent !important;
  overflow: visible !important;
  max-width: none !important;
}

main:has(input[name='email']) label.Mui-focused {
  color: #8db2ff !important;
}

main:has(input[name='email']) input::placeholder {
  color: #94a3b8;
  opacity: 1;
}

main:has(input[name='email']) input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px rgba(11, 20, 43, 1) inset !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff !important;
  transition: background-color 9999s ease-in-out 0s;
}

main:has(input[name='email']) .MuiIconButton-root,
main:has(input[name='email']) .MuiInputAdornment-root svg {
  color: #dce7ff !important;
  fill: none !important;
  stroke: currentColor !important;
}

main:has(input[name='email']) .MuiOutlinedInput-notchedOutline legend {
  width: 0 !important;
  max-width: 0 !important;
}

main:has(input[name='email']) button[type='submit'],
main:has(input[name='email']) form button.MuiButton-contained {
  width: 100%;
  min-height: 78px;
  margin-top: 8px;
  margin-bottom: 28px;
  border-radius: 14px;
  background: linear-gradient(90deg, #10c85b, #15d66d) !important;
  color: #ffffff !important;
  font: 900 25px/1 Inter, Poppins, Segoe UI, Arial, sans-serif;
  letter-spacing: 0.6px;
  box-shadow: 0 18px 40px rgba(16, 200, 91, 0.25);
}

main:has(input[name='email']) button[type='submit']:hover,
main:has(input[name='email']) form button.MuiButton-contained:hover {
  background: linear-gradient(90deg, #0fb856, #12c967) !important;
  box-shadow: 0 20px 48px rgba(16, 200, 91, 0.34);
}

main:has(input[name='email']) button[type='submit']::after,
main:has(input[name='email']) form button.MuiButton-contained::after {
  content: '→';
  margin-left: auto;
  padding-right: 14px;
  font-size: 34px;
  font-weight: 400;
}

main:has(input[name='email']) form [class$='-extraContainer'],
main:has(input[name='email']) form [class*='-extraContainer '] {
  width: 100% !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: 0 !important;
}

main:has(input[name='email']) form a {
  color: #8db2ff !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

main:has(input[name='email']) .i7-forgot-link {
  color: #8db2ff !important;
  font: 600 16px/1.4 Inter, Poppins, Segoe UI, Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.i7-language-wrapper {
  top: 42px !important;
  right: 78px !important;
  z-index: 20;
  position: absolute !important;
}

.i7-language-wrapper .MuiInputBase-root {
  min-height: 54px;
  height: 54px;
  padding: 0 22px;
  border-radius: 16px !important;
  color: #ffffff !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  background: rgba(8, 18, 40, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.36);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

main:has(input[name='email']) .i7-whatsapp,
body:not(:has(.maplibregl-map)) .i7-whatsapp {
  display: inline-flex;
  position: fixed;
  min-width: 0;
  height: 58px;
  right: 56px;
  bottom: 36px;
  gap: 10px;
  padding: 0 26px;
  border-radius: 999px;
  background: #19d66b;
  box-shadow: 0 18px 45px rgba(25, 214, 107, 0.28);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  z-index: 15;
}

main:has(input[name='email']) .i7-whatsapp::before,
body:not(:has(.maplibregl-map)) .i7-whatsapp::before {
  content: 'Fale conosco';
  font-weight: 500;
  opacity: 0.95;
}

main:has(input[name='email']) .i7-whatsapp::after,
body:not(:has(.maplibregl-map)) .i7-whatsapp::after {
  content: '›';
  font-size: 28px;
  line-height: 1;
}

@media (max-width: 920px) {
  main:has(input[name='email']) {
    display: block !important;
    overflow: auto;
  }

  main:has(input[name='email']) > div:first-child {
    width: 100% !important;
    min-width: 0;
    height: 230px !important;
    padding: 34px 24px 0;
    align-items: center !important;
    border-right: 0;
    border-bottom: 1px solid rgba(96, 165, 250, 0.18);
  }

  main:has(input[name='email']) .i7-brand-logo {
    width: min(300px, 78vw) !important;
    max-width: min(300px, 78vw) !important;
    margin-top: 0;
    margin-left: 0;
  }

  main:has(input[name='email']) .i7-brand-logo {
    width: min(210px, 68vw) !important;
    height: auto !important;
  }

  main:has(input[name='email']) > div:first-child::before {
    left: 24px;
    right: 24px;
    top: 142px;
    text-align: center;
    font-size: 14px;
    line-height: 1.25;
  }

  main:has(input[name='email']) > div:first-child::after {
    display: none;
  }

  main:has(input[name='email']) > .MuiPaper-root {
    min-height: calc(100dvh - 230px);
    padding: 24px;
  }

  main:has(input[name='email']) > .MuiPaper-root form {
    width: min(430px, 100%) !important;
    max-width: 100% !important;
    min-height: auto;
    padding: 88px 24px 32px;
    border-radius: 26px;
  }

  main:has(input[name='email']) > .MuiPaper-root form::before {
    margin-bottom: 18px;
    font-size: 22px;
  }

  .i7-login-header {
    margin-bottom: 22px;
  }

  .i7-login-header h1 {
    font-size: 24px;
  }

  .i7-login-header p {
    margin-top: 8px;
    font-size: 16px;
  }

  main:has(input[name='email']) form [class$='-container'],
  main:has(input[name='email']) form [class*='-container '] {
    gap: 14px !important;
  }

  main:has(input[name='email']) .MuiInputBase-root {
    min-height: 50px;
  }

  main:has(input[name='email']) input {
    height: 50px !important;
    font-size: 16px !important;
    padding-left: 58px !important;
  }

  main:has(input[name='email']) label {
    font-size: 15px !important;
    transform: translate(0, -24px) scale(1) !important;
  }

  main:has(input[name='email']) button[type='submit'],
  main:has(input[name='email']) form button.MuiButton-contained {
    min-height: 52px;
    font-size: 19px;
  }

  main:has(input[name='email']) form [class$='-extraContainer'],
  main:has(input[name='email']) form [class*='-extraContainer '] {
    margin-top: 14px !important;
  }

  main:has(input[name='email']) .i7-field-email::before,
  main:has(input[name='email']) .i7-field-password::before {
    left: 18px;
    width: 20px;
    height: 20px;
  }

  .i7-language-wrapper {
    top: 20px !important;
    right: 20px !important;
  }

  .i7-language-wrapper .MuiInputBase-root {
    min-height: 46px;
    height: 46px;
    font-size: 14px !important;
  }

  main:has(input[name='email']) .i7-whatsapp,
  body:not(:has(.maplibregl-map)) .i7-whatsapp {
    display: inline-flex;
    right: 20px;
    bottom: 20px;
    height: 52px;
    font-size: 14px;
    padding: 0 18px;
  }

  .i7-hero-art {
    display: none;
  }

  .i7-brand-features {
    display: none;
  }
}
/* Final simple modern login override. */
main:has(input[name='email']) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(30, 160, 255, 0.16), transparent 34%),
    linear-gradient(180deg, #07162f 0%, #030a19 100%) !important;
}

main:has(input[name='email']) > div:first-child {
  position: absolute !important;
  inset: 38px 0 auto 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 228px !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  border: 0 !important;
  box-shadow: none !important;
  background: radial-gradient(ellipse at center, rgba(165, 205, 255, 0.12), rgba(55, 130, 235, 0.05) 52%, transparent 76%) !important;
  overflow: visible !important;
  pointer-events: none;
}

main:has(input[name='email']) .i7-brand-logo {
  position: static !important;
  transform: none !important;
  width: min(370px, 72vw) !important;
  max-width: min(370px, 72vw) !important;
  margin: 0 auto !important;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.22)) !important;
}

.i7-hero-art,
.i7-brand-features {
  display: none !important;
}

main:has(input[name='email']) > .MuiPaper-root {
  width: 100% !important;
  min-height: 100dvh !important;
  padding: 286px 24px 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

main:has(input[name='email']) > .MuiPaper-root form {
  width: min(520px, calc(100vw - 48px)) !important;
  max-width: 520px !important;
  min-height: auto !important;
  padding: 40px 42px 34px !important;
  border-radius: 24px !important;
  border: 1px solid rgba(120, 160, 255, 0.24) !important;
  background:
    linear-gradient(180deg, rgba(14, 27, 56, 0.84), rgba(5, 13, 31, 0.92)) !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42) !important;
  backdrop-filter: blur(18px);
}

.i7-login-header {
  margin-bottom: 28px !important;
  text-align: left;
}

.i7-login-header h1 {
  font-size: 30px !important;
  line-height: 1.16 !important;
  font-weight: 800 !important;
}

.i7-login-header p {
  margin-top: 8px !important;
  font-size: 17px !important;
  line-height: 1.45 !important;
}

main:has(input[name='email']) .MuiTextField-root {
  margin-bottom: 18px !important;
}

main:has(input[name='email']) .MuiInputBase-root {
  min-height: 62px !important;
  height: 62px !important;
  border-radius: 14px !important;
}

main:has(input[name='email']) input {
  height: 62px !important;
  font-size: 16px !important;
  padding-left: 66px !important;
}

main:has(input[name='email']) label {
  font-size: 14px !important;
  transform: translate(14px, -8px) scale(0.75) !important;
}

main:has(input[name='email']) .i7-field-email::before,
main:has(input[name='email']) .i7-field-password::before {
  left: 22px !important;
  width: 22px !important;
  height: 22px !important;
}

main:has(input[name='email']) button[type='submit'],
main:has(input[name='email']) form button.MuiButton-contained {
  min-height: 62px !important;
  margin-top: 4px !important;
  margin-bottom: 22px !important;
  font-size: 21px !important;
}

.i7-language-wrapper {
  top: 28px !important;
  right: 32px !important;
}

.i7-language-wrapper .MuiInputBase-root {
  min-height: 48px !important;
  height: 48px !important;
}

main:has(input[name='email']) .i7-whatsapp,
body:not(:has(.maplibregl-map)) .i7-whatsapp {
  height: 52px !important;
  right: 32px !important;
  bottom: 28px !important;
  padding: 0 22px !important;
}

@media (max-width: 920px) {
  main:has(input[name='email']) {
    overflow: auto !important;
  }

  main:has(input[name='email']) > div:first-child {
    inset: 30px 0 auto 0 !important;
    height: 174px !important;
    border: 0 !important;
  }

  main:has(input[name='email']) .i7-brand-logo {
    width: min(270px, 74vw) !important;
    max-width: min(270px, 74vw) !important;
  }

  main:has(input[name='email']) > .MuiPaper-root {
    min-height: 100dvh !important;
    padding: 218px 18px 28px !important;
  }

  main:has(input[name='email']) > .MuiPaper-root form {
    width: 100% !important;
    padding: 30px 22px 26px !important;
    border-radius: 22px !important;
  }

  .i7-language-wrapper {
    top: 16px !important;
    right: 16px !important;
  }

  main:has(input[name='email']) .i7-whatsapp,
  body:not(:has(.maplibregl-map)) .i7-whatsapp {
    display: none !important;
  }
}

/* Mobile header collision fix. Keep at EOF. */
@media (max-width: 700px) {
  main:has(input[name='email']) {
    overflow: auto !important;
  }

  .i7-language-wrapper {
    top: 18px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    z-index: 30 !important;
  }

  .i7-language-wrapper .MuiInputBase-root {
    min-height: 50px !important;
    height: 50px !important;
    width: min(286px, calc(100vw - 104px)) !important;
    border-radius: 16px !important;
  }

  main:has(input[name='email']) > div:first-child {
    inset: 108px 0 auto 0 !important;
    height: 150px !important;
    overflow: visible !important;
    background: radial-gradient(ellipse at center, rgba(165, 205, 255, 0.14), rgba(55, 130, 235, 0.06) 52%, transparent 76%) !important;
  }

  main:has(input[name='email']) .i7-brand-logo {
    width: min(250px, 70vw) !important;
    max-width: min(250px, 70vw) !important;
    height: auto !important;
  }

  main:has(input[name='email']) > .MuiPaper-root {
    padding: 292px 18px 28px !important;
  }

  main:has(input[name='email']) > .MuiPaper-root form {
    padding: 30px 22px 26px !important;
  }
}

/* i7 Tracker app theme. Scoped away from the login screen. */
body.i7-app-page,
body:has(.maplibregl-map) {
  --i7-bg: #071226;
  --i7-surface: rgba(8, 18, 38, 0.92);
  --i7-surface-2: rgba(12, 28, 58, 0.88);
  --i7-border: rgba(119, 170, 255, 0.22);
  --i7-border-strong: rgba(83, 184, 255, 0.46);
  --i7-text: #f7fbff;
  --i7-muted: #a9b8d6;
  --i7-blue: #159bff;
  --i7-blue-2: #48c7ff;
  --i7-green: #19d66b;
  --i7-radius: 18px;
  background: var(--i7-bg) !important;
  color: var(--i7-text) !important;
}

body.i7-app-page .root,
body:has(.maplibregl-map) .root {
  background:
    radial-gradient(circle at 14% 0%, rgba(31, 152, 255, 0.16), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(25, 214, 107, 0.08), transparent 28%),
    linear-gradient(180deg, #081733 0%, #040b18 100%) !important;
}

body.i7-app-page .MuiAppBar-root,
body:has(.maplibregl-map) .MuiAppBar-root {
  background: rgba(5, 14, 31, 0.86) !important;
  color: var(--i7-text) !important;
  border-bottom: 1px solid var(--i7-border) !important;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.24) !important;
  backdrop-filter: blur(18px);
}

body.i7-app-page .MuiDrawer-paper,
body:has(.maplibregl-map) .MuiDrawer-paper,
body.i7-app-page [class*='sidebar'],
body:has(.maplibregl-map) [class*='sidebar'] {
  background:
    linear-gradient(180deg, rgba(8, 20, 43, 0.96), rgba(4, 11, 25, 0.96)) !important;
  color: var(--i7-text) !important;
  border-right: 1px solid var(--i7-border) !important;
  box-shadow: 16px 0 60px rgba(0, 0, 0, 0.28) !important;
}

body.i7-app-page .MuiPaper-root,
body:has(.maplibregl-map) .MuiPaper-root {
  background: var(--i7-surface) !important;
  color: var(--i7-text) !important;
  border: 1px solid var(--i7-border) !important;
  border-radius: var(--i7-radius) !important;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.30) !important;
  backdrop-filter: blur(16px);
}

body.i7-app-page .MuiListItemButton-root,
body:has(.maplibregl-map) .MuiListItemButton-root,
body.i7-app-page .MuiMenuItem-root,
body:has(.maplibregl-map) .MuiMenuItem-root {
  border-radius: 12px !important;
  margin: 3px 8px !important;
  color: var(--i7-muted) !important;
}

body.i7-app-page .MuiListItemButton-root:hover,
body:has(.maplibregl-map) .MuiListItemButton-root:hover,
body.i7-app-page .MuiMenuItem-root:hover,
body:has(.maplibregl-map) .MuiMenuItem-root:hover {
  background: rgba(72, 199, 255, 0.12) !important;
  color: var(--i7-text) !important;
}

body.i7-app-page .Mui-selected,
body:has(.maplibregl-map) .Mui-selected,
body.i7-app-page .MuiListItemButton-root.Mui-selected,
body:has(.maplibregl-map) .MuiListItemButton-root.Mui-selected {
  background: linear-gradient(90deg, rgba(21, 155, 255, 0.26), rgba(72, 199, 255, 0.10)) !important;
  color: #ffffff !important;
  box-shadow: inset 3px 0 0 var(--i7-blue-2);
}

body.i7-app-page .MuiSvgIcon-root,
body:has(.maplibregl-map) .MuiSvgIcon-root {
  color: currentColor;
}

body.i7-app-page .MuiButton-contained,
body:has(.maplibregl-map) .MuiButton-contained {
  border-radius: 12px !important;
  background: linear-gradient(90deg, #118fff, #42c7ff) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 30px rgba(18, 143, 255, 0.26) !important;
  text-transform: none !important;
  font-weight: 800 !important;
}

body.i7-app-page .MuiButton-outlined,
body:has(.maplibregl-map) .MuiButton-outlined,
body.i7-app-page .MuiIconButton-root,
body:has(.maplibregl-map) .MuiIconButton-root {
  border-color: rgba(132, 179, 255, 0.28) !important;
  color: var(--i7-text) !important;
}

body.i7-app-page .MuiIconButton-root:hover,
body:has(.maplibregl-map) .MuiIconButton-root:hover {
  background: rgba(72, 199, 255, 0.13) !important;
}

body.i7-app-page .MuiInputBase-root,
body:has(.maplibregl-map) .MuiInputBase-root {
  background: rgba(4, 12, 28, 0.72) !important;
  color: var(--i7-text) !important;
  border-radius: 12px !important;
}

body.i7-app-page .MuiOutlinedInput-notchedOutline,
body:has(.maplibregl-map) .MuiOutlinedInput-notchedOutline {
  border-color: rgba(132, 179, 255, 0.26) !important;
}

body.i7-app-page .MuiInputBase-root.Mui-focused .MuiOutlinedInput-notchedOutline,
body:has(.maplibregl-map) .MuiInputBase-root.Mui-focused .MuiOutlinedInput-notchedOutline {
  border-color: var(--i7-blue-2) !important;
  box-shadow: 0 0 0 3px rgba(72, 199, 255, 0.12);
}

body.i7-app-page .MuiInputLabel-root,
body:has(.maplibregl-map) .MuiInputLabel-root,
body.i7-app-page .MuiTypography-colorTextSecondary,
body:has(.maplibregl-map) .MuiTypography-colorTextSecondary {
  color: var(--i7-muted) !important;
}

body.i7-app-page .MuiTableCell-root,
body:has(.maplibregl-map) .MuiTableCell-root {
  color: var(--i7-text) !important;
  border-color: rgba(132, 179, 255, 0.12) !important;
}

body.i7-app-page .MuiTableHead-root .MuiTableCell-root,
body:has(.maplibregl-map) .MuiTableHead-root .MuiTableCell-root {
  color: #cfe2ff !important;
  background: rgba(20, 45, 86, 0.72) !important;
  font-weight: 800 !important;
}

body.i7-app-page .MuiTableRow-root:hover,
body:has(.maplibregl-map) .MuiTableRow-root:hover {
  background: rgba(72, 199, 255, 0.08) !important;
}

body.i7-app-page .MuiDialog-paper,
body:has(.maplibregl-map) .MuiDialog-paper,
body.i7-app-page .MuiPopover-paper,
body:has(.maplibregl-map) .MuiPopover-paper,
body.i7-app-page .MuiMenu-paper,
body:has(.maplibregl-map) .MuiMenu-paper {
  background:
    linear-gradient(180deg, rgba(12, 28, 58, 0.98), rgba(5, 12, 28, 0.98)) !important;
  border: 1px solid var(--i7-border-strong) !important;
  border-radius: 18px !important;
}

body.i7-app-page .maplibregl-map,
body:has(.maplibregl-map) .maplibregl-map {
  background: #061125 !important;
}

body.i7-app-page .maplibregl-ctrl-group,
body:has(.maplibregl-map) .maplibregl-ctrl-group {
  overflow: hidden;
  border: 1px solid rgba(132, 179, 255, 0.28) !important;
  border-radius: 14px !important;
  background: rgba(7, 18, 38, 0.88) !important;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28) !important;
  backdrop-filter: blur(12px);
}

body.i7-app-page .maplibregl-ctrl-group button,
body:has(.maplibregl-map) .maplibregl-ctrl-group button {
  background-color: transparent !important;
}

body.i7-app-page a[href*='traccar.org'],
body:has(.maplibregl-map) a[href*='traccar.org'] {
  display: none !important;
}

body.i7-app-page img[src*='logo.svg'],
body:has(.maplibregl-map) img[src*='logo.svg'] {
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.28));
}

@media (max-width: 700px) {
  body.i7-app-page .MuiDrawer-paper,
  body:has(.maplibregl-map) .MuiDrawer-paper {
    border-radius: 0 18px 18px 0 !important;
  }

  body.i7-app-page .MuiPaper-root,
  body:has(.maplibregl-map) .MuiPaper-root {
    border-radius: 14px !important;
  }
}
