html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #f2f4f7;
  color: #101214;
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", Arial, sans-serif;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

button {
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", Arial, sans-serif;
}

.app-shell {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 480px;
  background: #f2f4f7;
}

.text-area {
  display: -ms-flexbox;
  display: flex;
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  height: 25%;
  padding: 14px 24px 12px;
  text-align: center;
}

.text-area h1,
.text-area p {
  width: 100%;
  margin: 0;
  white-space: pre-line;
  word-break: keep-all;
}

.text-area h1 {
  font-size: 32pt;
  font-weight: 800;
  line-height: 1.12;
  color: #d71920;
}

.text-area p {
  margin-top: 18px;
  font-size: 16pt;
  font-weight: 800;
  line-height: 1.25;
  color: #343a40;
}

.button-area {
  display: -ms-flexbox;
  display: flex;
  -ms-flex: 1 1 75%;
  flex: 1 1 75%;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-align: center;
  align-items: center;
  height: 75%;
  padding: 18px 0 18px;
}

.discount-button,
.reset-button {
  display: block;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  width: 80%;
  min-height: 49px;
  margin: 4px auto;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
}

.discount-button {
  border: 2px solid #2b2b2b;
  background: #000000;
  color: #ffffff;
}

.discount-button:active {
  background: #2a2a2a;
}

.discount-button.is-red {
  background: #d71920;
  border-color: #9f1117;
  color: #ffffff;
}

.reset-button {
  border: 2px solid #202428;
  background: #343a40;
  color: #ffffff;
}

.reset-button:active {
  background: #252a2f;
}

.status-toast {
  position: fixed;
  left: 10%;
  right: 10%;
  bottom: 16px;
  border-radius: 8px;
  padding: 10px 14px;
  background: #101214;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
  opacity: 0;
  visibility: hidden;
}

.status-toast.is-visible {
  opacity: 1;
  visibility: visible;
}
