/* dropdown */
.comp-dropdown {
  position: relative;
}

.comp-dropdown.base .comp-dropdown-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  width: 100%;
  min-width: 80px;
  padding: 6px 12px;
  height: 32px;
  background: #ffffff;
  border: 1px solid #adadad;
  border-radius: 8px;
  font-size: 14px;
}

.comp-dropdown.base.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.comp-dropdown.base.disabled .comp-dropdown-selected {
  background: #f5f5f5;
}
.comp-dropdown.comp-dropdown-open .arrow {
  transform: rotate(180deg);
}
.comp-dropdown.comp-dropdown-open .comp-dropdown-menu {
  display: block;
}

.comp-dropdown-selected {
  display: flex;
  align-items: center;
  column-gap: 8px;
  cursor: pointer;
  user-select: none;
}
.comp-dropdown-selected.global {
  font-size: 12px;
}

.comp-dropdown .comp-dropdown-menu {
  display: none;
  background-color: #fff;
  border: 1px solid #5135ff;
  border-radius: 8px;
  position: absolute;
  left: 0;
  top: calc(100% + 1px);
  overflow: hidden;
  width: 100%;
}

.comp-dropdown .dropdown-item {
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  cursor: pointer;
}

.comp-dropdown .dropdown-search {
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  cursor: pointer;
  background-color: #fff;
  position: relative;
}

.comp-dropdown .dropdown-search .dropdown-search-icon {
  cursor: pointer;
  opacity: 0.6;
  position: absolute;
  right: 7px;
  top: 9px;
}

.comp-dropdown .dropdown-item:hover {
  background-color: #f6f5ff;
}
.comp-dropdown .dropdown-item.selected {
  background-color: #eeebff;
  color: #5135ff;
}

.comp-dropdown .dropdown-item.result {
  border-bottom: 1px solid #100b331a;
  font-size: 12px;
  color: #706d85;
  cursor: default;
  pointer-events: none;
}

/*input*/
.comp-input {
  width: 100%;
  height: 32px;
}
.comp-input:focus {
  outline: 0;
}
.comp-input:disabled {
  background-color: #f3f3f5;
}

.comp-dropdown .dropdown-item .point {
  color: #5135ff;
  font-weight: 700;
}

.comp-input.underline {
  border: 0;
  border-bottom: 1px solid #9f9dad;
  padding: 0 12px;
}

.comp-input.box {
  padding: 6px 10px 6px 12px;
  height: 32px;
  background: #ffffff;
  border: 1px solid #adadad;
  border-radius: 8px;
}

.comp-input.box:disabled {
  background-color: #f3f3f5;
  opacity: 0.4;
}

/*button*/
.comp-button {
  background: linear-gradient(270deg, #5135ff 0%, #588eff 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  width: 420px;
  height: 44px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  cursor: pointer;
}
.comp-button.disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}
.comp-button:hover {
  background: #5135ff;
}
.comp-button.base {
  background: #fff;
  border: 1px solid #9f9dad;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  width: 420px;
  height: 44px;
  font-size: 16px;
  font-weight: 400;
  color: #100b33;
  text-align: center;
  cursor: pointer;
}
.comp-button.info {
  background: #fff;
  border: 1px solid #5135ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  width: 420px;
  height: 44px;
  font-size: 16px;
  font-weight: 400;
  color: #5135ff;
  text-align: center;
  cursor: pointer;
}

.comp-button.modal {
  width: inherit;
  min-width: 94px;
  border-radius: 8px;
  height: 32px;
  font-size: 14px;
}
.comp-button.base:hover {
  background: #f3f3f5;
}
.comp-button.base:active {
  background: #e7e7eb;
}
.comp-button.info:hover {
  background: #f6f5ff;
}
.comp-button.info:active {
  background: #eeebff;
}

.comp-button.otp {
  background: #fff;
  color: #5135ff;
  border: 1px solid #5135ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  width: 206px;
  height: 32px;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
}
.comp-button.otp:hover {
  background: #f6f5ff;
}
.comp-button.otp:active {
  background: #eeebff;
}
/*checkbox*/

.checkbox {
  cursor: pointer;
}

.checkbox input[type='checkbox'] {
  display: none;
}

.checkbox span {
  float: left;
  width: 16px;
  height: 16px;
  text-indent: 24px;
  border: 1px solid #9f9dad;
  border-radius: 4px;
  margin-right: 8px;
}
.checkbox span:hover {
  border: 1px solid #5135ff;
}
.checkbox input[type='checkbox']:checked + span {
  border: 1px solid #5135ff;
  background: #5135ff url('../images/ic_checkbox_check.png') no-repeat 1px center;
}

