/* JSON CSV 변환기 스타일 */
.json-csv-converter-tool textarea {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    line-height: 1.6;
    tab-size: 4;
}

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

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

/* 출력 영역 (CSV: 밝은 배경, JSON: 어두운 배경은 하이라이팅 시 적용) */
.converter-output {
    background-color: #1e1e2e !important;
    color: #cdd6f4;
}

/* JSON 신택스 하이라이팅 */
.converter-output .json-key {
    color: #89b4fa;
}

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

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

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

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

/* 드래그 앤 드롭 오버레이 */
.drop-overlay {
    background-color: rgba(13, 110, 253, 0.08);
    border: 2px dashed var(--bs-primary);
    z-index: 10;
    pointer-events: none;
}

/* 모드 토글 스타일 */
.json-csv-converter-tool .nav-pills .nav-link {
    color: var(--bs-secondary);
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.json-csv-converter-tool .nav-pills .nav-link.active {
    background-color: var(--bs-primary);
    color: #fff;
}

.json-csv-converter-tool .nav-pills .nav-link:not(.active):hover {
    background-color: var(--bs-light);
}

/* 전체 화면 모드 */
.jcc-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;
}

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

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

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

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

.jcc-fullscreen .d-flex.justify-content-center.mb-3 {
    margin-bottom: 0.5rem !important;
}

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

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

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

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

.jcc-fullscreen #dataInput {
    flex: 1;
    resize: none;
}

.jcc-fullscreen #dropZone {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.jcc-fullscreen #outputWrap {
    flex: 1;
    height: auto !important;
}

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

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

/* FAQ 아코디언 */
.json-csv-converter-tool .accordion-button:not(.collapsed) {
    background-color: var(--bs-light);
    box-shadow: none;
}

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