﻿
body {
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f4f4f4;
}

.editor-container {
    width: 2000px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* CKEditor 4 스타일 */
.cke_textarea_inline { /* CKEditor 4 인라인 에디터 */
    padding: 20px;
    overflow: auto;
    width: 100%; /* 컨테이너에 맞게 너비 설정 */
    height: 100%; /* 컨테이너에 맞게 높이 설정 */
}

.cke_editable { /* CKEditor 4 iframe 기반 에디터 */
    padding: 20px;
    overflow: auto;
    width: 100%;
    height: 2000px; /* 초기 높이 설정 */
    min-height: 2000px; /* 최소 높이 설정 */
}

.quadrant-box {
    position: fixed;
    width: 33.33vw;
    height: 400px;
    background-color: rgba(0, 0, 255, 0.5);
    color: white;
    text-align: center;
    line-height: 400px;
    border: 1px solid black;
    z-index: 1000;
    transition: all 0.3s ease;
    clip-path: inset(0 5% 0 5%);
    opacity: 0;
    cursor: pointer;
}

    .quadrant-box.active {
        opacity: 1;
    }

    .quadrant-box.inactive {
        display: none;
    }

.quadrant-1 {
    top: 20px;
    left: 0;
}

.quadrant-2 {
    top: 20px;
    right: 0;
}

.quadrant-3 {
    top: 50%;
    transform: translateY(0px);
    left: 0;
}

.quadrant-4 {
    top: 50%;
    transform: translateY(0px);
    right: 0;
}

@media (max-width: 1800px) {
    body {
        padding-left: 0;
        padding-right: 0;
    }
}

#dataPopup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 중앙 정렬을 위한 transform */
    width: 500px; /* 너비 자동 조정 */
    height: auto;  /* 높이 자동 조정 */
    background-color: rgba(255, 255, 255, 1);
    display: flex;
    justify-content: center;
    align-items: center;
      max-width:80%; /*팝업창 최대 너비*/
      max-height:80%; /*팝업창 최대 높이*/
      overflow: auto;
  }
  
  .popup-content {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  }