/* @font-face {
  font-family: "SFPro";
  src: url(../assets/fonts/fontsfpro.ttf)
} */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Montserrat:wght@500;800&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
  font-family: 'Roboto', sans-serif;
  letter-spacing: 0.33px;
  margin: 0;
  padding: 0;
/*   box-sizing:border-box; */
}

body {
  height: 100%;
  min-height: -webkit-fill-available;
  margin: 0;
  padding: 0;
  background-color: #F2F2F6;
}

button{
  border: none;
}

::-webkit-scrollbar {
  width: 0;
}

a {
  text-decoration: none;
}

.main_container {
  width: 100%;
  margin: 0px auto;
  position: relative;
  max-width: 375px;
  min-width: 320px;
}

.wrapper{
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  background: rgb(242, 242, 246);
  opacity: 1;
}

.wrapper.center{
  align-items: center;
}

header{
  width: 100%;
  max-width: 375px;
  z-index: 99;
  position: fixed;
  background-color: inherit;
  top: 0px;
}

.header__content{
  width: 100%;
  height: 70px;
  max-width: 375px;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  z-index: 11;
  display: flex;
  flex-direction: column;
  -webkit-box-pack: center;
  justify-content: center;
  background-color: inherit;
}

.header__content_wrap {
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  position: relative;
}

.header_hamburger_icon {
  width: 40px;
  height: 40px;
  margin-right: 24px;
  position: absolute;
  right: 0px;
  top: 16px;
  fill: rgb(0, 121, 194);
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: end;
  justify-content: end;
  cursor: pointer;
}

.content{
  background-color: rgb(242, 242, 246);
  flex: 1 1 auto;
  margin-top: 70px;
  padding: 0px 16px;
}

.content__text{
  font-size: 13px;
  line-height: 16px;
  letter-spacing: 0.66px;
  text-transform: uppercase;
  color: rgb(5, 5, 7);
  font-weight: bold;
  display: block;
  margin-top: 24px;
  margin-bottom: 24px;
}

.card_list{
  margin-top: 16px;
}

.icon_close{
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background: rgb(246, 246, 249);
  border-radius: 100px;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  cursor: pointer;
  line-height: 24px;
}

.icon_close svg{
  fill: rgb(135, 143, 168);
}

.icon{
  position: relative;
  display: inline-flex;
  vertical-align: middle;
  box-sizing: border-box;
  width: 18px;
}

.banner_container{
  padding: 24px 16px;
}

.banner_title{
  font-weight: bold;
  color: #232324;
  font-size: 16px;
  line-height: 20px;
}

.banner_sub_title {
  font-size: 12px;
  color: rgb(144, 148, 153);
  white-space: pre-line;
  line-height: 20px;
}

.banner_button{
  width: 100%;
  background: linear-gradient(296.79deg, rgb(236, 65, 142) -1.09%, rgb(238, 72, 129) 22.37%, rgb(246, 110, 60) 83.89%);
  border-radius: 100px;
  border: none;
  font-size: 16px;
  color:#fff;
  margin-top: 24px;
  line-height: 20px;
  height: 36px;
  cursor: pointer;
}

.saved_card{
  border: 1px solid rgb(255, 255, 255);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  justify-content: space-between;
  margin-bottom: 24px;
  background-color: rgb(255, 255, 255);
}

/* .gpb{
  background: radial-gradient(118.27% 224.47% at 118.27% 0%, rgb(74, 111, 236) 0%, rgb(31, 147, 214) 47.92%, rgb(24, 49, 135) 100%);
} 

.other_bank{
  background: rgb(233, 241, 249);
} */

.card_logo{
  width: inherit;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
}

.card_logo span {
  margin-left: 12px;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.33px;
  color: rgb(5, 5, 7);
}
.card_info{
  display: flex;
  position: relative;
  -webkit-box-align: center;
  align-items: center;
}

.card_menu{
  color: rgb(118, 118, 121);
}

.masked_pan{
  width: 100%;
  align-items: flex-end;
  text-align: right;
  letter-spacing: 0.33px;
  font-size: 16px;
  line-height: 30px;
  margin-right: 24px;
  color: rgb(118, 118, 121) !important;
  margin-left: 0px !important;
}

.other_bank .masked_pan{
  color: rgb(32, 33, 36)
}

