.fcr-confirm-content-wrapper {
  min-width: 200px;
  padding: 30px 20px 24px;
  position: relative;
  /* border: 1px solid #e8e8e8; */
  border-radius: var(--fcr_cornerradius_xl);
  height: 100%;
  width: 100%;
}

.fcr-confirm-content-dialog-close {
  border-radius: var(--fcr_cornerradius_round);
  width: 22px;
  height: 22px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 10px;
  top: 10px;
  background-color: var(--fcr_web_ui_scene_fill1);
}
.fcr-confirm-content-dialog-close:hover {
  background-color: var(--fcr_web_ui_scene_hover);
}
.fcr-confirm-content-container {
  margin-bottom: 24px;
}
.fcr-confirm-content-icon {
  width: 50px;
  height: 50px;
  margin-right: 20px;
  float: left;
  border-radius: var(--fcr_cornerradius_xl);
  background: var(--fcr_ui_scene_ramp_green6);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fcr-confirm-content-icon path {
  fill: #fff;
}
.fcr-confirm-content-title {
  color: var(--fcr_ui_scene_icontext1);
  font-size: 16px;
  line-height: 20px;
  font-weight: var(--fcr_font_weight_x);
}
.fcr-confirm-content-content {
  color: var(--fcr_ui_scene_icontext1);
  font-weight: 400;
  font-size: 13px;
  line-height: 19.5px;
  word-break: break-all;
  white-space: pre-wrap;
  word-break: break-word;
  position: relative;
  text-align: left;
}

.fcr-confirm-content-checkbox {
  margin-top: 12px;
  display: flex;
  align-items: center;
}

.fcr-confirm-content-checkbox .fcr-checkbox {
  font-size: 13px;
  font-weight: 400;
  margin-right: 0;
}

.fcr-confirm-content-tip {
  font-size: 12px;
  position: absolute;
  width: 100%;
  bottom: 0;
  line-height: 20px;
  text-align: left;
  padding: 0 10px;
  color: var(--fcr_ui_scene_ramp_red6);
}
.fcr-confirm-content-tip-error {
  color: var(--fcr_ui_scene_ramp_red6);
}

.fcr-confirm-container .fcr-confirm-content-content {
  padding: 12px 0 20px;
}

.fcr-confirm-container .fcr-confirm-content-title {
  text-align: left;
}

.fcr-confirm-container.align-left .fcr-confirm-content-title,
.fcr-confirm-container.align-left .fcr-confirm-content-content {
  text-align: left;
  justify-content: flex-start;
}

.fcr-confirm-content-wrapper__align-left .fcr-confirm-content-footer__left {
  justify-content: flex-end;
  margin-left: 0;
}

.fcr-confirm-container.align-center .fcr-confirm-content-title,
.fcr-confirm-container.align-center .fcr-confirm-content-content {
  display: flex;
  justify-items: center;
  justify-content: center;
  text-align: center;
}

.fcr-confirm-container.align-center .fcr-confirm-content-content {
  padding: 12px 0 20px;
}

/* Center mode: single line stays centered; when body wraps, align block to the left for readability */
.fcr-confirm-container.align-center
  .fcr-confirm-content-content.fcr-confirm-content-content--center-multiline {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  text-align: left;
}

.fcr-confirm-container.align-center
  .fcr-confirm-content-content.fcr-confirm-content-content--center-multiline
  .fcr-confirm-content-body {
  text-align: left;
  width: 100%;
}

.fcr-confirm-container.align-center
  .fcr-confirm-content-content.fcr-confirm-content-content--center-multiline
  .fcr-confirm-content-checkbox {
  align-self: flex-start;
}

.fcr-confirm-container.icon .fcr-confirm-content-content {
  padding-left: 0;
}

.fcr-confirm-content-footer .fcr-button,
.fcr-confirm-content-footer .fcr-button:hover,
.fcr-confirm-content-footer .fcr-button:active {
  border: none !important;
  box-shadow: none !important;
}

.fcr-confirm-content-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}

.fcr-confirm-content-footer__center {
  justify-content: center;
  display: flex;
}

.fcr-confirm-content-footer__center button {
  flex-grow: 1;
}

.fcr-confirm-content-footer__center button div:not(.fcr-button-icon-wrapper) {
  max-width: 94px;
  height: 30px;
  overflow: hidden;
  line-height: 30px;
  white-space: nowrap;
  text-overflow: ellipsis; /* 显示省略符号来代表被修剪的文本 */
}

.fcr-confirm-content-footer .fcr-button-secondary,
.fcr-confirm-content-footer .fcr-button-secondary:hover {
  background-color: var(--fcr_ui_scene_btn2);
  color: var(--fcr_ui_scene_icontext2);
}
.fcr-confirm-content-footer.fcr-button-flex-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
