.chat-button {
  position: fixed;
  height: 4.5rem;
  width: 4.5rem;
  border-radius: 100%;
  background-color: #ed912c;
  z-index: 100;
  bottom: 1rem;
  right: 1rem;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  color: #ffff;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.chat-section {
  display: none;
  /* display: relative; */
  position: fixed;
  flex-direction: row;
  height: 34rem;
  width: 23rem;
  bottom: 6rem;
  right: 1rem;
  z-index: 100;
}

.chat-content {
  background: white;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.chat-content .chat-header {
  position: relative;
  width: 100%;
  height: 15%;
  background: #ed912c;
  border-radius: 5px 5px 0px 0px;
}

.chat-body {
  height: 85%;
  width: 100%;
  border-radius: 0px 0px 5px 5px;
}

.chat-canvas {
  position: relative;
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #d4e6d7;
  padding-bottom: 1rem;
}

.chat-prompt {
  display: flex;
  width: 100%;
  align-items: flex-end;
  gap: 0.3rem;
  border-radius: 1rem 1rem 1rem 1rem;
  padding: 0.5rem 0.8rem 0rem 0.3rem;
}

.chat-agent {
  background: #ffff;
  border-radius: 100%;
}

.chat-agent img {
  height: 2.5rem;
  width: 2.5rem;
  object-fit: contain;
  border-radius: 100%;
  border: 1px solid #c2d6c5;
}

.prompt-container {
  display: flex;
  width: 16rem;
  flex-direction: column;
  gap: 0.5rem;
}

.prompt-container p {
  color: black;
  text-wrap: wrap;
  background: #ffff;
  padding: 0.3rem;
  max-width: fit-content;
  border-radius: 1rem 1rem 1rem 0rem;
  padding: 0.5rem;
}

.chat-form-control {
  display: flex;
  width: 100%;
  justify-content: flex-end;
}

.chat-form-control .form-content {
  width: 20rem;
  height: 100%;
  background: #ffff;
  padding: 0.5rem;
  margin-right: 0.9rem;
}

.form-content {
  display: grid;
  width: 100%;
  gap: 0.5rem;
}

.info-control-form {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 1rem 1rem 0rem 1rem;
}

.info-control-form img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.form-field .btn-group input[type="radio"] {
  display: none;
}

.form-rdo-group {
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
}

.rdo-field input[type="radio"] {
  display: none;
}

.rdo-field {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  padding-left: 30px;
}

.rdo-field .radio-span {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 5px solid #bababa;
  border-radius: 50%;
  background-color: #bababa;
  transition: background-color 0.3s;
}

.rdo-field input[type="radio"]:checked + .radio-span {
  background-color: #2b93ed;
}

.rdo-field:hover .radio-span {
  border-color: #a6a6a6;
}

.field-radio-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 5px 0px 5px 0px;
  font-size: 16px;
  color: #333;
  background-color: #f0f0f0;
  border: 2px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.field-radio-btn:hover {
  background-color: #ddd;
  border-color: #ccc;
}

input[type="radio"]:checked + label.field-radio-btn {
  background-color: #fdb409;
  color: white;
  border-color: #fdb409;
}

.form-btn-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  gap: 0.5rem;
}

.form-btn-group .btn-group {
  width: 100%;
}

