
/* 로딩 */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 9999;
  opacity: 0.8;
  transition: 0.5s ease;
  display: none;
}
.loader-ment {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, 69px);
    font-size: 2rem;
    font-weight: bold;
    width: 80%;
    text-align: center;
}
.loading_box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  /*background: #bebebe;*/
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.loading_box .loadingIcon {
  z-index: 1;
  border: 10px solid #f3f3f3;
  border-radius: 50%;
  border-top: 10px solid #ff5656;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

/* 로딩 돌리는거 */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* 모달 백그라운드 (어두운 배경) */
.modal {
    display: none; /* 기본적으로 숨김 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 반투명 배경 */
    justify-content: center;
    align-items: center;
}

/* 모달 활성화 시 표시 */
.modal.d-flex {
    display: flex;
}

/* 모달 다이얼로그 (모달 창) */
.modal-dialog {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* 모달 컨텐츠 */
.modal-content {
    padding: 20px;
}

/* 모달 바디 텍스트 */
.modal-body {
    text-align: center;
    font-size: 18px;
    padding: 20px;
}

/* 모달 버튼 영역 */
.modal-footer {
    display: flex;
    justify-content: space-around;
    padding: 10px 20px;
}

/* 버튼 스타일 */
button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

/* 기본 버튼 스타일 */
button.common-modal-option, button.common-modal-option-1, button.common-modal-option-2 {
    background-color: #007bff;
    color: white;
}

button.common-modal-option-1 {
    background-color: #f0f0f0;
    color: #333;
}


/* 커스텀 모달 */
/* Overlay 스타일 */
.css-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(175 175 175 / 75%);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1050;
}

/* 모달 내용 컨테이너 */
.css-modal-content {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 헤더 스타일 */
.css-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
}

.css-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.css-modal-close {
    background: none;
    border: none;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

.css-modal-close:hover {
    color: #007bff;
}

/* 바디 스타일 */
.css-modal-body {
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
}