/* TrackMV — login / register / reset-password redesign
   Scoped to <main>, which only the auth screens render. */

main {
  background: linear-gradient(165deg, #0B1C3D 0%, #081226 100%);
}

/* sidebar (first child of main) */
main > div:first-of-type {
  position: relative;
  background: linear-gradient(165deg, #1668C9 0%, #0B1C3D 100%);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 560'%3E%3Cpath d='M40 520 C 120 480, 60 380, 160 340 S 320 260, 300 180 S 420 90, 460 40' fill='none' stroke='%23F7F9FC' stroke-width='14' stroke-linecap='round' opacity='0.08'/%3E%3Cpath d='M40 520 C 120 480, 60 380, 160 340 S 320 260, 300 180 S 420 90, 460 40' fill='none' stroke='%23F7F9FC' stroke-width='3' stroke-linecap='round' stroke-dasharray='2 18' opacity='0.14'/%3E%3C/svg%3E"),
    linear-gradient(165deg, #1668C9 0%, #0B1C3D 100%);
  background-repeat: no-repeat;
  background-position: bottom right, center;
  background-size: 70% auto, cover;
}

main > div:first-of-type img {
  filter: drop-shadow(0 12px 24px rgba(8, 18, 38, 0.35));
}

/* floating card */
main .MuiPaper-root {
  margin: 24px;
  border-radius: 20px;
  box-shadow: 0px 24px 48px rgba(8, 18, 38, 0.18);
}

@media (max-width: 599.95px) {
  main .MuiPaper-root {
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

/* inputs */
main .MuiOutlinedInput-root {
  border-radius: 10px;
}

/* buttons */
main .MuiButton-root {
  border-radius: 10px;
  height: 48px;
  font-weight: 600;
  box-shadow: none;
}

main .MuiButton-root:hover {
  box-shadow: none;
}