/*radio*/

.radio {
  cursor: pointer;
}

.radio input[type='radio'] {
  display: none;
}

.radio span {
  display: flex;
  align-items: center;
  text-indent: 8px;
  position: relative;
}
.radio span:before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 1px solid #9f9dad;
  border-radius: 50%;
}
.radio input[type='radio']:checked + span:before {
  border: 1px solid #5135ff;
}
.radio input[type='radio']:checked + span::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #5135ff;
  position: absolute;
  top: 4px;
  left: 4px;
}

/*modal*/
.comp-modal {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3000;
}
.comp-modal-open {
  display: block;
}
.modal-dimmed {
  background: rgba(255, 255, 255, 0.6);
  z-index: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.modal-wrapper {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.scp-modal-wrapper {
  padding: 24px 32px;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.2509803922);
  border: 1px solid rgba(16, 11, 51, 0.1);
  border-radius: 32px;
  background-color: #fff;
  max-height: 765px;
}
.scp-modal-wrapper.scp-size-xs {
  width: 460px;
}
.scp-modal-wrapper.scp-size-md {
  width: 904px;
}
.scp-modal-wrapper.scp-size-904 {
  width: 904px;
}

.scp-modal-wrapper .modal-header {
  height: 36px;
  font-size: 22px;
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: #bbbdc1 1px solid;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.scp-modal-wrapper .modal-header-icon {
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;
  opacity: 0.6;
}
.scp-modal-wrapper .modal-header-icon:hover {
  opacity: 1;
}

.scp-modal-wrapper .scp-modal-body {
  margin: 20px;
  margin-right: 0;
  min-height: 64px;
  word-wrap: break-word;
  word-break: keep-all;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: calc(100vh - 344px);
  scrollbar-gutter: stable;
}

.scp-modal-wrapper .modal-foot {
  border-top: #bbbdc1 1px solid;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  column-gap: 8px;
}

.modal-content-header {
  height: 32px;
  display: flex;
  align-items: center;
}
.modal-content-form {
  margin-top: 10px;
  border-top: 1px solid #100b331a;
}
.modal-content-form .modal-form {
  margin-top: 10px;
  column-gap: 10px;
  display: flex;
  padding-bottom: 10px;
  border-bottom: 1px solid #100b331a;
}

.modal-content-form .modal-form.last {
  margin-top: 20px;
  column-gap: 10px;
  display: flex;
  padding-bottom: 10px;
  border-bottom: 0;
}
.modal-content-form .modal-form.last .form-title {
  padding-top: 0;
}
.modal-content-form .modal-form .form-title {
  width: 205px;
  font-weight: 700;
  padding-top: 6px;
}
.modal-content-form .modal-form .form-value {
  flex: 1;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}
.modal-content-form .modal-form .form-title .require {
  color: #ff0000;
  padding-left: 4px;
}

.modal-content-form .form-box {
  display: flex;
  column-gap: 8px;
}
.modal-content-form .form-box .form-box-field {
  width: 100%;
}
.modal-content-form .form-box.time {
  display: flex;
  color: #ef4f44;
  justify-content: flex-end;
  line-height: 18px;
}
.modal-content-form .form-box.success {
  display: flex;
  color: #5135ff;
  justify-content: flex-start;
  line-height: 18px;
}
.modal-content-form .form-img {
  display: flex;
  align-items: center;
  column-gap: 8px;
}
.modal-content-form .form-desc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 8px;
}

.form-desc .arrow {
  cursor: pointer;
}
.form-policy {
  margin-top: 16px;
  padding: 20px;
  padding-right: 0;
  width: 100%;
  max-height: 240px;
  background: #f8f8fb;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: auto;
  scrollbar-gutter: stable;
  display: none;
}

.form-desc .arrow.form-policy-open {
  transform: rotate(180deg);
}
.form-policy.form-policy-open {
  display: block;
}

.scp-modal-theader {
  height: 52px;
  border-bottom: 1px solid #dee2e6;
  display: flex;
  align-items: center;
  column-gap: 20px;
  padding: 0 10px;
}
.modal-body-policy {
  font-size: 14px;
  line-height: 1.86;
  margin: 0;
  white-space: pre-line;
}

.message-timer {
  display: flex;
  justify-content: space-between;
}