/* 可选的动画效果 */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 基本样式 */
#loading-indicator {
  display: none;
  position: fixed; /* 固定位置 */
  top: 50%; /* 垂直居中 */
  left: 50%; /* 水平居中 */
  transform: translate(-50%, -50%); /* 完全居中 */
  padding: 10px 20px; /* 内边距 */
  background: rgba(0, 0, 0, 0.7); /* 半透明背景 */
  color: #fff; /* 文字颜色 */
  font-size: 16px; /* 文字大小 */
  border-radius: 5px; /* 圆角 */
  z-index: 1000; /* 确保在最上层 */
}

/* 加载图标样式 */
#loading-indicator::before {
  content: ''; /* 伪元素内容为空 */
  display: inline-block; /* 行内块显示 */
  width: 20px; /* 宽度 */
  height: 20px; /* 高度 */
  margin-right: 10px; /* 右边距 */
  border: 2px solid #fff; /* 边框 */
  border-top-color: transparent; /* 顶部边框透明 */
  border-radius: 50%; /* 圆形 */
  animation: spin 1s linear infinite; /* 应用旋转动画 */
}

/* 用于手机端样式 */
.p-3570-input-name__family input,
.p-3570-input-name__name input {
  width: 100% !important;
}

.image-preview-container {
  text-align: center;
}

.add_img {
  width: 100%;
  display: flex;
  align-items: center;
  font-weight: bold;
}

.flex-ul {
  display: flex;
  align-items: baseline;
}

.add_img_span {
  margin-left: auto !important;
}

:focus-visible {
  outline: 0 !important;
}

.c-list--base.is-line-height-wide-5 > li + li {
  margin-top: 0;
}

.input-div {
  flex: 0 0 100%;
}

.code-div {
  width: 75%;
  display: flex;
  padding-top: 1em;
}

.code-div input {
  border: 1px solid #d5d5dd;
  line-height: 48px;
  width: 60%;
  border-radius: 4px;
  text-indent: 0.8em;
}

.code-div input::placeholder {
  padding-left: 1em;
}

.getCode-btn-div {
  float: left;
  line-height: 52px;
  padding-left: 2em;
}

.c-check label::before,
.c-check .c-radio__nest__label::before,
.c-radio label::before,
.c-radio .c-radio__nest__label::before {
  top: 4px;
}

.c-check label,
.c-check .c-radio__nest__label,
.c-radio label,
.c-radio .c-radio__nest__label {
  line-height: 2em;
}

.clause-div-content {
  overflow-y: auto;
  height: 32vh;
}

.content-top-title-checkbox {
  position: sticky;
  padding: 15px 1em;
}

.add-pic {
  max-width: 2em !important;
  max-height: 2em !important;
}

#file-btn {
  margin-left: 15px;
  cursor: pointer;
  background: none;
}

.other-input {
  border: 1px solid #d5d5dd;
  text-indent: 1em;
  border-radius: 4px;
  height: 40px;
}

.other-input-textarea {
  border: 1px solid #d5d5dd;
  text-indent: 1em;
  border-radius: 4px;
}

#edit-inquiry-desired-answer .c-radio label:after,
.c-radio .c-radio__nest__label:after {
  background-color: #0a5cff;
  background-image: none;
  content: "";
  display: block;
  border-radius: 100%;
  left: 4px;
  width: 8px;
  height: 8px;
  top: 8px;
}

#customer-register-form .c-check label:after {
  height: 1em;
}

/* g-others-div */

.g-others-div {
  color: #666;
  text-align: center;
  padding-top: 3em;
}

.g-others-div img {
  padding-bottom: 1em;
  width:45%;
}

.g-others-div .g-others-div-txt {
  line-height: 1.8em;
  width: 656px;
  margin: auto;
  text-align: left;
}

.g-others-div .g-others-div-txt p {
  font-weight: bold;
  line-height: 2em;
}

.g-others-div .g-pdL {
  padding-left: 0.8em;
}

#product-usage-time .c-radio label:after {
  content: "";
  left: 4px;
  width: 8px;
  height: 8px;
  top: 8px;
}

@media screen and (max-width: 834px) {
  .c-tbl--base.is-sp-block tbody tr:first-child th:first-child, .c-tbl--base.is-sp-block tbody tr:first-child td:first-child {
    border-radius: 4px 0 0 0 !important;
  }

  .c-tbl--base tbody tr:first-child th:last-child, .c-tbl--base tbody tr:first-child td:last-child {
    border-radius: 0 4px 0 0 !important;
  }

  label {
    margin-right: 0;
  }

  .l-inner {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .add-pic {
    max-width: 2em !important;
    max-height: 2em !important;
  }

  .c-tbl--base.is-padding-wide-3 th, .c-tbl--base.is-padding-wide-3 td {
    padding: 15px 5px !important;
  }

  .g-others-div .g-others-div-txt {
    width: auto;
  }

  .flex-ul {
    display: block;
  }

  .code-div {
    width: 100%;
  }

  #agreeModal .modal-content {
    margin: 20% auto;
    width: 90%;
  }

  #agreeModal .modal-content .cartBottom-button {
    justify-content: space-between;
  }

  .modal-content .cartBottom-button .c-btn {
    height: 3em;
    width: 48%;
  }

  .other-input {
    width: 100%;
  }
}

/* 模态框 */
.modal {
  display: none;
  position: fixed;
  z-index: 3;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  border: 1px solid #888;
  width: 40%;
  max-width: 1200px;
  padding: 20px;
}

.modal-content .modal-content-tit {
  background: #fff;
  padding-bottom: 1em;
  position: sticky;
  z-index: 1;
  top: 0;
}

.modal-content h2 {
  display: inline-block;
  margin-bottom: 0;
}

.modal-content .modal-content-sec .modal-detail-detail .modal-detail-right {
  display: inline-block;
  font-weight: bold;
  width: 80%;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  line-height: 0px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal-txt-box {
  padding-bottom: 4em;
}

.modal-btn-box {
  display: flex;
  justify-content: space-around;
}

.modal-btn-box .close {
  font-size: 1em;
}

.modal-content-sec {
  background: #f9fafb;
  padding: 20px;
}

.modal-content .modal-content-sec .modal-detail-detail {
  padding: 0;
  width: 100%;
}

.modal-content .cartBottom-button {
  display: flex;
  justify-content: end;
}

.modal-content .cartBottom-button .c-btn {
  font-size: 1em;
  padding: 15px 2em;
  color: white;
  margin-top: 0;
  height: 3em;
}

.modal-detail-item input {
  padding: 10px;
  border: 1px solid #d0d5dd;
  border-radius: 4px;
}

.modal-content .cartBottom-button .clearBtn {
  background-color: transparent;
  color: #0a5cff;
  font-size: 1em;
  padding: 15px 2em;
}
