/* NOTIFICATION DESIGN -- USED FOR OFFLINE ALERT */
.notification-wrapper.offline,
.notification,
.notification-text,
.install-banner .row {
  display: flex;
  align-items: center;
  justify-content: center;
}
.notification-wrapper {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  height: 100vh;
  width: 100vw;
  background: rgba(0, 123, 255, 0.1);
  display: none;
  padding: 0 15px;
}

.notification {
  justify-content: start;
  width: 50px;
  height: 50px;
  background: rgba(0, 123, 255, 0.9);
  transform: scale(0);
  border-radius: 50%;
  color: white;
  opacity: 0;
  overflow: hidden;
  animation: scale-in 0.3s ease-out forwards, expand 0.35s 0.25s ease-out forwards;
}

.notification-text {
  padding: 0 16px;
  font-size: 15px;
  animation: fade-in 0.65s ease-in forwards;
}

.notification-text .text-section {
  margin-left: 20px;
}

.notification-text .message {
  font-size: 14px;
}

@keyframes scale-in {
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes expand {
  50% {
    width: 500px;
    height: 60px;
    border-radius: 6px;
  }
  100% {
    width: 400px;
    height: 70px;
    border-radius: 10px;
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.8;
  }
}

/* INSTALL BANNER IOS */
.ios-install-banner,
.android-install-banner {
  position: fixed;
  width: 95%;
  max-width: 400px;
  height: auto;
  display: none;
  z-index: 100;
  left: 50%;
  transform: translateX(-50%);
  bottom: 30px;
  padding: 0.5rem;
}
.ios-install-banner {
  background-color: #eaeaea;
  color: #111111;
  border-radius: 10px;
  box-shadow: 0 5px #dadada;
}
.install-banner .banner-icon {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.ios-install-banner .arrow {
  width: 50px;
  height: 50px;
  background-color: #eaeaea;
  transform: rotate(45deg);
  position: absolute;
  bottom: -25px;
  left: calc(50% - 25px);
  z-index: -1;
}

.ios-install-banner .text-icon {
  width: 14px;
  vertical-align: bottom;
  margin-left: 2px;
  margin-right: 2px;
}

.android-install-banner {
  background-color: #007bff;
  border-radius: 5px;
  box-shadow: 0 5px #007bff;
}

.android-install-banner .banner-icon {
  width: 100%;
  height: auto;
  border-radius: 5px;
}
