/* 共用alarm */
.custom-model-alarm {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -webkit-overflow-scrolling: touch;
  transition: opacity 0.15s linear, z-index 0.15;
  z-index: 99;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-model-alarm .bg-overlay {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  transition: background 0.15s linear;
  background: rgba(0, 0, 0, 0.85);
  z-index: 99;
}

.custom-model-alarm .alarm-txt {
  position: relative;
  z-index: 100;
  width: 100%;
  max-width: 450px;
  background: #fff;
  border-radius: 4px;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #495057;
}

.custom-model-alarm .alarm-txt h1 {
  font-size: 20px;
  margin: 10px auto 4px;
}

.custom-model-alarm .alarm-txt p {
  font-size: 16px;
  text-align: center;
  line-height: 1.5;
}

.custom-model-alarm .alarm-txt .img {
  width: 100%;
  max-width: 96px;
  height: auto;
}

.custom-model-alarm .btns,
.custom-model-alarm .btns button {
  width: auto;
  background: unset;
  margin: 0px auto;
  padding: 0;
}

.custom-model-alarm .btns button {
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 16px;
  margin: 30px 2px 10px;
}

.custom-model-alarm .btns button.cancel {
  border: 1px solid #cb954b;
  color: #cb954b;
}

.custom-model-alarm .btns button.confirm {
  border: 1px solid #a90044;
  background: #a90044;
  color: #ffffff;
}

@media(max-width:500px) {
  .custom-model-alarm {
    width: 94%;
    margin: 0 auto;
  }
}