html {
  --white: #FFF;
  --black: #000;
  --gray: #C2C2C2;
  --primary-color: #4C0E5F;
  --bg200-color: #EEEAEF;
  --error-color: #E41F18;
  --error-color-200: #FF7A7A;
  --error-color-100: #FFF5F5;
  --success-color: #00874B;
  --success-color-200: #8DD9B6;
  --success-color-100: #EBF6F1;
  height: 100%;
  margin: 0;
  width: 100%;
}

body {
  display: flex;
  /* flex-direction: column; */
  font-family: Manrope, serif;
  height: 100%;
  margin: 0;
  width: 100%;
  justify-content: center;
  flex: 1 1 auto;
  background-color: var(--bg200-color);
}

.content {
  background-color: var(--bg200-color);
  border-top-left-radius: 24px;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.header {
  align-items: center;
  background-color: var(--bg200-color);
  border-bottom-left-radius: 24px;
  color: var(--primary-color);
  display: flex;
  font-size: 16px;
  font-weight: 700;
  justify-content: space-between;
  line-height: 18px;
  margin-bottom: 4px;
  padding: 8px 16px;
}
.header .back-button {
  align-items: center;
  display: flex;
  justify-content: center;
}
.header .back-button .arrow-icon {
  margin-left: 4px;
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.header .header-title {
  flex: 1;
  margin-right: 32px;
  text-align: center;
}

/* INPUT */

.input {
  color: var(--primary-color);
  display: flex;
  flex-direction: column;
}

.input label {
  font-weight: 700;
  font-size: 14px;
  line-height: 16px;
  margin-bottom: 4px;
}

.input input {
  background: var(--white);
  border-radius: 16px;
  border: 2px solid var(--white);
  color: var(--primary-color);
  height: 46px;
  font-size: 16px;
  font-weight: normal;
  line-height: 18px;
  outline: none;
  padding: 0px 16px;
}

.input input:focus {
  border: 2px solid var(--primary-color);
}

.input .hint {
  font-size: 12px;
  line-height: 14px;
  margin-top: 4px;
}

.input.error label,
.input.error .hint {
  color: var(--error-color);
}
.input.error input {
  border: 1px solid var(--error-color);
}

.password-input .input-container {
  align-items: center;
  display: flex;
  position: relative;
}
.password-input input {
  flex: 1;
  padding-right: 48px;
}
.password-input input ~ button.icon-button {
  background: url('../assets/icons/password_show.svg') center/16px 16px no-repeat;
  height: 32px;
  position: absolute;
  right: 8px;
  width: 32px;
}

.input textarea {
  background: var(--white);
  border-radius: 16px;
  border: 2px solid var(--white);
  color: var(--primary-color);
  height: 100px;
  font-size: 16px;
  font-weight: normal;
  line-height: 18px;
  outline: none;
  padding: 8px 16px;
  resize: none;
}
.input textarea:focus {
  border: 2px solid var(--primary-color);
}

/* BUTTON */

button.simple-button {
  background-color: var(--primary-color);
  border-radius: 16px;
  border: none;
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  line-height: 32px;
  margin-left: 32px;
  margin-right: 32px;
  position: relative;
  z-index: 1;
}

button.simple-button::after {
  background: var(--primary-color);
  border-radius: 16px;
  bottom: 0;
  content: "";
  height: 32px;
  filter: blur(16px);
  left: 0;
  opacity: 0.4;
  position: absolute;
  width: 100%;
  z-index: -1;
}

button.icon-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  height: 40px;
  outline: none;
  padding: 0;
  width: 40px;
}

button.error {
  background-color: var(--error-color);
}

button.error::after {
  background: var(--error-color);
}

/* TEXTS */

.title-s {
  color: var(--black);
  font-weight: 700;
  font-size: 22px;
  line-height: 28px;
  text-align: center;
}

.description {
  color: var(--black);
  font-size: 16px;
  line-height: 18px;
  margin-top: 16px;
  text-align: center;
}

.extra-info {
  color: var(--primary-color);
  font-weight: 700;
}

a {
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 700;
  line-height: 16px;
  text-decoration: none;
}

/* CHECKBOX */

.checkbox {
  color: var(--primary-color);
  display: flex;
  font-size: 14px;
  line-height: 16px;
}

.checkbox input[type="checkbox"] ~ .checkmark {
  background: var(--white);
  border-radius: 4px;
  border: 2px solid var(--gray);
  flex-shrink: 0;
  height: 16px;
  width: 16px;
  margin-right: 8px;
}
.checkbox input[type="checkbox"]:checked ~ .checkmark {
  border-color: var(--primary-color);
  display: flex;
  justify-content: center;
  position: relative;
}
.checkbox input[type="checkbox"]:checked ~ .checkmark::after {
  content: "";
  display: block;
  width: 2px;
  height: 7px;
  border: solid var(--primary-color);
  border-width: 0 2px 2px 0;
  position: absolute;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 3px;
}

.checkbox input[type="checkbox"] ~ .checkbox-label {
  margin-top: 2px;
}

/* ARROW ICON */

.arrow-icon {
  border: solid var(--primary-color);
  border-width: 2px 0 0 2px;
  content: "";
  height: 6px;
  width: 6px;
}

/* LINK */

.link {
  align-items: center;
  display: flex;
  font-weight: normal;
  justify-content: center;
  padding: 16px 0;
  text-align: center;
}

.link.bold {
  font-weight: bold;
}

.link strong {
  margin-left: 4px;
}

.link .arrow-icon {
  display: inline-block;
  height: 4px;
  -ms-transform: rotate(135deg);
  transform: rotate(135deg);
  width: 4px;
  margin-left: 8px;
}

/* TOAST MESSAGE */

.toast {
  align-items: center;
  border-radius: 16px;
  border-style: solid;
  border-width: 1px;
  display: flex;
  gap: 16px;
  padding: 16px;
}

.toast.success {
  background-color: var(--success-color-100);
  border-color: var(--success-color-200);
  color: var(--success-color);
}
.toast.error {
  background-color: var(--error-color-100);
  border-color: var(--error-color-200);
  color: var(--error-color);
}

.toast .icon::before {
  height: 40px;
  width: 40px;
}

.toast.success .icon::before {
  content: url('../assets/icons/check-circle.svg');
}
.toast.error .icon::before {
  content: url('../assets/icons/error-circle.svg');
}
.toast .close-button {
  background: none;
  border: none;
}

button.simple-button {
  background-color: var(--primary-color);
  border-radius: 16px;
  border: none;
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  line-height: 32px;
  padding: 8px 16px;
  position: relative;
  z-index: 1;
}

button.simple-button::after {
  background: var(--primary-color);
  border-radius: 16px;
  bottom: 0;
  content: "";
  height: 32px;
  filter: blur(16px);
  left: 0;
  opacity: 0.4;
  position: absolute;
  width: 100%;
  z-index: -1;
}