.btn_cancel{
  position: absolute;
  left: 24px;
  top: 27px;
  width: 40px;
  height: 40px;
  border: 1px solid rgb(212, 222, 254);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.info_btn, .modal-window-close-btn {
  border: none;
  padding: 0px;
  background: none;
  outline: none;
  cursor: pointer;
  position: relative;
  width: 16px;
  height: 30px;
  line-height: 10px;
}

.add_card_btn{
  width: 100%;
  background-color: inherit;
  outline: none;
  cursor: pointer;
  text-align: center;
  color: rgb(0, 121, 194);
  font-size: 16px;
  border: none;
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  margin-top: 36px;
}

.overlay{
  position: fixed;
  inset: 0px;
  background-color: rgb(114, 116, 134);
  opacity: 0.6;
  padding: 24px;
  box-sizing: border-box;
  z-index: 100;
}

.modal-window {
  padding: 24px;
  text-align: center;
  position: fixed;
  width: 80%;
  max-width: 300px;
  height: auto;
  background-color: white;
  border-radius: 8px;
  z-index: 1000000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.5s;
}

.payment-container{
  text-align: left;
  opacity: 1;
}

.payment-container__header{
  display: flex;
  margin-bottom: 24px;
}

.modal-window-close-btn{
  cursor: pointer;
  margin-left: auto;
}

.payment-container__amount{
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  color: rgb(5, 5, 7);
}

.payment-container__title{
  margin-top: 8px;
  display: inline-block;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0.33px;
  color: rgb(118, 118, 121);
}

.payment-container__list-card{
  margin-top: 24px;
}

.payment-container .saved_card {
  display: flex;
  margin-bottom: 22px;
  cursor: pointer;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 22px;;
}

.payment-container .card_logo span {
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.33px;
  color: rgb(5, 5, 7);
  display: inline-block;
  margin-left: 12px;
}

.add-card__icon {
  width: 42px;
  height: 30px;
  background-color: rgb(242, 242, 246);
  border-radius: 6px;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
}

.container__add-card {
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  cursor: pointer;
}

.container__add-card span {
  display: inline-block;
  margin-left: 12px;
}

#feedback{
  display: none;
}

.contacts__wrap{
  background-color: rgb(255, 255, 255);
  margin-bottom: 12px;
  padding: 18px 24px;
  border-radius: 8px !important;
  margin-top: 34px;
}

.contacts__item{
  display: flex;
  text-decoration: none;
}

.contacts__icon{
  width: 16px;
  max-width: 50px;
  margin-right: 20px;
  display: flex;
  flex-direction: column;
  -webkit-box-pack: center;
  justify-content: center;
}

.contacts__icon svg path{
  fill: rgb(5, 5, 7);
}

.contacts__info{
  width: 100%;
  display: flex;
  flex-direction: column;
}

.contacts__info span{
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0.33px;
  color: rgb(118, 118, 121);
  white-space: pre-line;
  display: inline-block;
  margin-top: 4px;
}

.contacts__info_phone{
  line-height: 20px;
  letter-spacing: 0.33px;
  font-weight: 700 !important;
  font-size: 16px !important;
  color: rgb(5, 5, 7) !important;
}
.contacts__hr{
  width: 88%;
  height: 1px;
  margin: 15px 35px;
  background-color: rgb(230, 230, 234);
  border: none;
}

.exit_btn__wrap{
  display: flex;
  text-decoration: none;
  -webkit-box-align: center;
  align-items: center;
  padding: 12px 24px;
  cursor: pointer;
  background-color: rgb(255, 255, 255);
  border-radius: 8px;
}

.exit_btn__icon{
  width: 16px;
  max-width: 50px;
  margin-right: 20px;
  height: 20px;
}

.exit_btn__text{
  width: 100%;
  display: flex;
  flex-direction: column;
}

.exit_btn__text span{
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 0.33px;
  white-space: pre-line;
  font-size: 16px;
  color: rgb(246, 81, 76);
  padding: 16px 0px;
}

.back_btn{
  width: 100%;
  height: 52px;
  background-color: rgb(255, 255, 255);
  margin-top: 12px;
  border-radius: 8px;
  outline: none;
  border: none;
  cursor: pointer;
  color: rgb(0, 121, 194);
  font-size: 16px;
  font-weight: 500;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
}

.back_btn span{
  display: block;
  margin-left: 8px;
}

.page__error{
  margin-top: 100px;
}

.page__error .header__content{
  position: inherit;
}

.page__error .content{
  padding: 24px;
  height: 100%;
  margin-top: 80px;
  white-space: pre-line;
  flex-flow: column;
  -webkit-box-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  align-items: center;
  text-align: center;
}

.page__error .image__wrap{
  margin-bottom: 24px;
}

.page__error .error__title{
  font-size: 24px;
  white-space: pre-line;
  margin: 0px 0px 16px;
}

.page__error .return__btn{
  padding: 0px;
  text-decoration: none;
  flex-shrink: 0;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  cursor: pointer;
  border: none;
  outline: none;
  display: inline-flex;
  max-width: 560px;
  border-radius: 8px;
  background-color: rgb(255, 255, 255);
  width: 100%;
  position: relative;
}

.page__error .return__btn span{
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-family: Roboto, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.33px;
}

@media (min-width: 767px){
/*   .main_container{
    min-height: 100vh;
    display: flex;
    align-items: center;
  } */

  .main_container{
    max-width: 475px;
    min-width: 420px;
    outline: none;
    display: flex;
    flex-direction: column;
    height: 100vh;
    margin-bottom: 0px;
  }

  .header__content{
    max-width: 475px;
    min-width: 420px;
    position: fixed;
  }

  .header__content_wrap{
    -webkit-box-pack: start;
      justify-content: flex-start;
  }

  .header_hamburger_icon{
    margin-right: 0px;
  }

  .content{
    padding: 0px;
    display: flex;
    flex-direction: column;
  }

  .content__text{
    margin-bottom: 0px;
  }

  .card_list{
    margin-top: 0px;
  }

  .modal-window{
    max-width: 475px;
    width: 432px;
  }

  .contacts__hr{
    width: 92%;
  }

  .contacts__info span {
    white-space: normal;
  }
}