.registrationBlock {
  display: flex !important;
  flex-direction: column;
  background-color: #fff;
}

.header {
  height: 97px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background-color: #fff;
}
.header .logo {
  height: 57px;
  width: auto;
}
.header .indicationBlock {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.header .indicationBlock--title {
  font-weight: 400;
  font-size: 13px !important;
  color: #B1B1B1;
  margin-bottom: 7px;
}

.dialog-body {
  position: relative;
  height: calc(100vh - 186px);
}
.dialog-body.body-lower {
  height: calc(100vh - 217px);
}
.dialog-body.editMode .reply {
  border-color: #f5f2f2;
  pointer-events: none;
}
.dialog-body.editMode .reply .edit {
  opacity: 0.3;
  color: #424242;
}
.dialog-body.editMode .reply.editing {
  border-color: #DCDCDC;
}
.dialog-body.editMode .reply.editing .edit {
  opacity: 1;
  color: #3BAEE8;
}
.dialog-body.editMode label, .dialog-body.editMode p {
  color: rgba(66, 66, 66, 0.3);
}

.dialog-body p {
  margin: 0;
}

form {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: auto;
  padding: 10px 10px 0 10px;
}

label {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

input {
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #000;
}

.radio-block {
  width: 100%;
  display: flex;
}

.radio-label {
  display: flex;
  width: 100%;
  padding: 8px;
  border: 1px solid #DCDCDC;
  border-radius: 24px;
  margin-right: 12px;
  position: relative;
  margin-bottom: 0;
  background-color: #fff;
}
.radio-label .text {
  color: #424242;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  text-align: center;
}
.radio-label:last-child {
  margin-right: 0;
}

.radio-checked {
  border-color: #3BAEE8;
}
.radio-checked input {
  background-color: #3BAEE8;
  background-image: url("../images/checkIcon.svg");
  background-position: center;
  background-repeat: no-repeat;
}

input[type=radio] {
  -webkit-appearance: none;
  appearance: none;
  background-color: transparrent;
  margin: 0;
  font: inherit;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transform: translateY(-50%);
  position: absolute !important;
  top: 50%;
  border: none;
}
input[type=radio] label {
  margin: auto;
}

input[type=radio]::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
}

input[type=radio]:checked::before {
  transform: scale(1);
}

.inputWrapper,
.submitButton {
  position: absolute;
  bottom: -66px;
  left: 12px;
}

.submitButton {
  width: 90%;
}

.inputWrapper {
  width: 90%;
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.inputWrapper.phoneWrapper {
  align-items: start;
  bottom: -127px;
}
.inputWrapper.radioWrapper {
  align-items: center;
}
.inputWrapper.loaderWrapper {
  bottom: -50px;
}
.inputWrapper .mandatoryError {
  position: absolute;
  top: -25px;
  left: 0;
  color: #E80021;
  font-size: 13px !important;
  font-weight: 400;
}

.dateBirthSelect,
.dateBirthInput {
  width: 100px;
}

.questionWrapper {
  display: flex;
  margin-bottom: 10px;
  align-items: center;
}

.questionAvatar {
  margin-right: 12px;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0px 0px 11px 0px #ccc;
}
.questionAvatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quetionTextWrapper {
  background-color: #F7F7F7;
  padding: 10px 16px;
  border-radius: 12px;
  width: fit-content;
  max-width: 60%;
  display: flex;
  align-items: center;
}
.quetionTextWrapper .questionText,
.quetionTextWrapper p {
  font-size: 16px !important;
  color: #424242;
  line-height: 20px;
}

.questionGreetingsWrapper {
  margin-left: 66px;
}

.replyWrapper {
  display: flex;
  margin-bottom: 10px;
}

.reply {
  text-align: right;
  padding: 10px 16px;
  border: 1px solid #DCDCDC;
  border-radius: 12px;
  margin-left: auto;
  max-width: 73%;
  width: fit-content;
}
.reply.replyError {
  border-color: #E80021;
}
.reply .edit {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 13px !important;
  font-weight: 400;
  vertical-align: baseline;
  color: #3BAEE8;
  cursor: pointer;
}
.reply.editing p {
  color: rgb(66, 66, 66);
}

.replyText {
  font-size: 16px !important;
}

.replyAvatar {
  background: linear-gradient(0.35turn, #FF9C5A, #F83D9A);
  font-size: 20px !important;
  font-weight: 500;
  color: #FFFFFF;
  width: 54px;
  height: 54px;
  display: flex;
  margin: auto 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-left: 12px;
}

.send {
  margin-left: 12px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-image: url(../images/send.png);
  background-size: cover;
  border: none;
  border-radius: 50%;
  outline: none;
  cursor: pointer;
}
.send:hover {
  box-shadow: 0px 0px 3px #ccc;
}
.send.sendDisabled {
  cursor: auto;
  background-image: url(../images/sendDisabled.png);
  box-shadow: none;
}

.footer {
  height: 89px;
  background-color: #F7F7F7;
  width: 100%;
}
.footer.footer-high {
  height: 120px;
}
.footer.footer-close {
  height: 0;
}

.disabledMode {
  pointer-events: none;
  color: #dedddd;
}
.disabledMode .questionWrapper,
.disabledMode .replyAvatar {
  opacity: 0.3;
}
.disabledMode .reply {
  border-color: rgba(220, 220, 220, 0.4784313725);
}
.disabledMode .reply .edit {
  color: #afd0e1;
}
.disabledMode .avatar {
  opacity: 0.3;
  color: #424242;
}

.editingReply {
  pointer-events: auto;
  color: #424242;
}
.editingReply .questionWrapper,
.editingReply .replyAvatar {
  opacity: 1;
}
.editingReply .reply {
  border-color: #DCDCDC;
}
.editingReply .reply .edit {
  color: #B1B1B1;
}
.editingReply .reply .edit.edit-disabled {
  pointer-events: none;
}
.editingReply .avatar {
  opacity: 1;
}

.progress-bar {
  width: 78px;
  background-color: #f0f0f0;
  border-radius: 4px;
  height: 8px;
  overflow: hidden;
}

.progress {
  height: 100%;
  min-width: 0;
  background: linear-gradient(to right, #8971D3 0%, #5FB9BD 100%, #51D1B6 100%, #47E2B1 100%);
  transition: width 0.5s ease-in-out;
}