.chat-form-end {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.chat-form-end .end-content {
  border-radius: 1.5rem;
  background-color: #ffff;
  margin: 1rem 1rem 0rem 1rem;
  padding: 1rem;
  width: 21rem;
  height: auto;
  display: grid;
  text-align: center;
  justify-items: center;
  align-items: center;
  gap: 0.3rem;
}

.end-content .end-header {
  width: 100%;
}

.end-header img {
  height: 3rem;
  width: 5rem;
  object-fit: contain;
}

.end-body p {
  padding: 5px 10px 5px 10px;
  border: 2px dashed #fed254;
}

.end-body img {
  height: 9rem;
  width: 9rem;
  object-fit: contain;
}

.end-content .end-body {
  width: 100%;
  display: grid;
  text-align: center;
  justify-items: center;
  gap: 0.5rem;
}

.end-content {
  width: 100%;
}

.end-control .end-chat-btn {
  color: #ffff;
  /* background: #ed912c; */
  height: 2.3rem;
  padding: 0px 16px 0px 19px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  background-color: #feb429;
}

.form-field {
  display: flex;
  flex-flow: column;
  gap: 0.5rem;
}

.form-field-control {
  display: grid;
  width: 100%;
  gap: 0.3rem;
}

.form-field-control-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  align-items: center;
  gap: 0.3rem;
}

.form-field-control-grid .form-group {
  grid-column: span 2;
}

.form-field-control .form-group {
  display: flex;
  flex-direction: row;
  flex-grow: 1rem;
  column-gap: 0.3rem;
}

.form-group span {
  font-size: 17px;
  margin: auto;
}

.form-field-control-grid input {
  width: 100%;
  height: 2.4rem;
  border: 1px solid #d2d2d2;
  border-radius: 5px;
  padding: 0px 10px 0px 10px;
  font-size: 15px;
}

.form-field-control input {
  width: 86%;
  height: 2.4rem;
  border: 1px solid #d2d2d2;
  border-radius: 5px;
  padding: 0px 10px 0px 10px;
  font-size: 16px;
}

.form-field select {
  width: 100%;
  height: 2.4rem;
  border: 1px solid #d2d2d2;
  border-radius: 5px;
  padding: 0px 10px 0px 10px;
  font-size: 16px;
}

.form-content .form-title {
  font-weight: bold;
}

.form-control {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.form-control .form-btn-submit {
  height: 2.4rem;
  width: 6rem;
  padding: 0px 10px 0px 10px;
  color: #ffff;
  background: #ba8c03;
  border-radius: 26px;
  cursor: pointer;
}

.form-control .form-btn-submit:hover {
  background: #d1a214;
  transition: all 0.3s ease-in-out;
}

.form-control .form-btn-submit:disabled:hover {
  /* cursor: not-allowed; */
  transition: none;
}

.checking-content {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0rem 1rem 0rem 1rem;
}

.checking-form {
  display: grid;
  justify-items: center;
  background: #ffff;
  padding: 1rem;
  gap: 0.7rem;
  width: 21rem;
}

.checking-form table {
  width: 100%;
}

.checking-form .checking-privacy {
  gap: 0.3rem;
  width: 100%;
  display: grid;
  align-items: center;
}

.checking-privacy div input[type="checkbox"] {
  transform: scale(1.5);
  /* Scale the checkbox to 1.5 times its original size */
  -webkit-transform: scale(1.5);
  /* Safari support */
}

.checking-form #btn-submit-chat {
  background: #fdb409;
  height: 3rem;
  color: #ffff;
  font-weight: bold;
  font-size: 1.3rem;
  width: 15rem;
  border-radius: 0.4rem;
  cursor: pointer;
}

.checking-privacy div {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.checking-privacy div p {
  font-size: 13px;
}

.checking-privacy small {
  text-align: center;
  color: red;
  font-size: 11px;
  font-weight: 00;
}

#btn-submit-chat:disabled {
  background-color: #959595;
  pointer-events: none;
}

.checking-form #btn-submit-chat:not(:disabled):hover {
  background: #e8a70dcb;
  transition: all 0.3s ease;
}

.progress-container {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 24px;
  background-color: #fef0c1;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.progress-bar {
  height: 100%;
  width: 0%;
  background-color: #fdd253;
  transition: width 0.4s ease;
  position: relative;
}

.progress-label {
  position: absolute;
  right: 0;
  margin: 0px 5px 0px 10px;
  font-size: 15px;
  color: #ed912d;
  z-index: 1;
  font-weight: bold;
}

