*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  outline: none;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  scrollbar-width: none;
}

::-webkit-scrollbar {
  display: none;
}

:root {
  --header-height: 42px;
  --bottom-bar-height: 64px;
}

html,
body {
  -ms-overflow-style: none;
  max-width: 650px;
  margin: 0 auto;
  position: relative;
}

header,
footer {
  left: 0;
  right: 0;
  max-width: 650px;
  margin: 0 auto;
  position: fixed;
  width: 100%;
  z-index: 9999;
}

header {
  top: 0;
  height: var(--header-height);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #fff;
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
}
header .header__mdl-element {
  position: absolute;
  text-align: center;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
header .header__left-icon {
  height: 100%;
  padding: 0 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
}
header .header__total-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  background-color: #ff4343;
  border-radius: 30px;
  padding: 2px 4px;
  position: absolute;
  font-size: 10px;
  color: #fff;
  line-height: 1.5;
  left: 10px;
  top: 16px;
}
header .header__total-wrapper .header__total {
  display: block;
  direction: rtl;
  text-align: right;
  width: 100%;
  font-family: "Mulish", sans-serif;
  font-weight: 700;
  font-size: 10px;
  direction: rtl;
  text-align: right;
}
header .search {
  position: absolute;
  right: 61%;
}
header .header__right-icon {
  position: absolute;
  right: 20px;
}
header .header__total {
  position: absolute;
  right: 14px;
  top: 8px;
  background-color: #ff4343;
  padding: 2px 4px 2px 4px;
  border-radius: 30px;
  font-size: 10px;
  color: #fff;
  font-family: "Mulish", sans-serif;
  font-weight: 700;
  line-height: 1.5;
}

footer {
  bottom: 0;
  height: var(--bottom-bar-height);
  background-color: #193364;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
footer ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100%;
}
footer ul li {
  cursor: pointer;
}

main {
  padding-top: var(--header-height);
  padding-bottom: var(--bottom-bar-height);
  overflow-y: scroll;
  width: 100%;
}