@import url("./vendor/normalize.css");
@import url("./vendor/fonts/fonts.css");

* {
  margin: 0;
  padding: 0;
}

.hidden {
  display: none;
}

/* Main Layout */
.main {
  min-height: 100vh;
  font-family: "Roboto";
  width: 100%;
  height: 100%;
  position: fixed;
  display: flex;
  justify-content: center;
  flex-direction: column;

}


.main-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  max-width: 100%;

}

/* Card */
.card {
  zoom: 1.5;
  position: relative;
  max-width: clamp(200px, 245px, 50vw);
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
}


.card-success {
  height: 355px;
}

.card-content {
  padding: 16px;
  box-sizing: border-box;
  overflow: hidden;
}

/* Header */
.header-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 8px;
  padding-bottom: 8px;
}

.header-title {
  max-width: 70%;
  font-family: "Roboto";
  font-style: bold;
  font-weight: 400;
  font-size: 12px;
  line-height: 14px;
  color: #000000;
}

.header-error {
  font-weight: 700;
  font-size: 12px;
  line-height: 14px;
  color: #ff0202;
}

.header-success {
  color: #109625;
}

.header-options {
  margin-top: -5px;
  width: 145px;
}

.header-small {
  font-size: 10px;
}

/* Text */
.text-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 75%;
}

.text-box-wide {
  max-width: 100%;
}

.text-base {
  max-width: 100%;
  font-family: inherit;
  font-style: normal;
  font-weight: 400;
  font-size: 9px;
  line-height: 11px;
  color: #000000;
  word-wrap: auto;
}

.text-red {
  color: #ff0202;
  margin-bottom: 10px;
}

.text-grey {
  color: #727578;
}

.text-green {
  color: #109625;
}

.text-success {
  font-size: 8px;
}

.text-center-margin {
  text-align: center;
  margin-top: 7px;
  margin-bottom: 8px;
}

.text-bordered {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 16px;
  margin-bottom: 12px;
  margin-top: 12px;
}

.section-title {
  margin-top: 10px;
  margin-bottom: 5px;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 14px;
  color: #000000;
}

/* Inputs */
.pay-options {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .5fr);
  gap: 8px;
  margin-bottom: 16px;
}

.pay-options > * {
  min-width: 0;
}

.input-label {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  font-family: inherit;
  font-style: normal;
  font-weight: 400;
  font-size: 9px;
  line-height: 11px;
  color: #727578;

}

.input-field {
  padding: 8px 4px;
  border: 1px solid #a4a4a5;
  margin-top: 4px;
  display: block;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.25);
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-size: 9px;
  line-height: 11px;
  color: #727578;
  outline: none;
  background-clip: padding-box;
  -webkit-appearance: none;
  border-radius: 4px;
}

.input-number {

}

.input-field:disabled {
  --webkit-opacity: 1;
}

/* Checkbox */
.checkbox-row {
  font-family: "Montserrat";
  display: flex;
  gap: 0 4px;
  justify-content: center;
  align-items: center;
  position: relative;
  /* from _start */
  justify-content: flex-start;
  margin-bottom: .25rem;
}

.checkbox-row label {
  display: flex;
  align-items: center;
  gap: 0 4px;
}

.checkbox-input {
  opacity: 0;
  position: absolute;
  width: 80%;
  cursor: pointer;
}

.checkbox-custom {
  box-sizing: border-box;
  padding: 1px;
  width: 14px;
  height: 14px;
  border: 1px solid #cccccc;
  border-radius: 3px;
  margin-right: 5px;
}

.checkbox-input:checked+.checkbox-custom {
  background-image: url("./images/arrow_bold.svg");
  border-color: #00D2C8;
  background-repeat: no-repeat;
  background-size: 80%;
  background-position: center center;
}

/* Buttons */
.btn-primary {
  font-family: "Montserrat";
  font-size: 11px;
  width: 100%;
  justify-content: center;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0 8px;
  margin: 8px auto 0 auto;
  border: 1px solid #18c7c0;
  background: #fff;
  color: #18c7c0;
}

/* 
.btn-link {
  border: none;
  background: none;
  color: #727578;
  font-size: 9px;
  align-self: flex-start;
}

/* Promo / Links */
.promo-link {
  width: 90%;
  box-sizing: border-box;
  font-size: 8px;
  font-weight: 700;
  margin: 0 auto 7px auto;
  background: #ffffff;
  border: 1px solid #6cd818;
  border-radius: 14px;
  cursor: pointer;
  padding: 3px;
  display: block;
  transition: border 0.5s ease;
}

.promo-link:hover {
  border-color: #00D2C8;
  color: #00D2C8;
}

.promo-link:hover .link_green,
.promo-link:hover .link__name {
  transition: color 0.5s ease;
  border-color: #00D2C8;
  color: #00D2C8;
}

.link-text {
  display: inline-block;
  margin-bottom: 6px;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-size: 9px;
  line-height: 11px;
  color: #727578;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.link-text:hover {
  color: #00D2C8;
}

.link-lk {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto -5px;
  text-align: center;
  width: 97px;
  height: 17px;
  background: #27ae60;
  border-radius: 6px;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-size: 9px;
  line-height: 11px;
  letter-spacing: -0.015em;
  color: #ffffff;
  text-decoration: none;
}

.link_green {
  color: #109625;
}

.link__name {
  transition: color 0.5s ease;
}

/* Success Box */
.success-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 19px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 16px;
}
