﻿/* Main container /  onboarding */

.container-main-behavior {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  width: 100%;
  /*    background-color: lightgreen;*/
  padding: 0;
  align-content: center;
  min-height: 100vh;
}

.container-wrapper-compact {
  /*    background-color: blue;*/
  max-width: 800px;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.container-primary-button-behavior {
  display: block;
  position: relative;
  bottom: 1.5rem;
  z-index: 9999;
}

.side-image {
  display: none;
  height: auto;
  object-fit: cover;
  position: fixed;
  top: 100px;
}

.side-image-left {
  left: 0;
  object-position: right;
}

.side-image-right {
  right: 0;
  top: 400px;
  object-position: left;
}

.footer-bar {
  width: 100%;
  max-height: 48px !important;
  background-color: black;
  color: white;
  padding: 1rem 2rem;
  position: fixed;
  bottom: 0;
  z-index: 0;
}

/* Enhanced footer styling for larger screens */
@media (min-width: 768px) {
  .footer-bar {
    background: linear-gradient(
      to top,
      rgba(246, 248, 253, 1) 0%,
      rgba(246, 248, 253, 0.7) 30%,
      rgba(246, 248, 253, 0.3) 60%,
      rgba(246, 248, 253, 0) 100%
    ) !important;
    z-index: 9000;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
  }
  .mud-appbar {
    z-index: 10001 !important;
  }
}

/* Default pages*/
.bg-linear {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fd 100%);
}
/* Onboarding pages*/
.bg-radial-corner {
  background: radial-gradient(
    circle at bottom left,
    rgba(89, 114, 217, 0.1) 0%,
    rgba(255, 255, 255, 0.3) 40%
  );
}

.container-max-width {
  /*    background-color: hotpink;*/
  max-width: 100%;
  padding-left: 8px !important;
  padding-right: 8px !important;
  padding-bottom: 4rem !important;
}

.container-min-width {
  min-width: 300px;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.mud-appbar {
  background-color: white;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  .side-image {
    display: none;
  }

  .container-primary-button-behavior {
    position: relative;
    bottom: inherit;
    left: inherit;
    right: inherit;
    margin: 0 auto;
    z-index: 1;
  }

  .mobile-no-gutters {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Small devices (tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  .container-primary-button-behavior {
    bottom: inherit;
    margin-top: 1.5rem;
    z-index: 9999;
  }
}

/* Medium devices (Large tablet to laptop, 960px and up) */
@media only screen and (min-width: 960px) {
  .container-main-behavior {
    max-width: 800px;
    height: 100%;
    z-index: 9999;
  }

  .side-image {
    display: block;
    width: 200px;
  }

  .container-max-width {
    max-width: 520px;
    /*        max-width: 480px; */
    /*        background-color: hotpink;*/
  }

  .container-min-width {
    width: 480px;
  }
}

/* Large devices (Desktop, 1280px  and up) */
@media only screen and (min-width: 1280px) {
  .container-main-behavior {
    max-width: 1080px;
  }

  .side-image {
    width: 300px;
  }

  .side-image-left,
  .side-image-right {
    object-position: center;
  }

  .container-max-width {
    max-width: 600px;
    /*        background-color: hotpink;*/
  }

  .container-min-width {
    min-width: 480px;
  }
}

/* Extra large devices (Desktop, 1920px   and up) */
@media only screen and (min-width: 1920px) {
  .side-image {
    width: 500px;
  }
}