.progress-title {
  position: absolute;
  z-index: 1;
  margin: 0px 0px 0px 7px;
  left: 0;
  font-weight: bolder;
  color: #ffffff;
  text-shadow: 0.2px 0.3px #d4e6d7;
}

.check-table-form {
  border-collapse: separate;
  border-spacing: 0 10px;
}

.check-table-form #btn-review-data {
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.check-table-form #btn-review-data:hover {
  text-decoration: underline;
}

#apply-prev-btn {
  text-decoration: underline;
  cursor: pointer;
}

.apply-prev-btn {
  text-decoration: underline;
  cursor: pointer;
}

.error-msg-pop {
  position: fixed;
  min-width: auto;
  display: flex;
  justify-content: center;
}

.error-msg-content {
  position: relative;
}

.error-msg-content .error-btn-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  height: 1.6rem;
  width: 1.6rem;
  border-radius: 100%;
  background-color: white;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ed912d;
}

.error-msg-content .error-msg-body {
  margin: 1rem;
  background-color: #ffff;
  border-radius: 0.5rem;
  width: 21rem;
  padding: 1rem 1rem 1rem 1rem;
  box-shadow: 0 0px 6px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#error-msg-list {
  color: #e9233e;
  font-weight: 700;
  font-size: 12px;
}

#confirm {
  margin-top: 121px;
  padding: 50px 0;
}

#confirm .check-form {
  width: 94%;
  margin-top: clamp(2.5rem, 4.98rem, 3.75rem);
  margin-right: auto;
  margin-left: auto;
}

#confirm .check-form__item .title {
  padding-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.3;
  border-bottom: 2px solid #63c5eb;
  font-size: 20px;
}

#confirm .check-form__item .text {
  margin-top: 0.5em;
  line-height: 1.3;
  font-size: 20px;
}

#confirm .check-form__item + .check-form__item {
  margin-top: 1.5em;
}

#confirm .check-form__button-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(2.5rem, 7.461rem, 5rem);
  margin-right: auto;
  margin-left: auto;
}

#confirm .check-form__button-group .send {
  width: 100%;
  max-width: 11.25rem;
  padding: 1.5rem 1rem;
  font-weight: 700;
  color: #fff;
  background-color: #ff0080;
  border: 2px solid #ff0080;
  border-radius: 100vmax;
  transition: background-color 0.3s, color 0.3s;
  font-size: 20px;
}

#confirm .check-form__button-group .back {
  margin-top: 2em;
  font-size: 20px;
  color: #666;
  transition: opacity 0.3s;
}

@media (max-width: 750px) {
  #confirm {
    margin-top: 61px;
  }

  #confirm .check-form__item .title {
    font-size: 15px;
  }

  #confirm .check-form__item .text {
    font-size: 17px;
  }

  #confirm .check-form__button-group .send {
    font-size: 16px;
  }

  #confirm .check-form__button-group .back {
    font-size: 15px;
  }
}

.btn-loader {
  position: absolute;
  width: 15px;
  height: 15px;
  text-align: center;
  left: 11rem;
  margin-top: 0.5rem;
}

input.error-field {
  border: 1.9px solid #ea7170 !important;
}
input.error-field:focus {
  outline: none !important;
  outline-color: #ea7170;
  border: 1.9px solid #ea7170 !important;
}

select.error-field {
  border: 1.9px solid #ea7170 !important;
}
select.error-field:focus {
  outline: none !important;
  outline-color: #ea7170;
  border: 1.9px solid #ea7170 !important;
}

.form-field-control .error-message {
  font-size: 13px;
  width: 86%;
  background-color: #f7d6d6;
  padding: 5px;
  border-radius: 2px;
}

.error-message-opt {
  font-size: 13px;
  width: 100%;
  background-color: #f7d6d6;
  padding: 5px;
  border-radius: 2px;
  grid-column: span 3;
}
