:root {
  --white: #fff;

  --black: #000;
  --black-alpha: rgba(0, 0, 0, 0.6);

  --gray-100: #ecf3f4;
  --gray-200: #efefef;
  --gray-700: #6f6f6f;
  --gray-900: #333333;

  --blue-100: #6aa3fa;
  --blue-200: #5498FD;
  --blue-300: #2B2B69;
}

#product-payments-types-modal {
  box-sizing: border-box;
  background-color: var(--black-alpha);
  z-index: 100;
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

#product-payments-types-modal-body {
  position: relative;
  box-sizing: border-box;
  background-color: var(--white);
  width: 45%;
  height: 80vh;
  border-radius: 6px;
  padding-top: 60px;
}

#product-payments-types-modal-body > button {
  box-sizing: border-box;
  background: var(--purple-500);
  color: var(--white);
  font-weight: 800;
  position: absolute;
  top: 5px;
  right: 5px;
  height: 45px;
  width: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1;
}

#product-payments-types-modal-body > .tabs {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin: 0 48px;
  border-bottom: 1px solid var(--gray-200);
}

#product-payments-types-modal-body > .tabs > .tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 80px;
  padding: 8px 24px;
}

#product-payments-types-modal-body > .tabs > .tab > i {
  width: 30px;
  height: 30px;
  font-size: 30px;
}

#product-payments-types-modal-body > .tabs > .tab > span {
  font-weight: normal;
  color: var(--gray-700);
  font-size: 16px;
  text-align: center;
}

#product-payments-types-modal-body > .tabs-content {
  height: calc(100% - 80px);
  overflow-y: scroll;
  overflow-x: hidden;
}

#product-payments-types-modal-body > .tabs-content::-webkit-scrollbar {
  width: 10px;
}

#product-payments-types-modal-body > .tabs-content::-webkit-scrollbar-track {
  background: var(--white);
}

#product-payments-types-modal-body > .tabs-content::-webkit-scrollbar-thumb {
  background: var(--purple-500);
  border-radius: 0;
}

#product-payments-types-modal-body
  > .tabs-content::-webkit-scrollbar-thumb:hover {
  background: var(--blue-300);
}

.payment-content {
  margin: 8px 48px 0;
}

.payment-content > table {
  width: 100%;
  margin: 0;
  padding: 0;
}

.payment-content > table > tr:nth-child(odd) {
  background: var(--gray-100);
}

@media (max-width: 999px) {
  #product-payments-types-modal-body {
    width: 95%;
  }

  #product-payments-types-modal-body > .tabs {
    margin: 0 10px;
    align-items: flex-start;
  }

  #product-payments-types-modal-body > .tabs > .tab > i {
    width: 20px;
    height: 20px;
    font-size: 20px;
  }

  #product-payments-types-modal-body > .tabs > .tab > span {
    font-size: 11px;
  }

  .payment-content {
    margin: 6px 10px 0;
  }
  
  .payment-content > table td {
    padding: 4px;
    font-size: 11px;
    letter-spacing: 0px;
  }
}

.pix-icon {
  content: url("/images/pix-grey.svg");
  width: 20px;
  height: 20px;
  display: block;
  background-repeat: no-repeat;
  background-size: cover;
}

.tab-selected,
.tab-selected > i,
.tab-selected > span {
  background-color: var(--purple-500);
  color: var(--white) !important;
  border-radius: 6px 6px 0 0;
}

.tab-selected > .pix-icon {
  content: url("/images/pix-white.svg");
}
