.modal {
  display: none; /* 기본적으로 모달은 보이지 않음 */
  position: fixed;
  right: 0;
  bottom: 0;

  width: calc(100% - 20px);
  max-width: 400px;
  min-height: 600px;
  height: calc(90%);
  max-height: 800px;

  overflow: hidden;
  background-color: transparent;
  z-index: 1000;
}

.modal-content {
  height: 100%;
  overflow: hidden;
  background-color: transparent;
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.modal-alarm {
  margin: 0;
  padding: 17px 20px 10px;
  /* width: calc(100% - 20px);
    max-width: 400px;
    min-width: 300px; */

  width: calc(100% - 20px);
  max-width: 380px;
  min-width: 360px;

  overflow: hidden;
  border-radius: 10px;
  background-color: white;

  display: flex;
  align-items: center;
  justify-content: left;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: fixed;

  /* 위치 조정 */
  top: 20px;
  left: 5%;
  z-index: 9999;
}

.modal-alarm div:nth-child(1) {
  float: left;
  margin-right: 20px;
}

.inline-content span {
  margin-right: 10px;
}

.modal-alarm h4 {
  margin: 0;
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1;
}

.modal-alarm p {
  margin: 0;
}

.modal-alarm .inline-content h4 img {
  position: absolute;
  top: 10px;
  right: 15px;
}

.modal-alarm .color {
  color: #888;
  font-size: 14px;
}

.modal-alarm2 {
  margin: 0;
  padding: 17px 20px 10px;
  /* width: calc(100% - 20px);
    max-width: 400px;
    min-width: 300px; */

  width: calc(100% - 20px);
  max-width: 380px;
  min-width: 340px;

  overflow: hidden;
  border-radius: 10px;
  background-color: white;

  display: flex;
  align-items: center;
  justify-content: left;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

  /* 위치 조정 */
  position: absolute;
  top: -90px;
  right: -20px;
  z-index: 9999;
}

.modal-alarm2 div:nth-child(1) {
  float: left;
  margin-right: 20px;
}

.modal-alarm2 h5 {
  margin: 0;
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1;
}

.modal-alarm2 p {
  margin: 0;
}

.modal-alarm2 .inline-content h5 img {
  position: absolute;
  top: 10px;
  right: 15px;
}

.modal-alarm2 .color {
  color: #888;
  font-size: 14px;
}
