    .safe-modal-backdrop {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.5);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
    }

    .safe-modal-box {
      display: flex;
      flex-direction: column;
      background: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.2);
      width: 100%;
      height: 100%;
      box-sizing: border-box;
      overflow: hidden;
    }

    .safe-modal-header {
      flex-shrink: 0;
      padding: 12px 16px;
      font-weight: bold;
      background: #f5f5f5;
      display: flex;
      justify-content: space-between;
      cursor: move;
    }

    .safe-modal-close-btn {
      cursor: pointer;
      font-size: 18px;
    }

    .safe-modal-body {
      flex-grow: 1;
      overflow-y: auto;
      padding: 16px;
      font-size: 14px;
      color: #333;
    }
    
    /*.safe-modal-footer {
      flex-shrink: 0;
      padding: 12px 16px;
      background: #f9f9f9;
      text-align: right;
    }*/
    
    .no-select {
      user-select: none;
    }    

	  
/* 공통 스타일 */
.safe-modal-footer {
  flex-shrink: 0;
  padding: 0;
  background: #f9f9f9;
  display: flex;
  border-top: 1px solid #ddd;
}

/* 기본 버튼 */
.safe-modal-footer button {
  flex: 1;
  padding: 14px 0;
  border: none;
  border-radius: 0;
  background: white;
  font-size: 16px;
  cursor: pointer;
  font-weight: 500;
  color:#000;
}

/* 구분선 */
.safe-modal-footer button + button {
  border-left: 1px solid #ccc;
}

/* 모바일용 버튼 - iOS 스타일 */
@media (max-width: 768px) {
  .safe-modal-footer {
    display: flex;
    flex-direction: row;
    padding: 0;
    background: #f9f9f9;
    border-top: 1px solid #ddd;
  }

  .safe-modal-footer button {
    flex: 1;
    height: 50px;
    border: none;
    border-radius: 0;
    background: white;
    font-size: 17px;
    font-weight: 500;
    color: #007aff; /* iOS 블루 느낌 */
    white-space: nowrap;  /* 줄바꿈 방지 */
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
  }

  .safe-modal-footer button + button {
    border-left: 1px solid #ddd;
  }
}

/* 데스크톱 기본 버튼 */
@media (min-width: 769px) {
  .safe-modal-footer {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    padding: 12px 16px;
    background: #f9f9f9;
    border-top: none;
  }

  .safe-modal-footer button {
    min-width: 100px;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
  }

  .safe-modal-ok-btn {
    background-color: #007bff;
    color: white;
  }

  .safe-modal-cancel-btn {
    background-color: #ccc;
    color: #333;
  }

  .safe-modal-footer button + button {
    border-left: none;
    margin-left: 8px;
  }
}
