/* 기본 모달 */
.modal {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, .7);
  z-index: 1000;
}
.modal-body {
  position: absolute;
  background-color: white;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 90vh;
  border-radius: 1em;
  transform: translateX(-50%) translateY(-50%);
}
.modal-title {
  width: 100%;
  height: 8%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  color: white;
  border-radius: 10px 10px 0 0;
  user-select: none;
}
.modal-title span {
  position: absolute;
  left: 90%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 10%;
  height: 15px;
}
.modal-title h5 {
  font-size: 30px;
}
.modal-img-box {
  width: 10%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal-img-box img {
  width: 70%;
}
.modal-content {
  width: 100%;
  height: calc(100% - 8%);
  overflow-y: auto;
}
/* 모달 테마 */
.modal-light {
  background-color: #2c2c2c;
  color: #e7e7e7;
}
.modal-dark {
  background-color: white;
  color: #000;
}
/* 모달 스크롤바 css */
.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-thumb {
  height: 30%;
  background-color: #3c3c3c;
  border-radius: 2px;
}

.modal-content::-webkit-scrollbar-track {
  background-color: rgba(215, 215, 215, .8);
  border-radius: 10px;
}

/* AI Tutor css */
.no-dialog-scroll .ui-dialog-content {
  overflow-x: hidden !important;
}

.Tutor-window {
  position: relative;
  width: 100%;
  height: 100% !important;
}

.division {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: space-between;
}

.gptArea {
  flex: 5;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 500px;
  height: 600px;
  margin-top: 3px;
}

.addInfo {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 15px;
}

.addInfo textarea {
  overflow-y: auto;
  resize: none;
  padding: 5px;
  margin: 5px 0px 10px 0px;
}

.prompt_Area {
  font-family: 'Cafe24Ohsquare';
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.api_input {
  margin-left: 7px;
}

.prompt_Area select{
  width: 90%;
  height: 100%;
  padding: 0px 5px;
}

.gptArea button {
  border-radius: 5px;
  padding: 10px 8px;
  background-color: #B1B1B1;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: background-color 0.8s;
}

.resultArea {
  display: block;
  font-family: 'Cafe24Ohsquare';
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.resultArea span{
  margin-left: auto;
}

.resultArea h3 {
  display: inline-block;
}

.gptRunBtn {
  margin-left: 5px;
  padding: 6px 12px !important;
  transition: background-color 0.1s !important;
}

.gptRunBtn:active {
  background-color: #747474;
}

.rsRadio {
  margin-left: 5px;
  margin-right: 5px;
}

.addInfo span {
  display: flex;
}

.addInfo span button {
  border: none;
  display: flex;
  color: #B1B1B1;
  background-color: #ffffff;
  padding: 0px;
  font-size: 12px;
  margin-left: 8px;
  align-items: center;
  font-family: 'Cafe24Ohsquare';
}

.addInfo span button .material-symbols-outlined {
  font-size: 18px;
  vertical-align: middle;
  margin-right: 3px;
}

.gptResultArea {
  flex: 5;
  display: none;
  flex-direction: column;
  max-width: 499px;
}

.gptResultArea h2 {
  font-size: 20px;
  margin: 5px 0px 5px 10px;
  font-family: 'Cafe24Ohsquare';
}

.TutorAnswerArea{
  flex-grow: 1;
  overflow-y: auto;
  height: 100%;
  line-height: 22px;
  font-size: 14px;
}

.TutorAnswerArea pre{
  width: 480px;
  white-space: break-spaces;
  line-height: 22px;
}

.code-block-container {
  position: relative;
  display: inline-block;
  background-color: #000;
  line-height: 25px;
  margin: 10px 0px 10px 10px;
  border-radius: 10px;
  width: 95%;
}

.copy_btn_area {
  position: relative;
  display: flex;
  background-color: #36373F;
  border-radius: 10px 10px 0px 0px;
  justify-content: flex-end;
  width: 100%
}

.copy-button {
  padding: 5px 10px;
  background-color: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: #C3C3C3;
  margin-bottom: 3px 0px 3px 0px;
  display: flex;
  align-items: center;
}

.addInfo .material-icons {
  font-size: 18px;
  color: #C3C3C3;
  margin-right: 5px;
}

.chat_code_area {
  color: #fff;
  padding: 20px;
  width: 100%;
  overflow-x: auto;
}

.gptResultArea hr{
  display: block !important;
  margin: 3px 25px 10px 0px;
}

.categorySpan{
  margin-top: 6px;
  font-family: 'Cafe24Ohsquare';
}

.categoryFont{
  font-size: 14px;
  font-family: 'Cafe24Ohsquare' !important;
}

.gptCodeBlock{
  width:100% !important;
}

.LLM_Select_btn:active{
  background-color: #747474;
}

.execute{
  font-family: 'Cafe24Ohsquare' !important;
  margin-right: 0px !important;
}

.APIArea {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-family: 'Cafe24Ohsquare';
}

#df-modal {
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, .5);
  z-index: 99;
  display: none;
}

#df-modal-body {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 90%;
  height: 90%;
  overflow: hidden;
  border-radius: 10px;
}