*,
*:before,
*:after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
}
html {
  line-height: 1.5;
  text-size-adjust: 100%;
  font-family: system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  touch-action: manipulation;
  font-optical-sizing: auto;
}
:where(img, video) {
  max-width: 100%;
  height: auto;
}
:where(img, svg, video, canvas, audio, iframe, embed, object) {
  display: block;
}
:where(*) {
  border-width: 0px;
  border-style: solid;
  box-sizing: border-box;
  overflow-wrap: break-word;
}
body {
  font-weight: 400;
}
button {
  background-color: transparent;
  cursor: pointer;
  font-family: system-ui, sans-serif;
  font-weight: 600;
  font-size: 17px;
}
main {
  margin: 30px 0 100px;
}
nav {
  display: flex;
  border-bottom: 1px solid #dcdcdc;
  padding: 0 20px 0;
}
nav ul {
  display: flex;
  margin: 0 auto -1px;
  max-width: 460px;
  width: 100%;
}
nav ul li {
  cursor: pointer;
  display: flex;
  margin-right: 10px;
}
nav ul li a {
  border-bottom: 4px solid transparent;
  color: #6a3db8;
  font-weight: 500;
  padding: 10px 20px;
}
nav ul li.selected a {
  border-bottom-color: #6a3db8;
}
nav ul li a:hover,
nav ul li a:focus {
  color: #6a3db8;
}
.area {
  margin: 30px auto 0;
  max-width: 460px;
  padding: 0 8px;
  width: 100%;
}
.button-container {
  align-items: center;
  display: flex;
}
.device {
  background: #fff;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  height: 1000px;
  padding: 30px;
  position: relative;
}
h1 {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}
.amount {
  border-bottom: 1px solid #eee;
  margin: 50px 0 10px;
  padding-bottom: 20px;
}
.maximum-rewards {
  align-items: center;
  background: #f0e9e0;
  border-radius: 12px;
  display: flex;
  margin: 10px 0;
  padding: 12px 10px;
}
.maximum-rewards-label {
  font-size: 15px;
  font-weight: 600;
  margin-left: 10px;
}
.maximum-rewards img {
  height: 40px;
  width: 40px;
}
h2 {
  font-family: system-ui, sans-serif;
  font-size: 50px;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 70px;
}
.back {
  align-items: center;
  background: #f4f4f4;
  border-radius: 100px;
  display: flex;
  font-size: 30px;
  height: 50px;
  justify-content: center;
  left: 30px;
  position: absolute;
  top: 20px;
  width: 50px;
}
.back img {
  height: 24px;
  width: 24px;
}
.payment {
  align-items: center;
  display: flex;
  height: 40px;
  justify-content: space-between;
  width: 100%;
}
.payment-method {
  font-weight: 600;
}
.payment-select-method {
  display: flex;
}
.payment-select-method img {
  height: 29px;
  margin: -2px 0 0 5px;
  width: 29px;
}
fieldset ul {
  border-radius: 8px;
  margin: 0;
  padding: 0;
}
fieldset ul li {
  align-items: center;
  border-bottom: 1px solid #eee;
  display: flex;
  font-size: 16px;
  list-style-position: inside;
  margin: 0;
  padding: 15px 0;
}
.label {
  margin-left: 12px;
}
.label-flex {
  align-items: center;
  display: flex;
  margin-left: 12px;
}
.radio {
  line-height: 1;
}
.radio input[type="radio"] {
  appearance: none;
  border: 2px solid #d3d3d3;
  border-radius: 100px;
  height: 24px;
  -webkit-appearance: none;
  width: 24px;
}
.radio input[type="radio"]:checked {
  border: 7px solid black;
}
.logo {
  align-items: center;
  display: flex;
  height: 28px;
  margin-left: auto;
}
.cards {
  margin-top: 10px;
}
.button-payment {
  align-items: center;
  border: 2px solid #eee;
  border-radius: 12px;
  display: flex;
  font-weight: 600;
  justify-content: center;
  margin: 20px 0 0;
  padding: 12px 40px;
  width: 100%;
}
.button-payment-plus {
  display: inline-block;
  height: 25px;
  margin-right: 5px;
  position: relative;
  width: 25px;
}
h3 {
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  text-align: center;
}
footer {
  display: flex;
  margin-top: auto;
}
.button-cancel {
  align-items: center;
  border: 2px solid #eee;
  border-radius: 12px;
  display: flex;
  font-weight: 600;
  height: 56px;
  justify-content: center;
  margin-right: 10px;
  padding: 12px 20px;
  width: 30%;
}
.button-confirmation-area {
  width: 70%;
}
.button-confirmation {
  align-items: center;
  background: black;
  border-radius: 12px;
  color: white;
  display: none;
  font-weight: 600;
  height: 56px;
  justify-content: center;
  padding: 12px 20px;
  width: 100%;
}
.chakra-radio span[data-checked],
.chakra-radio span[data-checked]:hover {
  background: black;
  border-color: black;
}
.tab-area {
  display: none;
}
.tab-area.selected {
  display: flex;
}
