/* JSON 포맷터 스타일 */
.json-formatter-tool textarea {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    line-height: 1.6;
    tab-size: 4;
}

.json-formatter-tool textarea:focus {
    box-shadow: none;
}

.json-formatter-tool pre {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    line-height: 1.6;
    margin: 0;
}

/* JSON 신택스 하이라이팅 */
.json-highlight-output {
    background-color: #1e1e2e !important;
    color: #cdd6f4;
}

.json-highlight-output .json-key {
    color: #89b4fa;
}

.json-highlight-output .json-string {
    color: #a6e3a1;
}

.json-highlight-output .json-number {
    color: #fab387;
}

.json-highlight-output .json-boolean {
    color: #cba6f7;
}

.json-highlight-output .json-null {
    color: #f38ba8;
    font-style: italic;
}

/* 전체 화면 모드 */
.jf-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: #fff;
    margin: 0 !important;
    padding: 15px;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

.jf-fullscreen .container-xl {
    max-width: 100% !important;
    padding: 0 !important;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.jf-fullscreen .row.g-4 {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.jf-fullscreen .col-lg-9 {
    flex: 1;
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.jf-fullscreen .text-center.mb-4 {
    display: none;
}

.jf-fullscreen #editorRow {
    flex: 1;
    min-height: 0;
}

.jf-fullscreen #editorRow > .col-lg-6 {
    display: flex;
}

.jf-fullscreen #editorRow > .col-lg-6 > .card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.jf-fullscreen #editorRow > .col-lg-6 > .card > .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.jf-fullscreen #jsonInput {
    flex: 1;
    resize: none;
}

.jf-fullscreen #jsonOutputWrap {
    flex: 1;
    height: auto !important;
}

.jf-fullscreen .card.mt-5,
.jf-fullscreen .text-center.mt-4 {
    display: none;
}

/* sidebar 숨기기 */
.jf-fullscreen .col-lg-3 {
    display: none;
}

.json-formatter-tool .accordion-button:not(.collapsed) {
    background-color: var(--bs-light);
    box-shadow: none;
}

.json-formatter-tool .accordion-button:focus {
    box-shadow: none;
}
