@charset "utf-8";

/* 기본 리셋 */

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    font-family: 'font-R', sans-serif !important;
}

ul,
li {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

button {color:#09244B;}

mark {
    background-color: rgba(170, 32, 255, 0.1) !important;
}

.mode-regular pre {
    box-sizing: border-box;
    background-color: #F0F5F9;
    color: #374d6e;
    padding: 15px 15px 60px 15px;
    font-size: 12px;
    border-radius: 6px;
    position: relative;
    margin-bottom: 10px;
    min-height: 90px;
    text-align: left !important;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.mode-regular pre::before {
    content: '[Code] 쉬프트+엔터 로 줄바꿈 할 수 있어요';
    position: absolute;
    bottom: 0px;
    left: 0px;
    color: #374d6e;
    background-color: rgba(9, 36, 75, 0.1);
    display: block;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    font-size: 12px;
    text-align: left !important;
}

.rb_is_admin,
.rb_is_member {
    display: none;
}

.dss {
    opacity: 0.5
}

#editor * {
    line-height: 140%;
}

#editor:focus {
    outline: none;
}

#editor img {
    max-width: 100%;
}

#editor table {
    max-width: 100%;
}

.font-R {
    font-family: 'font-R', sans-serif !important;
}

.font-B {
    font-family: 'font-B', sans-serif !important;
}

.font-H {
    font-family: 'font-H', sans-serif !important;
}

/* 에디터 컨테이너 */
#editor-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    background-color: #fff;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

#editor_footer {
    background-color: #F0F5F9;
    padding: 20px;
    display: flex;
    align-items: center;
}

#editor_footer ul {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.6);
}

#editor-container #editor-header {
    position: relative;
    background-color: #fff;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

#editor-container #editor_wrap .editor_area::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 10px;
    /* SVG 너비 */
    height: 11px;
    /* SVG 높이 */
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 11" fill="none"%3E%3Cline y1="-0.5" x2="10" y2="-0.5" transform="matrix(-4.37114e-08 1 1 4.37114e-08 10 0)" stroke="%23999999"/%3E%3Cline y1="-0.5" x2="10" y2="-0.5" transform="matrix(1 0 0 -1 0 10)" stroke="%23999999"/%3E%3C/svg%3E');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#editor-container #editor_wrap .editor_area::after {
    content: '';
    position: absolute;
    top: 0px;
    right: 0px;
    width: 10px;
    /* 우측 SVG 너비 */
    height: 10px;
    /* 우측 SVG 높이 */
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 11" fill="none"%3E%3Cline x1="0.5" y1="0" x2="0.5" y2="10" stroke="%23999999"/%3E%3Cline x1="10" y1="10.5" x2="0" y2="10.5" stroke="%23999999"/%3E%3C/svg%3E');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


#editor-container #editor::after {
    content: '';
    position: absolute;
    bottom: -9px;
    right: -10px;
    width: 10px;
    /* 우측 SVG 너비 */
    height: 10px;
    /* 우측 SVG 높이 */
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 11" fill="none"%3E%3Cline x1="0.5" y1="0" x2="0.5" y2="10" stroke="%23999999"/%3E%3Cline x1="10" y1="10.5" x2="0" y2="10.5" stroke="%23999999"/%3E%3C/svg%3E');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(90deg);
}

#editor-container #editor::before {
    content: '';
    position: absolute;
    bottom: -9px;
    left: -10px;
    width: 10px;
    /* SVG 너비 */
    height: 10px;
    /* SVG 높이 */
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 11" fill="none"%3E%3Cline y1="-0.5" x2="10" y2="-0.5" transform="matrix(-4.37114e-08 1 1 4.37114e-08 10 0)" stroke="%23999999"/%3E%3Cline y1="-0.5" x2="10" y2="-0.5" transform="matrix(1 0 0 -1 0 10)" stroke="%23999999"/%3E%3C/svg%3E');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(270deg);
}


#editor-container select {
    background-color: #F0F5F9 !important;
    padding-left: 10px;
    padding-right: 10px;
    border: 0px;
    background: url(../image/svg/arr_down.svg) no-repeat right 10px center;
    border-radius: 4px;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 13px;
    color: #374d6e;
    margin: 0px;
    height: 30px;
    width: 100%;
}

#editor-container select:focus {
    border: 0px;
    outline: none;
}

#editor_wrap {
    flex: 1;
    padding: 20px;
    position: relative;
}

#canvas_wrap {
    flex: 1;
    padding: 20px;
    position: relative;
}

#editor-container #editor_wrap .editor_area {
    min-height: 300px;
    max-width: 100%;
    margin: 0 auto;
    height: auto;
    padding: 10px;
}

#editor-container #editor {
    min-height: 300px;
    width: 100%;
    position: relative;
    white-space: normal;
    word-wrap: break-word;
    height: auto;
}

.ui-po-rel {
    position: relative;
}

#editor-menu {
    display: flex;
    align-items: center;
    gap: 0 5px;
    flex-direction: row;
    flex-wrap: wrap;
    margin-left: auto;
}

#editor-menu button.rb-ui-btns {
    background-color: transparent;
    position: relative;
    padding: 0px;
    border: 0px;
    width: auto;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    padding: 0px 7px 0px 7px;
}

#drawing-mode-toolbar button.rb-ui-btns {
    background-color: transparent;
    position: relative;
    padding: 0px;
    border: 0px;
    width: auto;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    padding: 0px 7px 0px 7px;
}



#drawing-mode-toolbar button.rb-ui-btns {
    background-color: transparent;
    position: relative;
    padding: 0px;
    border: 0px;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    padding-top: 2px;
}


#drawing-mode-toolbar button.rb-ui-btns:hover {
    background-color: #EFF2F8;
}

#drawing-mode-toolbar button.rb-ui-btns.active {
    background-color: #EFF2F8;
}


#html-mode-toolbar button.rb-ui-btns {
    background-color: transparent;
    position: relative;
    padding: 0px;
    border: 0px;
    width: auto;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    padding: 0px 7px 0px 7px;
}



#html-mode-toolbar button.rb-ui-btns {
    background-color: transparent;
    position: relative;
    padding: 0px;
    border: 0px;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    padding-top: 2px;
}


#html-mode-toolbar button.rb-ui-btns:hover {
    background-color: #EFF2F8;
}

#html-mode-toolbar button.rb-ui-btns.active {
    background-color: #EFF2F8;
}



#drawing-mode-toolbar button svg {
    width: 18px;
    height: 18px;
}

#html-mode-toolbar button svg {
    width: 18px;
    height: 18px;
}

#editor-container #ov-menu-wrap {
    
}

#editor-container #ov-menu-wrap .ov-menu-wrap-inner{
    display: flex;
    gap: 5px 10px;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    position: relative;
    padding: 10px 20px 10px 20px;
    background-color: #f0f5f9;
    user-select: none;
    /* 모든 브라우저에서 텍스트 선택 방지 */
    -webkit-user-select: none;
    /* 크롬, 사파리 */
    -moz-user-select: none;
    /* 파이어폭스 */
    -ms-user-select: none;
    /* IE, Edge */
}

#editor-container #ov-menu-wrap button.rb-ui-btns {
    background-color: transparent;
    position: relative;
    padding: 0px;
    border: 0px;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    padding-top: 2px;
}



#editor-container #ov-menu-wrap button.rb-ui-btns:hover {
    background-color: #EFF2F8;
}

#editor-container #ov-menu-wrap button.rb-ui-btns.on {
    background-color: #EFF2F8;
}

#editor-menu button.rb-ui-btns:hover {
    font-weight: bold;
}

#editor-menu button#scan-btn {
    margin-left: auto;
    padding-left: 0px;
    padding-right: 0px;
}

#editor-menu button#scan-btn:hover {
    background-color: #fff;
    opacity: 0.6
}

#drawing-mode-toolbar {
    display: flex;
    width: 100%;
}

#html-mode-toolbar {
    display: flex;
    width: 100%;
}

#editor-ui {
    display: flex;
    width:100%;
}

#editor-ui #toolbar.mode-regular {
    display: flex;
    gap: 5px 10px;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

#editor-ui #toolbar.mode-regular button.rb-ui-btns {
    background-color: transparent;
    position: relative;
    padding: 0px;
    border: 0px;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    padding-top: 2px;
}



#editor-ui #toolbar.mode-regular button.rb-ui-btns:hover {
    background-color: #EFF2F8;
}

#editor-ui #toolbar.mode-regular button.rb-ui-btns.on {
    background-color: #EFF2F8;
}

#mode-toolbar {
    margin-left: auto;
    display: flex;
    border-radius: 10px;
    max-height: 30px;
}


#mode-toolbar button {
    background-color: transparent;
    border: 0px;
    opacity: 1;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    background-color: #F0F5F9;
    margin-left: 5px;
    padding-top: 2px;
}

#mode-toolbar button:hover {
    opacity: 0.6
}

#mode-toolbar button.on {
    opacity: 1
}

#mode-toolbar button img {
    height: 20px;
    width: auto;
}


#cell-toolbar {
    border-radius: 10px;
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.05);
    position: absolute;
    background: #fff;
    border: 0px;
    padding: 10px;
    z-index: 1000;
    border-radius: 10px;
    display: flex;
    gap: 5px;
    align-items: center;
    min-width: 165px;
}


#cell-bg-color-btn {
    width: 27px;
    height: 27px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
}

#color-btn svg {
    margin-top: -2px;
}

.font-size-slider_wrap {
    margin-top: 3px;
}

#drawing-font-size-slider {
    width: 40px !important;
    margin-left: 5px;
    margin-right: 5px;
}

#drawing-line-width-slider {
    width: 40px !important;
    margin-left: 5px;
    margin-right: 5px;
}

#drawing-image-radius-slider {
    width: 40px !important;
    margin-left: 7px;
    margin-right: 5px;
}

#tool-color-preview {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #000;
    position: absolute;
    top: 13px;
    right: 6px;
    border: 1.5px solid #fff;
}

#tool-undo:disabled {
    opacity: 0.3;
    cursor: not-allowed !important;
}

#tool-redo:disabled {
    opacity: 0.3;
    cursor: not-allowed !important;
}

.rb-dw-flex {
    display: flex;
    gap: 10px;
    align-items: center;
}

.license-info-value-key {
    font-size: 11px;
    color: #09244B;
    word-break: break-all
}

.license-info-value {
    font-size: 14px;
    color: #09244B;
    word-break: break-all
}

#license-status-display {
    padding: 5px 15px;
    background: #e8f5e9;
    border-radius: 6px;
    color: #2e7d32;
    font-size: 13px;
    font-weight: bold;
}

#license-key-display {
    user-select: text !important;
}

.license-info-container {
    padding-top: 15px;
}

#table-grid {
    border-radius: 10px;
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.05);
    position: absolute;
    background: #fff;
    border: 0px;
    padding: 10px;
    z-index: 1000;
    border-radius: 10px;
    top: 45px !important;
    left: -13px !important;
}

#table-grid #grid-container:before {
    content: '';
    display: block;
    position: absolute;
    width: 16px;
    height: 10px;
    left: 10px;
    top: -20px;
    border: solid transparent;
    border-width: 0 8px 10px 8px;
    border-bottom-color: currentColor;
    box-sizing: border-box;
    color: #fff;
    filter: drop-shadow(0 -4px 3px rgba(0, 0, 0, .05));
}

#grid-container {
    display: grid;
    grid-template-columns: repeat(8, 15px);
    gap: 2px;
}

#grid-container .grid-cells {
    background: #F0F5F9;
    border-radius: 4px;
    cursor: pointer;
}


.text-styles {
    min-width: 80px !important;
}

#editor table {
    width: 100%;
    /* 테이블 전체 폭 */
    border-collapse: collapse;
}

#editor td,
th {
    position: relative;
    /* 크기 조정 위치 고정 */
}

/* 가로 강조 */
#editor .resize-right-highlight {
    border-right: 2px solid rgba(170, 32, 255, 0.3) !important;
}

/* 행 강조 */
#editor .resize-row-highlight {
    border-bottom: 2px solid rgba(170, 32, 255, 0.3) !important;
}



/* 캔버스 모드 툴바 스타일 */
#editor-ui #canvas-toolbar.mode-canvas {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
}

#editor-ui #canvas-toolbar.mode-canvas button.rb-ui-btns {
    background-color: transparent;
    position: relative;
    padding: 0px;
    border: 0px;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer
}

#editor-ui #canvas-toolbar.mode-canvas button.rb-ui-btns:hover {
    background-color: #EFF2F8;
}

#editor-ui #html-toolbar.mode-html {
    /*
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    */
    background-color: rgba(255, 255, 255, 0.8);
    position: absolute;
    width: 100%;
    height: 100%;
}



#editor-ui #html-toolbar.mode-html button.rb-ui-btns {
    background-color: transparent;
    position: relative;
    padding: 0px;
    border: 0px;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer
}

#editor-ui #html-toolbar.mode-html button.rb-ui-btns:hover {
    background-color: #EFF2F8;
}


#editor.mode-regular {
    flex: 1;
    padding: 0px;
    font-size: 16px;
    outline: none;
    position: relative;
    text-align: left;
    /* 기본 정렬 */
}

/* 이미지 선택 시 테두리 표시 및 리사이징 핸들 CSS */
.resizable {
    display: inline-block;
    position: relative;
    border: 1px dashed transparent;
    user-select: none;
    cursor: default;
    max-width: 100%;

}

#editor a {
    border-bottom: 1px solid rgba(170, 32, 255, 1);
    text-decoration: none;
}

.resizable a {
    font-size: 0;
    display: block;
    width: inherit;
    height: inherit;
    border-bottom: 0px !important;
}

.resizable a img {
    border: 1px solid rgba(170, 32, 255, 1) !important;
}


.resizable img {
    display: block;
    cursor: default;

    width: 100%;
    height: 100%;
    box-sizing: border-box;
    user-select: none;

    user-select: none;
    -webkit-user-drag: none;
    /* Safari */
    user-drag: none;
    /* Prevent image from being selected */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;

    /* 이미지 클릭 가능 */
    user-select: none;
    /* 이미지 드래그 방지 */
    cursor: move;
    /* 커서를 이미지 이동으로 설정 */
}


.drag-handle {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 12px;
    height: 12px;
    background: #fff;
    cursor: grab;
    border: 1px solid #000;
    box-sizing: border-box;
    user-select: none !important;
    z-index: 99;
}

.resize-handle {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 12px;
    height: 12px;
    border-radius: 10px;
    background: #fff;
    cursor: nwse-resize;
    border: 1px solid #000;
    box-sizing: border-box;
    user-select: none !important;
    z-index: 10;
    touch-action: none;
}

.resizable.selected {
    border: 1px dashed #000;
}


/* 드로잉 캔버스 컨테이너 */
#canvas-container.mode-canvas {
    flex: 1;
    position: relative;
    padding: 0px;
    box-sizing: border-box;
    min-height: 300px;
    width: 100% !important;
    margin: 0 auto;
    padding: 10px;
    min-height: 300px;
    max-width: 100%;
    padding: 10px;
}

#canvas_area {
    min-height: 300px;
    max-width: 100%;
    margin: 0 auto;
}


#canvas_wrap #canvas_area::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 10px;
    /* SVG 너비 */
    height: 11px;
    /* SVG 높이 */
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 11" fill="none"%3E%3Cline y1="-0.5" x2="10" y2="-0.5" transform="matrix(-4.37114e-08 1 1 4.37114e-08 10 0)" stroke="%23999999"/%3E%3Cline y1="-0.5" x2="10" y2="-0.5" transform="matrix(1 0 0 -1 0 10)" stroke="%23999999"/%3E%3C/svg%3E');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#canvas-container .canvas-container {
    max-width: 100%;
    width: 100% !important;
    height: 100% !important;
    min-height: 300px;
}

#canvas-container #drawing-canvas {
    max-width: 100%;
    width: 100% !important;
    height: 100% !important;
}

#canvas-container .upper-canvas {
    max-width: 100%;
    width: 100% !important;
    height: 100% !important;
}


#canvas_wrap #canvas_area::after {
    content: '';
    position: absolute;
    top: 0px;
    right: 0px;
    width: 10px;
    /* 우측 SVG 너비 */
    height: 10px;
    /* 우측 SVG 높이 */
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 11" fill="none"%3E%3Cline x1="0.5" y1="0" x2="0.5" y2="10" stroke="%23999999"/%3E%3Cline x1="10" y1="10.5" x2="0" y2="10.5" stroke="%23999999"/%3E%3C/svg%3E');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#canvas-container::after {
    content: '';
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 10px;
    /* 우측 SVG 너비 */
    height: 10px;
    /* 우측 SVG 높이 */
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 11" fill="none"%3E%3Cline x1="0.5" y1="0" x2="0.5" y2="10" stroke="%23999999"/%3E%3Cline x1="10" y1="10.5" x2="0" y2="10.5" stroke="%23999999"/%3E%3C/svg%3E');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(90deg);
}

#canvas-container::before {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 10px;
    /* SVG 너비 */
    height: 11px;
    /* SVG 높이 */
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 11" fill="none"%3E%3Cline y1="-0.5" x2="10" y2="-0.5" transform="matrix(-4.37114e-08 1 1 4.37114e-08 10 0)" stroke="%23999999"/%3E%3Cline y1="-0.5" x2="10" y2="-0.5" transform="matrix(1 0 0 -1 0 10)" stroke="%23999999"/%3E%3C/svg%3E');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(270deg);
}



/* 드로잉 캔버스 */
#drawing-canvas {
    width: 100%;
    height: 100%;
    border: 0px;
}

#toggle-draw-btn {
    opacity: .3;
}

#toggle-draw-btn.on {
    opacity: 1;
    background-color: #EFF2F8 !important;
}

/* 미니 편집바 스타일 */
#mini-toolbar {
    position: fixed;
    background: #fff;
    border: 0px;
    padding: 10px 0px;
    border-radius: 10px;
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    max-width: 255px;
    min-width: 255px;
}


#mini-toolbar button {
    background-color: transparent;
    position: relative;
    padding: 0px;
    border: 0px;
    width: 25px;
    height: 25px;
    border-radius: 4px;
    cursor: pointer;
    padding-top: 2px;
}

#mini-toolbar button img {
    width: 18px;
    height: 18px;
}

#mini-toolbar button:hover {
    background-color: #EFF2F8;
}

#mini-toolbar button.on {
    background-color: #EFF2F8 !important;
}


#mini-toolbar input[type="color"] {
    border: none;
    padding: 0;
    margin-left: 5px;
    cursor: pointer;
    width: 20px;
    height: 20px;
}

/* 이미지 툴바 스타일 */
#image-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    background: #fff;
    border: 0px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: none;
    width: 200px;
}

#image-toolbar #move_handle {
    cursor: grab;
    opacity: 0.3;
    position: absolute;
    top: 5px;
    right: 26px;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border-radius: 0px;
    border: 0px;
}

#image-toolbar #move_handle:hover {
    opacity: 0.6
}

#image-toolbar label {
    display: flex;
    align-items: center;
    gap: 5px 5px;
    font-size: 12px;
    margin-bottom: 5px;
}

#image-toolbar label span {}

#image-toolbar ul {}

#image-toolbar span {
    padding: 3px 6px;
    border: none;
    background-color: #F0F5F9;
    color: #374d6e;
    border-radius: 4px;
    font-size: 11px;
    margin-bottom: 0px;
    width: auto%;
}

#image-toolbar h5 {
    color: #888;
    font-weight: normal;
    margin-bottom: 10px;
}

#image-toolbar input[type="range"],
#image-toolbar input[type="number"],
#image-toolbar input[type="color"] {
    cursor: pointer;
}

#shadow-color-picker-btn {
    padding: 0px !important;
    border: 0px !important;
    background-color: transparent !important;
    width: 80px;
    text-align: center;
    margin-top: 3px;
}

#image-toolbar input[type="range"] {
    margin-left: auto;
}

#image-toolbar button {
    padding: 5px 8px;
    border: none;
    background-color: #F0F5F9;
    color: #374d6e;
    cursor: pointer;
    border-radius: 6px;
    font-size: 12px;
    margin-top: 10px;
}

#image-toolbar button:hover {
    background-color: #abb5c5;
}

#merge-cells-btn {
    padding: 5px 8px;
    border: none;
    background-color: #F0F5F9;
    color: #374d6e;
    cursor: pointer;
    border-radius: 6px;
    font-size: 12px;
    margin-top: 0px;
}

#merge-cells-btn:hover {
    background-color: #abb5c5;
}

#unmerge-cells-btn {
    padding: 5px 8px;
    border: none;
    background-color: #F0F5F9;
    color: #374d6e;
    cursor: pointer;
    border-radius: 6px;
    font-size: 12px;
    margin-top: 0px;
}

#unmerge-cells-btn:hover {
    background-color: #abb5c5;
}

#font-size-slider {
    width: 80px;
    margin-left: 5px;
    margin-right: 5px;
}

/* 드래그 앤 드롭 스타일 */
#editor.mode-regular.dragover {
    border: 1px dashed #000;
}

.selected-cell {
    background: #F0F5F9 !important;
}


.sl-gap {
    margin-top: 15px;
    border-top: 1px dashed rgba(0, 0, 0, 0.2);
    padding-top: 15px;
}

.sl-gap-select {
    margin-top: 10px;
}

#reset-effects-btn {
    width: 100% !important;
}

.sl-gap-btn {}

.sl-gap-btn button {
    padding: 5px 5.2px 2px 5.2px !important;
    border-radius: 4px !important;
    background-color: #fff !important;
}

.sl-gap-btn button img {
    width: 17px;
    height: 17px;
}

.sl-gap-btn button:hover {
    background: #F0F5F9 !important;
}

.sl-btm-gap {
    margin-bottom: 5px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
    padding-bottom: 10px;
}

.cb {
    clear: both;
}


#html_wrap {
    background-color: #262e39;
    flex: 1;
    padding: 20px;
    position: relative;
    color: #999;
    box-sizing: border-box;

    scrollbar-width: thin;
    /* Firefox */
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
    /* Firefox */
}

/* Webkit 브라우저 (Chrome, Safari, Edge) */
#html_wrap::-webkit-scrollbar {
    width: 5px;
}

#html_wrap::-webkit-scrollbar-track {
    background: transparent;
}

#html_wrap::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

#html_wrap::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

#html_wrap .html_area {
    min-height: 300px;
    height: auto;
    max-width: 100%;
    margin: 0 auto;
}

#html_wrap #html-view {
    min-height: 300px;
    height: auto;
}

#html_wrap #html-view pre {
    width: 100%;
    min-height: 350px;
    height: auto;
    position: relative;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 13px;
    line-height: 160%;
}

#html_wrap #html-view pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}

#html_wrap #html-view pre:focus {
    outline: none;
}

#html-toolbar .toolbar_help_txt {
    font-size: 12px;
    color: #999;
}

.html-toolbar-container {display: flex; align-items: center; gap:10px;}
.html-tb-df {display: flex; align-items: center; gap:5px;}

#table-font {
    border-radius: 10px;
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.05);
    position: absolute;
    background: #fff;
    border: 0px;
    padding: 10px;
    z-index: 1000;
    border-radius: 10px;
    top: 45px !important;
    left: -13px !important;
    min-width: 130px;
}

#table-font #font-container:before {
    content: '';
    display: block;
    position: absolute;
    width: 16px;
    height: 10px;
    left: 10px;
    top: -20px;
    border: solid transparent;
    border-width: 0 8px 10px 8px;
    border-bottom-color: currentColor;
    box-sizing: border-box;
    color: #fff;
    filter: drop-shadow(0 -4px 3px rgba(0, 0, 0, .1));
}

#font-container a {
    font-size: 12px;
    color: #262e39;
    text-decoration: none;
    padding: 7px 12px 7px 12px;
    border-radius: 6px;
    display: block;
}

#font-container span {
    font-size: 12px;
    padding: 7px 12px 7px 12px;
    border-radius: 6px;
    display: block;
}

#font-container a:hover {
    background-color: #F0F5F9;
}

#font-container ul {
    padding: 7px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    border-radius: 6px;
    display: flex;
    gap: 0 3px;
    align-items: center;
}

#font-container ul button {
    width: 25px;
    height: 25px;
}

#font-container ul button img {
    width: 18px;
}

.sub-menus {
    border-radius: 10px;
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.05);
    position: absolute;
    background: #fff;
    border: 0px;
    padding: 10px;
    z-index: 1000;
    border-radius: 10px;
    top: 45px !important;
    left: -10px !important;
    min-width: 130px;
    z-index: 1001;
}

.sub-menus .sub-menus-wrap:before {
    content: '';
    display: block;
    position: absolute;
    width: 16px;
    height: 10px;
    left: 10px;
    top: -20px;
    border: solid transparent;
    border-width: 0 8px 10px 8px;
    border-bottom-color: currentColor;
    box-sizing: border-box;
    color: #fff;
    filter: drop-shadow(0 -4px 3px rgba(0, 0, 0, .05));
}

.sub-menus .sub-menus-wrap a {
    font-size: 12px;
    color: #262e39;
    text-decoration: none;
    padding: 7px 12px 7px 12px;
    border-radius: 6px;
    display: block;
    position: relative;
}

.sub-menus .sub-menus-wrap a:hover {
    background-color: #F0F5F9;
}

.sub-menus .sub-menus-wrap span {
    color: #999;
    font-size: 11px;
    display: block;
}

.sub-menus .sub-menus-wrap span:last-child {
    border-top: 1px dashed #ddd;
    margin-top: 0px;
    padding-top: 10px;
}

.sub-menus .sub-menus-wrap ul {
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 10px;
    border-radius: 6px;
    opacity: 0.7
}

.help-wrap {
    padding: 10px;
    user-select: none;
    /* 모든 브라우저에서 텍스트 선택 방지 */
    -webkit-user-select: none;
    /* 크롬, 사파리 */
    -moz-user-select: none;
    /* 파이어폭스 */
    -ms-user-select: none;
    /* IE, Edge */
}

.help-wrap-inner {
    border: 1px dashed #aa20ff;
    padding: 20px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 160%;
    word-break: keep-all;
    color: #888;
}

.help-wrap-inner-li {
    color: #262e39;
    margin-top: 15px;
    font-size: 13px;
    line-height: 150%;
}

.help-wrap-inner-li ul {
    padding-left: 15px;
}

.help-wrap-inner-li ul li {
    list-style: disc;
}

/* 스티커 { */
#sticker_wrap {
    padding: 10px;
    background-color: #fff;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    height: 200px;
    position: relative;
    display: none;
}

#sticker_inner {
    position: relative;
    padding: 10px;
    padding-top: 0px;

}

#sticker_folders {
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    gap: 5px 5px;
    flex-direction: row;
    flex-wrap: wrap;
    position: sticky;
    top: -10px;
    z-index: 9;
    margin-bottom: 10px;
}

#sticker_folders a {
    color: #09244B;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 6px;
    background-color: #fff;
}

#sticker_folders a:hover {
    background-color: #F0F5F9;
}

#sticker_folders a.on {
    background-color: #F0F5F9;
}

#sticker_wrap_inp {
    font-size: 12px;
    color: #999;
}

.loadingOverlay_inner {
    position: absolute !important;
}

#sticker_list img:hover {
    border-color: #09244B
}

#sticker_list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 8px;
    position: relative;
}

.sticker-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    /* 정사각형 유지 */
    display: flex;
    justify-content: center;
    align-items: center;
}

.sticker-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px dashed rgba(0, 0, 0, 0.1);
    cursor: pointer;
    border-radius: 10px;
}

/* } */


/* 앵커 { */
#anchor-wrap {
    position: absolute;
    background: #fff;
    border: 0px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.05);
    z-index: 9999999;
    width: 250px;
    display: none;
    top: 50px;
    right: 50px;
    max-height: 350px;
    overflow-y: auto;
    
    
}

#anchor-wrap #move_handle {
    cursor: grab;
    opacity: 0.3;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border-radius: 0px;
    border: 0px;
}

#anchor-wrap #move_handle:hover {
    opacity: 0.6
}

#anchor-wrap h4 {
    margin-bottom: 10px;
}

#anchor-wrap .children {
    margin-left: 0px;
}

#anchor-wrap .ghost {
    opacity: 0.4;
}

#anchor-wrap label {
    color: #999;
    font-size: 12px;
    line-height: 140%;
    margin-bottom: 15px;
    display: block;
    letter-spacing: -0.5px;
}

.anchor-node {
    display: flex;
    align-items: center;
    border: 1px dashed rgba(0, 0, 0, 0.1);
    padding: 8px;
    margin: 5px 0;
    background: #fff;
    border-radius: 6px;
    gap: 0 5px;
    justify-items: center;
    pointer-events: auto;
}

.anchor-node .title {
    padding: 4px;
    border: none;
    background: transparent;
    outline: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 80%;
    margin-right: auto;
    font-size: 12px;
}

.anchor-node .handle {
    cursor: grab;
    user-select: none;
    margin-left: auto;
    height: 22px;
    width: 22px;
    text-align: center;
    background-image: url('../image/svg/menu-btn.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    ;
}

.anchor-node .delete-btn {
    cursor: pointer;
    height: 22px;
    width: 22px;
    text-align: center;
    background-image: url('../image/svg/close_btn.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
}

.anchor-node button {
    cursor: pointer;
    height: 22px;
    width: 22px;
    text-align: center;
    background-image: url('../image/svg/plus-btn.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    border: 0px;
    border-radius: 4px;
}

#editor .rb_anchor {
    background-color: rgba(170, 32, 255, 0.2);
    display: block;
    width: 100%;
    font-size: 9px;
    padding: 3px;
    border-radius: 3px;
    color: #fff;
    margin-top: 10px;
    margin-bottom: 10px;
    user-select: none;
    pointer-events: none;
}

#anchor-wrap #anchor_add_btn {
    padding: 12px 12px;
    border: none;
    background-color: #F0F5F9;
    color: #374d6e;
    cursor: pointer;
    border-radius: 6px;
    font-size: 12px;
    margin-top: 0px;
    width: 100%;
}

#anchor-wrap #anchor_close_btn {
    padding: 12px 12px;
    border: none;
    background-color: transparent;
    border: 1px solid #ddd;
    color: #374d6e;
    cursor: pointer;
    border-radius: 6px;
    font-size: 12px;
    margin-top: 5px;
    width: 100%;
}

/* } */





/* AI { */
#ai_wrap {
    padding: 10px;
    background-color: #fff;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    display: none;
}

#prompt_wrap {
    position: relative;
    padding: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 15px;
}

#prompt_wrap .prompt_wrap_inp {
    flex: 0 0 100%;
    width: 100%;
}

#prompt {
    min-height: 70px;
    color: #09244B;
    font-size: 13px;
    border-radius: 6px;
    width: 100%;
    padding: 15px;
    margin-top: 10px;
    resize: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

#prompt:focus {
    border: 1px solid rgba(0, 0, 0, 0.2);
}

#prompt:focus,
#generateBtn:focus {
    outline: none;
}

#generateBtn {
    display: inline-block;
    cursor: pointer;
    border: 0;
    background-color: #09244B;
    color: #fff;
    font-size: 12px;
    padding: 0px 10px;
    height: 28px;
    border-radius: 6px;
    vertical-align: bottom;
}

#result {
    margin-top: 5px;
    font-size: 12px;
    color: #f55036;
}

#generateBtn:hover {
    background-color: #09244B;
    color: #fff;
}

.loadingOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: none;
}

.loadingOverlay2 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: none;
}

.loadingOverlay3 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: none;
}

.switch_rb {
    position: relative;
    display: inline-block;
    height: 28px;
    width: 50px;
    text-align: center;
    box-sizing: border-box;
}

.switch_rb input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* input 숨김 */
.tog_txt {
    display: block;
    font-size: 12px !important;
}

.toggle_btn {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
    padding-top: 0px;
    border-radius: 6px;
    line-height: 28px;
}

.toggle_btn_t1 {
    border-right: 0px !important;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.toggle_btn_t2 {
    border-left: 0px !important;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    margin-left: -4px;
}

.switch_rb input:checked + .toggle_btn {
    opacity: 1;
    background-color: #09244B;
    color: #fff;
}

#editor-ui #color-btn {
    margin-right: -2px;
}

#editor-ui #background-color-btn {
    margin-right: -2px;
}

/* 활성화시 */

input[type="checkbox"] {
    position: absolute;
    display: none;
}

input[type="checkbox"] + label {
    position: relative;
    padding-left: 27px;
    cursor: pointer;
    vertical-align: middle;
    font-size: 12px;
    margin-top: 0px;
}

input[type="checkbox"] + label:hover:before {
    animation-duration: 0.4s;
    animation-fill-mode: both;
    animation-name: hover-color;
}

input[type="checkbox"] + label:before {
    position: absolute;
    top: -3px;
    left: 0;
    display: inline-block;
    width: 20px;
    height: 20px;
    content: '';
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
}

input[type="checkbox"] + label:after {
    position: absolute;
    display: none;
    content: '';
}

input[type="checkbox"][disabled] + label {
    cursor: not-allowed;
}

input[type="checkbox"][disabled] + label:hover,
input[type="checkbox"][disabled] + label:before,
input[type="checkbox"][disabled] + label:after {
    cursor: not-allowed;
}

input[type="checkbox"][disabled] + label:hover:before {
    animation-name: none;
}

input[type="checkbox"]:checked + label:before {
    animation-name: none;
}

input[type="checkbox"]:checked + label:after {
    display: block;
}

input[type="checkbox"] + label:after {
    top: 1px;
    left: 8px;
    box-sizing: border-box;
    width: 6px;
    height: 10px;
    transform: rotate(45deg);
    border-width: 1.7px;
    border-style: solid;
    border-color: #09244B;
    border-top: 0;
    border-left: 0;
}


input[type="checkbox"]:checked + label:before {
    border: 1px solid #09244B;
    background: #fff;
}

input[type="checkbox"]:checked[disabled] + label:before {
    border: 1px solid #ddd;
    background: #fff;
}

.prompt_wrap_chk_inner {
    display: inline-block;
    vertical-align: bottom;
    padding-bottom: 5px;
}

.prompt_wrap_chk {}


.spinner {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(0, 0, 0, .1);
    border-radius: 50%;
    border-top-color: #09244B;
    animation: spin 0.3s ease-in-out infinite;
    -webkit-animation: spin 0.3s ease-in-out infinite;
    left: 50%;
    margin-left: -15px; /* width의 절반으로 중앙 정렬 */
    /* top은 JavaScript로 동적 설정 */
}

.spinner2 {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, .1);
    /* 컬러 */
    border-radius: 50%;
    border-top-color: #09244B;
    /* 컬러 */
    animation: spin 0.3s ease-in-out infinite;
    -webkit-animation: spin 0.3s ease-in-out infinite;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: .5;
}

.spinner3 {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, .1);
    /* 컬러 */
    border-radius: 50%;
    border-top-color: #09244B;
    /* 컬러 */
    animation: spin 0.3s ease-in-out infinite;
    -webkit-animation: spin 0.3s ease-in-out infinite;
    margin: auto;
    top: 50px;
    left: 0;
    right: 0;
    opacity: .5;
}

@keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

.cb {
    clear: both;
}

/* } */

.rb_editor_table_wrap {
    position: relative;
}

td .resizable_wrap,
th .resizable_wrap {
    max-width: 100%;
}

#rb-inline-set {
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

#rb-link-set {
    display: none;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 10px 10px 0px 10px;
    margin-top: 8px;
}

#rb-link-set-inner {
    display: flex;
    flex-wrap: nowrap;
    gap: 0 5px;
    position: relative;
}

#rb-link-inp {
    white-space: nowrap;
    overflow: hidden;
    padding: 5px 10px;
    width: 55%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    font-size: 12px;
    color: #09244B;
    height: 25px !important;
    max-width: 160px;
}

#rb-link-blanks-wrap {
    width: 30%;
}

#rb-link-btn {
    width: 15% !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 14px;
    color: #09244B;
    height: 25px !important;
    background-color: #F0F5F9 !important;
    padding-top: 0px !important;
    font-size: 12px;
    margin-left: auto;
}

#rb-link-inp:focus {
    outline: none;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

#rb-image-link-set {
    display: none;
    border-top: 0px;
    padding: 0px;
    margin-top: 3px;
}

#rb-image-link-set-inner {
    margin-bottom: 5px;
    position: relative;
}

#rb-image-link-set-inner2 {
    display: flex;
    flex-wrap: nowrap;
    gap: 0 5px;
    align-items: center;
    justify-items: center;
}

#rb-image-link-inp {
    white-space: nowrap;
    overflow: hidden;
    padding: 5px 20px 5px 10px;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    font-size: 12px;
    color: #09244B;
    height: 25px !important;
    max-width: 160px;
}

#rb-image-link-blanks-wrap {
    margin-right: auto;
}

#rb-image-link-blanks-wrap label {
    margin-bottom: 2px !important;
}

#rb-image-link-btn {
    width: 30% !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 14px;
    color: #09244B;
    height: 25px !important;
    background-color: #F0F5F9 !important;
    padding-top: 3px !important;
    font-size: 12px;
    margin-left: auto;
    margin-top: 0px !important;
}

#rb-image-link-inp:focus {
    outline: none;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.sl-gap-btn button {
    font-size: 0;
}

#image-toolbar button.on {
    background-color: #F0F5F9 !important
}

#mini-image-link-del-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: transparent !important;
    padding: 0px !important;
    margin-top: 0px !important;
}

#mini-image-link-del-btn img {
    width: 15px;
    height: 15px;
}

#mini-link-del-btn {
    position: absolute;
    top: 2px;
    right: 3px;
    background-color: transparent !important;
    padding: 0px !important;
    margin-top: 0px !important;
}

#mini-link-del-btn img {
    width: 15px;
    height: 15px;
}

.rb-editor-hr {
    border-color: rgba(0, 0, 0, 0.1);
}

.highlight-selection {
    background-color: rgba(255, 235, 59, 0.5);
    /* 연한 노란색 */
    padding: 2px;
    border-radius: 2px;
}

#editor a {
    color: inherit !important;
}

#prompt_ai_img {
    height: 20px;
    margin-left: auto;
}

/* 태그 { */
#rb-tag-popup {
    position: fixed;
    background: #fff;
    border: 0px;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    width: 255px;
    max-Height: 300px;
    overflow-y: auto;
    box-sizing: border-box;
    min-height: 300px;
}

#rb-tag-popup #rb-tag-search {
    background-color: #F0F5F9 !important;
    padding-left: 10px;
    padding-right: 10px;
    border: 0px;
    background: url(../image/svg/search-btn.svg) no-repeat right 10px center;
    border-radius: 4px;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 13px;
    color: #374d6e;
    margin: 0px;
    height: 35px;
    width: 100%;
    outline: none;
    white-space: nowrap;
    overflow: hidden;
    color: #09244B;
    border: 0px !important;
    position: sticky;
    top: 0px;
    z-index: 9;
}

#rb-tag-popup h4 {
    display: block;
    margin-bottom: 10px;
}

#rb-tag-popup .rb_tag_chk {
    position: absolute;
    top: 15px;
    right: 15px;
}

.rb_tag {
    margin-top: -2px;
    display: inline-block;
    margin-bottom: 5px;
    vertical-align: top;
    max-width: 100%;
    width: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
}

.rb_tag a {
    border-bottom: 0px !important;
    text-decoration: none !important;
    border-bottom: 0px !important;
    padding: 5px 10px 5px 10px;
    border-radius: 40px;
    font-size: 12px;
    background-color: #F0F5F9;
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.rb_tag a:hover {
    background-color: #e6e9ef;
}

#rb-tag-popup #rb-tag-search:focus {
    border: 1px solid rgba(0, 0, 0, 0.2);
}

#rb-tag-list {
    position: relative;
    height: 100%;
}

#rb-tag-list .rb-tag-item {
    position: relative;
    cursor: pointer;
    padding: 10px 0px;
    border-radius: 0px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0.6
}

#rb-tag-list .rb-tag-item:hover {
    opacity: 1;
}

#rb-tag-list .rb-tag-item .rb_tag_tit {
    font-size: 12px;
    color: #09244B;
    margin-bottom: 4px;
}

#rb-tag-list .rb-tag-item .rb_tag_date {
    font-size: 11px;
    color: #777
}

#rb-tag-list .rb-tag-item .rb_tag_bbs {
    font-size: 11px;
    color: #999
}

#rb-tag-list .rb-tag-item.info {
    background-color: transparent !important;
    font-size: 12px;
    color: #999;
    padding: 0px;
    margin-top: 10px;
    font-size: 11px;
    padding-bottom: 10px;
    opacity: 1
}

#rb-tag-list .rb-tag-item.no-result {
    font-size: 12px;
    color: #999;
    text-align: center;
    opacity: 1
}

#rb-tag-list .rb-tag-item.info:hover {
    background-color: transparent !important;
}

#rb-tag-list .rb-tag-item dd {
    width: 70%;
}

#rb-tag-list .rb-tag-item img {
    position: absolute;
    top: 15px;
    right: 0px;
    border-radius: 6px;
    width: 42px;
    height: 42px;
    object-fit: cover;
}

#rb-tag-popup #move_tag_btn {
    cursor: grab;
    opacity: 0.3;
    position: absolute;
    top: 5px;
    right: 26px;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border-radius: 0px;
    border: 0px;
    padding: 5px 8px;
    border: none;
    background-color: #F0F5F9;
    color: #374d6e;
    cursor: pointer;
    border-radius: 6px;
    font-size: 12px;
    margin-top: 10px;
}


.cut {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    display: block;
}

/* } */


.pc {}

.mobile {
    display: none;
}

.rb-drawing-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}


#drawing-toolbar {
    position: fixed;
    background: #fff;
    border: 0px;
    padding: 10px 10px;
    border-radius: 10px;
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}


#drawing-toolbar button {
    background-color: transparent;
    position: relative;
    padding: 0px;
    border: 0px;
    width: 25px;
    height: 25px;
    border-radius: 4px;
    cursor: pointer;
    padding-top: 2px;
}

#drawing-toolbar button img {
    width: 18px;
    height: 18px;
}

#drawing-toolbar button:hover {
    background-color: #EFF2F8;
}

#drawing-toolbar button.on {
    background-color: #EFF2F8 !important;
}

#drawing-color-wrapper .clr-field button {
    display: none !important;
    content: none !important;
}

#drawing-color-wrapper .clr-picker {
    bottom: 100% !important;
    top: auto !important;
    margin-bottom: 20px !important;
}

#drawing-color-wrapper #drawing-color-btn svg {
    width: 15px;
    height: 15px;
    line-height: 27px;
}

#drawing-color-wrapper .clr-swatches button {
    border-radius: 50% !important;
}

#drawing-color-wrapper .clr-picker.clr-polaroid:before {
    content: '';
    display: block;
    position: absolute;
    width: 16px;
    height: 10px;
    left: 19px;
    top: auto;
    bottom: -10px;
    border: solid transparent;
    border-width: 0 8px 10px 8px;
    border-bottom-color: currentColor;
    box-sizing: border-box;
    color: #fff;
    filter: drop-shadow(0 -4px 3px rgba(0, 0, 0, .1));
    pointer-events: none;
    transform: rotate(180deg) !important;
}

#drawing-line-width-slider {
    width: 60px;
}

/* 툴바 컨테이너 */
.drawing-toolbar-container {
    display: flex;
    align-items: center;
    gap: 5px 10px;
    flex-direction: row;
    flex-wrap: wrap;
}

/* 툴바 버튼 */
.drawing-tool-btn {
    width: 25px;
    height: 25px;
    border: 0px;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    padding: 0;
}

.drawing-tool-btn svg {
    width: 16px;
    height: 16px;
}

.drawing-tool-btn:hover {
    background: #f5f5f5;
}

.drawing-tool-btn.active {
    background: #f5f5f5;
}

.drawing-tool-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* 툴바 구분선 */
.toolbar-divider {
    width: 2px;
    height: 10px;
    background: #ddd;
    margin: 0 5px;
}

/* 캔버스 컨테이너 */
#drawing-canvas-container {
    cursor: crosshair;
    height: auto !important;
}

/* 드로잉 데이터 숨김 */
.rb-drawing-data {
    display: none !important;
}


#drawing-canvas-container {
    margin: 0 auto;
    background: white;
    position: relative;
    cursor: crosshair;
}

.edit_mode_btn {
    margin-left: auto;
    display: flex;
    gap: 10px;
    align-items: center;
}

.edit_mode_btn button {
    border: 0px;
    border-radius: 6px;
    height: 25px;
    width: 25px;
    background-color: transparent;
    cursor: pointer !important;
}

.edit_mode_btn button svg {
    width: 18px;
    height: 18px;
}

.edit_mode_btn button:hover {
    background-color: #f0f5f9;
}

#toolbar button svg {
    width: 18px;
    height: 18px;
}

#drawing-canvas-container::after {
    content: '';
    position: absolute;
    bottom: -9px;
    right: -10px;
    width: 10px;
    /* 우측 SVG 너비 */
    height: 10px;
    /* 우측 SVG 높이 */
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 11" fill="none"%3E%3Cline x1="0.5" y1="0" x2="0.5" y2="10" stroke="%23999999"/%3E%3Cline x1="10" y1="10.5" x2="0" y2="10.5" stroke="%23999999"/%3E%3C/svg%3E');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(90deg);
}

#drawing-canvas-container::before {
    content: '';
    position: absolute;
    bottom: -9px;
    left: -10px;
    width: 10px;
    /* SVG 너비 */
    height: 10px;
    /* SVG 높이 */
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 11" fill="none"%3E%3Cline y1="-0.5" x2="10" y2="-0.5" transform="matrix(-4.37114e-08 1 1 4.37114e-08 10 0)" stroke="%23999999"/%3E%3Cline y1="-0.5" x2="10" y2="-0.5" transform="matrix(1 0 0 -1 0 10)" stroke="%23999999"/%3E%3C/svg%3E');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(270deg);
}

#drawing-canvas-container {
    max-width: 100%;
}

#drawing-canvas-container .konvajs-content {
    max-width: 100%;
    height: auto !important;
    width: 100% !important;
}

#drawing-canvas-container .konvajs-content canvas {
    max-width: 100%;
    position: inherit !important;
}

/* 환경설정 모달 - Claude 스타일 */
#config-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999999;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
}

#config-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

#config-panel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    background: #f0f5f9;
}


#config-sidebar {
    width: 220px;
    background: #f0f5f9;
    display: flex;
    flex-direction: column;
}

#config-sidebar h2 {
    margin: 0;
    padding: 20px 20px 16px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #09244B;
}

#config-menu {
    flex: 1;
    padding: 0px 0;
    overflow-y: auto;
}

.config-menu-item {
    display: flex;
    align-items: center;
    padding: 10px 10px;
    margin: 2px 10px;
    color: #09244B;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: all 0.15s ease;
    border-radius: 6px;
}

.config-menu-item:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #09244B;
}

.config-menu-item.active {
    background: rgba(0, 0, 0, 0.05);
    color: #09244B;
}

/* 우측 컨텐츠 영역 - 밝은 톤 */
#config-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    overflow: hidden;
}

.config-section {
    flex: 1;
    overflow-y: auto;
    padding: 20px 20px;
    padding-top: 22px;
}

.config-section h3 {
    margin: 0 0 0 0;
    padding: 0;
    font-size: 14px;
    font-weight: normal;
    color: #999;
    border: none;
}

/* 메뉴 설정 리스트 */
#menu-settings {
    display: block;
    padding: 20px 0 0 0;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.menu-item:hover {
    background: transparent;
}

.menu-item > span {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 20px;
    word-break: keep-all;
}

.menu-item > span::before {
    content: attr(data-label) !important;
    font-size: 14px;
    font-weight: bold;
    color: #09244B;
}

.menu-item > span::after {
    content: attr(data-desc);
    font-size: 11px;
    color: #999;
}

/* 토글 스위치 - 작은 사이즈 */
.toggle-switch {
    position: relative;
    width: 32px;
    height: 18px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #d1d1d1;
    border-radius: 18px;
    transition: all 0.25s ease;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    border-radius: 50%;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
    background: #09244B;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(14px);
}

.toggle-switch:hover .toggle-slider {
    background-color: #c0c0c0;
}

.toggle-switch input:checked:hover + .toggle-slider {
    background: #09244B;
}

/* 버튼 영역 */
.config-buttons {
    padding: 20px 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    border-top: 1px solid #e8e8e8;
    background: #ffffff;
}

.config-buttons button {
    padding: 9px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s ease;
    min-width: 70px;
}

.config-buttons button:first-child {
    background: #09244B;
    color: white;
}

.config-buttons button:first-child:hover {
    background: #09244B;
}

.config-buttons button:last-child {
    background: #e8e8e8;
    color: #1a1a1a;
}

.config-buttons button:last-child:hover {
    background: #d8d8d8;
}


/* 툴바 전체 로드 전 숨김 */
#toolbar:not([data-config-loaded]) {
    visibility: hidden;
}

#toolbar[data-config-loaded] {
    visibility: visible;
}

/* 설정 로드 전 기본 숨김 처리 */
#cv-mode-btn:not([data-config-loaded]),
#html-mode-btn:not([data-config-loaded]) {
    display: none !important;
}

#html-search-inp {border-radius: 6px; background-color: #f0f5f9; border:0px; padding: 0px 10px; height: 30px; font-size: 12px; width: 200px;}
#html-search-inp:focus {outline:none;}

/* 지도 */
#map-wrap #map_move_handle {
    cursor: grab;
    opacity: 0.3;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border-radius: 0px;
    border: 0px;
}

#map-wrap #map_move_handle:hover {
    opacity: 0.6
}

#map-wrap h4 {
    margin-bottom: 10px;
}

#map-search-wrap {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

#map-search-btn {
    padding: 8px 16px;
    color: #09244B;
    background-color: #f0f5f9;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

#map-info {
    padding: 0px;
    background-color: transparent;
}


.map-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.map-card-address {
    font-size: 14px;
    color: #333;
    margin: 5px 0;
}

.map-card-link {
    color: #09244B;
    text-decoration: none;
    font-size: 12px;
}

#map-places-list {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
}

#placesList {
    list-style: none;
    padding: 0;
    margin: 0;
}

#placesList li {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: flex-start;
}

#placesList li:hover {
    background: #f0f5f9;
}

#placesList li:last-child {
    border-bottom: none;
}

.place-item-title {
    font-weight: bold;
    font-size: 13px;
    color: #333;
    margin-bottom: 2px;
}

.place-item-address {
    font-size: 11px;
    color: #666;
}

.place-item-road {
    font-size: 12px;
    color: #999;
}

.map-card {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 10px 0;
    background: #fff;
    cursor: pointer;
    max-width: 400px;
}


.map-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-card.editing {
    box-shadow: 0 0 0 2px #09244B;
}

.map-card-edit-btn {
    position: absolute;
    bottom: 0px;
    right: 0px;
    padding: 5px 16px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 100;
    pointer-events: auto;
}

.map-card:hover .map-card-edit-btn {
    opacity: 1;
}

.map-card-edit-btn:hover {
    background: #fff;
    border-color: #999;
}

.map-static-container {
    pointer-events: none;
}

.map-card-memo {
    background-color: #f0f5f9;
    padding: 15px;
    border-radius: 6px;
    font-size: 13px;
    word-break: keep-all;
}

.map-card-time {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}


#selectedPlacesList {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 150px;
    overflow-y: auto;
}

#selectedPlacesList li {
    padding: 8px;
    margin-bottom: 5px;
    background: #fff;
    border: 0px;
    border-radius: 6px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#selectedPlacesList li:last-child {
    margin-bottom: 0;
}


.selected-place-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.selected-place-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    background: #09244B;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}


.selected-place-remove:hover {
    background: #f0f5f8;
}

#clear-places-btn {
    font-size: 11px;
    padding: 3px 5px;
    background: #fff;
    border: 0px;
    border-radius: 4px;
    cursor: pointer;
}

#clear-places-btn:hover {
    background: #f0f0f0;
}

.selected-place-remove {
    padding: 4px;
    width: 22px;
    height: 22px;
    background-color: transparent;
    color: #000;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.selected-place-info > div {
    flex: 1;
    min-width: 0;
}

.selected-place-info strong {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 0px;
}

.selected-place-info span:not(.selected-place-number) {
    display: block;
    color: #999;
    font-size: 11px;
}

.selected-place-remove svg {
    pointer-events: none;
}

.map-places-list {
    margin: 10px 0;
}

#map-wrap {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

#map-wrap * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* input, textarea는 선택 가능하게 */
#map-wrap input,
#map-wrap textarea {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    font-size: 12px;
    padding: 8px;
}

.map-place-item {
    display: flex;
    align-items: flex-start;
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    gap: 12px;
}

.map-place-item:last-child {
    border-bottom: none;
}

.map-place-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    background: #09244B;
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
    font-weight: bold;
    flex-shrink: 0;
}

.map-place-info {
    flex: 1;
    min-width: 0;
}

.map-place-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.4;
}

.map-place-address {
    display: block;
    font-size: 12px;
    color: #999;
    line-height: 1.4;
}

.map-places-list {
    margin-top: 12px;
}

.map-card * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* 지도 검색 영역 */
#map-search-wrap {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

#map-search-input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

#map-search-input:focus {
    outline: none;
}

/* 검색 결과 목록 */
#map-places-list {
    max-height: 100px;
    overflow-y: auto;
    margin: 10px 0;
    display: none;
}

/* 선택된 장소 목록 */
#selected-places-wrap {
    display: none;
    margin: 10px 0;
    padding: 10px;
    background: #f0f5f9;
    border-radius: 6px;
}

#selected-places-wrap > div:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

#selected-places-wrap strong {
    font-size: 13px;
}

#clear-places-btn {
    font-size: 11px;
    padding: 3px 8px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
}

#clear-places-btn:hover {
    background: #f0f0f0;
}

#selectedPlacesList {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 150px;
    overflow-y: auto;
}

/* 지도 미리보기 */
#map-preview {
    width: 100%;
    height: 100px;
    margin: 10px 0;
    border-radius: 6px;
}

#selectedPlacesList {
    list-style: none;
    padding: 0;
    margin: 0;
}

#selectedPlacesList > li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
}

#selectedPlacesList > li:last-child {
    border-bottom: none;
}

.selected-place-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
}

.selected-place-info > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}


.selected-place-info span:not(.selected-place-number) {
    font-size: 11px;
    color: #999;
}

.selected-place-remove {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 4px;
}

.selected-place-remove:hover {
    color: #333;
}

/* 지도 정보 입력 영역 */
#map-info {
    display: none;
}

#map-info > div {
    margin-top: 10px;
}

#map-info label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

#map-memo {
    width: 100%;
    height: 60px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    resize: none;
    font-size: 12px;
}

#map-memo:focus {
    outline: none;
}

#map-size-select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.map-card-wrapper {
    display: block;
    margin: 10px 0;
    outline: none;
}

.map-card-wrapper:focus {
    outline: none;
}

.rb_f_pop_add_btn {
    padding: 12px 12px;
    border: none;
    background-color: #F0F5F9;
    color: #374d6e;
    cursor: pointer;
    border-radius: 6px;
    font-size: 12px;
    margin-top: 0px;
    width: 100%;
}

.rb_f_pop_cl_btn {
    padding: 12px 12px;
    background-color: transparent;
    border: 1px solid #ddd;
    color: #374d6e;
    cursor: pointer;
    border-radius: 6px;
    font-size: 12px;
    margin-top: 5px;
    width: 100%;
}

.rb_f_pop_wrap {
    position: absolute;
    background: #fff;
    border: 0px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.05);
    z-index: 9999999;
    width: 300px;
    display: none;
    top: 50px;
    right: 50px;
    max-height: 400px;
    overflow-y: auto;
}


#date-wrap #date_move_handle {
    cursor: grab;
    opacity: 0.3;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border-radius: 0px;
    border: 0px;
}

#date-wrap #date_move_handle:hover {
    opacity: 0.6
}

#date-wrap h4 {
    margin-bottom: 10px;
}

#date-wrap {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

#date-wrap * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* input, textarea는 선택 가능하게 */
#date-wrap input,
#date-wrap textarea {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    resize: none;
}

#date-wrap textarea {
    width: 100%;
    height: 60px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    resize: none;
    font-size: 12px;
}

#date-wrap input {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 100%;
    font-size: 12px;
}

#date-wrap input:focus {
    outline: none;
}

#date-form-wrap {
    padding: 0px 0;
}

.date-input-group {
    margin-bottom: 5px;
}

.date-input-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-size: 12px;
}

.date-input-group input[type="date"],
.date-input-group input[type="time"] {
    width: 100%;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 12px;
}

.date-input-group input[type="date"]:focus,
.date-input-group input[type="time"]:focus,
.date-input-group textarea:focus {
    outline: none;
}

.rb-date-card-wrapper {
    display: block;
    margin: 10px 0;
    outline: none;
}

.rb-date-card-wrapper:focus {
    outline: none;
}

/* 일정 카드 디자인 */
.rb-date-card {
    display: block;
    max-width: 400px;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: visible;
    cursor: default;
    position: relative;
    padding: 20px;
}

.rb-date-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.rb-date-card.editing {
    outline: 2px solid #09244B;
}

/* 편집 버튼 */
.date-card-edit-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    padding: 5px 16px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 100;
    pointer-events: auto;
}

.rb-date-card:hover .date-card-edit-btn {
    opacity: 1;
    visibility: visible;
}

.date-card-edit-btn:hover {
    background: #fff;
    border-color: #999;
}

/* 헤더 영역 */
.rb-date-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.rb-date-card-left {
    flex: 1;
}

.rb-date-card-title {
    font-size: 18px;
    font-weight: bold;
    color: #09244B;
    flex: 1;
}

.rb-date-card-day {
    text-align: right;
    flex-shrink: 0;
    margin-left: 20px;
}

.rb-date-card-month {
    font-size: 14px;
    color: #666;
    margin-bottom: 2px;
    text-align: center;
}

.rb-date-card-day .rb-date-card-date {
    font-size: 32px;
    font-weight: bold;
    color: #09244B;
    line-height: 100% !important;
}

/* 내용 영역 */
.rb-date-card-content {
    font-size: 13px;
    color: #666;
}

.rb-date-card-datetime {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-top: 8px;
}

.rb-date-card-content .rb-date-card-link-btn {
    display: inline-block;
    font-family: 'font-B';
    color: #09244B !important;
    text-decoration: none !important;
    font-size: 14px;
    border: 0px !important;
    padding: 8px 15px;
    border: 1px solid #ddd !important;
    border-radius: 6px;
}

.rb-date-card-content .rb-date-card-link-btn:hover {
    border-color: #09244B !important;
}


.rb-date-card-memo {
    padding: 15px;
    background: #f0f5f9;
    border-radius: 6px;
    line-height: 1.4;
    margin-top: 10px;
}

/* 폼 레이아웃 */
.date-input-row {
    display: flex;
    gap: 5px;
    margin-bottom: 5px;
}

.date-input-row .date-input-group {
    flex: 1;
    margin-bottom: 0;
}




/* API 설정 스타일 */
#api-usage-container {
    padding: 20px 0;
}

.api-section-title {
    font-size: 16px;
    font-weight: bold;
    color: #09244B;
    margin: 40px 0 20px 0;
}

.api-section-title:first-child {
    margin-top: 0;
}

.api-usage-stats {
    margin-bottom: 20px;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.api-usage-stats h4 {
    margin: 0 0 15px 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.api-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.api-stat-item {
    padding: 20px;
    background: #f0f5f9;
    border-radius: 10px;
    text-align: center;
}

.api-stat-label {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 8px;
    font-weight: 500;
    word-break: keep-all;
}

.api-stat-value {
    font-size: 22px;
    font-weight: bold;
    line-height: 1;
}

.api-stat-value.today {
    color: #09244B;
}

.api-stat-value.remaining {
    color: #28a745;
}

.api-stat-value.total {
    color: #6c757d;
}

.api-limit-setting {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 40px;
    row-gap: 3px;
    padding: 10px 0;
}

.api-limit-setting:last-of-type {
    border-bottom: none;
}

.api-limit-setting label {
    grid-column: 1;
    grid-row: 1;
    display: block;
    margin: 0;
    font-weight: 600;
    font-size: 14px;
    color: #09244B;
    word-break: keep-all;
}

.api-limit-desc {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    font-size: 12px;
    color: #999;
    line-height: 1.4;
    word-break: keep-all;
}

.api-limit-desc a {
    margin-top: 10px;
    display: block;
}

.api-limit-input-group {
    grid-column: 2;
    grid-row: 1 / 3;
    display: flex;
    gap: 8px;
    align-items: center;
    align-self: center;
}

.api-reset-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.api-reset-btn {
    padding: 10px 20px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}

.api-reset-btn2 {
    padding: 10px 20px;
    background: #f0f5f9;
    color: #09244B;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}

.api-post-generation {
    margin-top: 20px;
    padding: 20px 20px;
    text-align: left;
    background: #f0f5f9;
    border-radius: 10px;
    margin-top: 20px;
}

.api-post-generation p {
    color: #09244B !important;
    font-size: 13px !important;
    word-break: keep-all;
    opacity: 0.6
}

.api-post-generation .api-limit-desc {
    color: #adb5bd;
    font-size: 14px;
}


/* AI 교정 포인트 표시 */
.rb-ai-pp {
    display: inline-block !important;
    margin-left: 5px;
    color: #fff !important;
    font-family: 'font-B';
    font-size: 11px;
    border-top: 0px !important;
    padding-top: 0px !important;
    background-color: #bbb;
    border-radius: 20px;
    padding: 2px 5px;
}

/* 비활성화된 메뉴 */
.ai-correction-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* 커스텀 모달 */
.rb-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 99999999;
    /* flex 관련 속성 제거 */
}
.rb-modal-overlay.active {
    display: block; /* flex에서 block으로 변경 */
}
.rb-modal-box {
    background: white;
    border-radius: 8px;
    padding: 0;
    width: 350px;
    margin: 0 auto; /* 좌우 중앙 정렬 */
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.05);
    animation: modalSlideIn 0.2s ease;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}


#config-modal input,
#config-modal textarea,
#config-modal select {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

#config-modal input,
#config-modal textarea,
#config-modal select:focus {
    outline: none;
}

/* 고정 아이템 스타일 */
.menu-item-fixed {
    background: #f9f9f9 !important;
    cursor: default !important;
}

.menu-item-fixed:hover {
    border-color: #e0e0e0 !important;
    box-shadow: none !important;
}

.menu-item-drag-disabled {
    cursor: not-allowed !important;
    opacity: 0.3 !important;
}

.menu-item-drag-disabled:hover {
    opacity: 0.3 !important;
}

/* 구분선 아이템 스타일 */
.menu-item-divider {
    background: #fff !important;
}

.menu-item-divider span[data-label] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.divider-preview {
    width: 100%;
    height: 0px;
    background: #e0e0e0;
    display: none;
}

.menu-item-divider span[data-label]::before {
    display: none;
}

.menu-item-disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed !important;
}

/* 비활성화된 토글 스위치 */
.toggle-switch-disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed !important;
}

.toggle-switch-disabled input:disabled {
    cursor: not-allowed;
}

/* 비활성화된 드래그 핸들 */
.menu-item-drag-disabled {
    opacity: 0.3;
    cursor: not-allowed !important;
}


@keyframes modalSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.rb-modal-header {
    padding: 30px 20px 0px 20px;
    background-color: #fff;
    text-align: center;
}

.rb-modal-title {
    margin: 0;
    font-size: 16px;
    font-family: 'font-B';
    color: #09244B;
}

.rb-modal-body {
    padding: 20px;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    text-align: center;
    word-break: keep-all;
}

.rb-modal-footer {
    padding: 0px 20px 30px 20px;
    display: flex;
    justify-content: center;

    gap: 5px;
    text-align: center;
}

.rb-modal-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.rb-modal-btn-primary {
    background: #09244B;
    color: white;
}


.rb-modal-btn-secondary {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
}


.rb-modal-btn-danger {
    background: #dc3545;
    color: white;
}

.rb-modal-btn-danger:hover {
    background: #c82333;
}

#config-modal select {
    background-color: #fff !important;
    padding-left: 15px;
    padding-right: 15px;
    background: url(../image/svg/arr_down.svg) no-repeat right 10px center;
    border-radius: 6px;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 13px;
    color: #09244B;
    margin: 0px;
    margin: 0px;
    height: 30px;
    width: 120px;
    border: 1px solid #ddd;
    padding-right: 30px;
}

#config-modal input {
    background-color: #fff !important;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 6px;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 13px;
    color: #09244B;
    height: 30px;
    width: 120px;
    border: 1px solid #ddd;
}

#ai-point-display {
    display: inline;
    padding: 0px !important;
}

#ai-point-display b {
    background-color: #bbb;
    padding: 2px 5px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: normal;
    color: #fff !important;
}


/* 이용 가이드 팝업 */
#guide-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 99999;
    overflow-y: auto;
    animation: fadeIn 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#guide-container {
    padding: 100px;
}

#guide-header {
    text-align: center;
    margin-bottom: 60px;
}

#guide-header h1 {
    font-size: 20px;
    color: #09244B;
    margin: 0 0 5px 0;
}

#guide-header p {
    font-size: 15px;
    color: #666;
}

#guide-close-btn {
    position: fixed;
    top: 40px;
    right: 40px;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 100000;
}

#guide-close-btn::before,
#guide-close-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background: #09244B;
}

#guide-close-btn::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

#guide-close-btn::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

#guide-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.guide-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border-radius: 10px;
    transition: all 0.2s;
}


.guide-item-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: #f5f5f5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.guide-item-icon svg {
    width: 28px;
    height: 28px;
    fill: #09244B;
}

.guide-item-content {
    flex: 1;
}

.guide-item-title {
    font-size: 16px;
    font-weight: bold;
    color: #09244B;
    margin: 0 0 8px 0;
}

.guide-item-content p {
    font-size: 14px;
    color: #09244B;
    line-height: 1.2;
    margin: 0 0 6px 0;
}

.guide-item-content p:last-child {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.4;
    margin: 0 0 3px 0;
}

.guide-item-desc:last-child {
    margin-bottom: 0;
}

.guide-item-desc {
    word-break: keep-all;
}

#guide-content {
    user-select: none;
}


.toolbar-section {
    margin-bottom: 40px;
}

.toolbar-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.toolbar-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    padding: 8px 12px;
    background: #f5f5f5;
    border-radius: 4px;
}

.menu-items-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.2s;
}

.menu-item:hover {
    border-color: rgba(170, 32, 255, 0.3);
    ;
    box-shadow: 0 2px 8px rgba(74, 158, 255, 0.1);
}

.menu-item-drag {
    display: flex;
    align-items: center;
    margin-right: 12px;
    cursor: grab;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.menu-item-drag:hover {
    opacity: 1;
}

.menu-item-drag:active {
    cursor: grabbing;
}

.menu-item span[data-label] {
    flex: 1;
    font-size: 13px;
    color: #333;
}

.sortable-ghost {
    opacity: 0.4;
    background: #f0f7ff;
    border: 2px dashed rgba(170, 32, 255, 0.3);
}

.picker_opa_none .clr-polaroid .clr-alpha {display: none !important;}
#tool-save {margin-left: auto; width: auto !important; display: flex; align-items: center; gap:5px; padding-left: 5px !important; padding-right: 5px !important; background-color: #f0f5f9;}
#tool-save::after {content: '저장하기'; font-size: 12px; width: auto !important;}

/* HTML 검색 하이라이트 */
.html-search-highlight {
    background-color: #e5bcff !important;
    color: #fff;
    padding: 0px 0;
    border-radius: 2px;
}


.ui-po-rel {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.search-count-badge {
    white-space: nowrap;
    z-index: 10;
}

#more-btn {margin-left: auto;}


@media all and (max-width:768px) {
    .pc {
        display: none !important;
    }

    .mobile {
        display: ;
    }

    #editor .drag-handle {
        width: 20px;
        height: 20px;
        left: -10px;
        top: -10px;
    }

    #editor .resize-handle {
        width: 20px;
        height: 20px;
    }

    #prompt_ai_img {
        margin-top: 3px;
    }

    #config-sidebar {
        width: 180px;
    }

    .config-section {
        padding: 20px 20px;
    }

    .config-buttons {
        padding: 20px 20px;
    }

    #guide-container {
        padding: 40px;
    }

    #guide-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    #tool-save {margin-left:0;}
    #more-btn {margin-left: 0;}
}

@media all and (max-width:512px) {

    #editor-menu {
        gap: 0px;
    }

    #config-panel {
        flex-direction: column;
    }

    #config-sidebar {
        width: 100%;
        border-right: none;
    }

    #config-sidebar h2 {
        padding: 16px 20px 12px 20px;
    }

    #config-menu {
        display: flex;
        overflow-x: auto;
        padding: 0;
        padding: 0px 10px 10px 10px;
    }

    .config-menu-item {
        flex-shrink: 0;
        padding: 8px 12px;
        margin: 0px 1px;
    }

    #ai_wrap {
        padding: 5px;
    }

    .rb-date-card {
        padding: 15px;
    }

    .map-card {
        padding: 15px;
    }

    #date-wrap {
        width: calc(100% - 40px);
        max-width: 450px;
    }

    #editor-container #ov-menu-wrap .ov-menu-wrap-inner {
        padding: 10px 15px 10px 15px;
        gap:0px 5px;
    }

    #prompt_ai_img {
        display: none;
    }


    #editor-container #editor-header {
        padding: 15px 0px;
    }

    #editor-container #editor-menu {
        padding: 0px 0px 0px 10px;
    }
    
    #editor_footer {padding: 20px;}
    
    .edit_mode_btn {gap:5px;}

    #editor-container #toolbar.mode-regular {
        padding: 0px 15px;
    }

    #editor-container .drawing-toolbar-container {
        padding: 0px 15px;
    }

    #editor_wrap {
        padding: 15px;
    }

    #html_wrap {
        padding: 20px;
    }

    .rb-modal-box {
        width: 80%;
    }

    .api-limit-setting {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        column-gap: 0;
    }

    .api-limit-input-group {
        grid-column: 1 / -1;
        grid-row: auto;
        justify-self: stretch;
        width: 100%;
    }

    .api-limit-input-group {
        margin-top: 10px;
    }

    .api-stat-value {
        font-size: 16px;
    }

    .api-post-generation p {
        font-size: 12px;
    }


    .guide-item {
        gap: 16px;
    }

    .guide-item-icon {
        width: 56px;
        height: 56px;
    }

    .guide-item-icon svg {
        width: 24px;
        height: 24px;
    }

    #guide-container {
        padding: 20px;
    }

    #guide-header {
        margin-bottom: 30px;
    }

    #guide-header h1 {
        text-align: left;
    }

    #guide-header p {
        text-align: left;
    }

    #guide-header h1 {
        margin-bottom: 0px;
    }

    #guide-header p {
        font-size: 13px;
    }

    #guide-close-btn {
        top: 20px;
        right: 20px;
    }
    
    #editor-container #editor_wrap .editor_area::before {width: 5px; height: 6px; top:5px; left: 5px;}
    #editor-container #editor_wrap .editor_area::after {width: 5px; height: 5px; top:5px; right: 5px;}
    #editor-container #editor::before {width: 5px; height: 5px; bottom:-14px; left: -5px;}
    #editor-container #editor::after {width: 5px; height: 5px; bottom:-14px; right: -5px;}
    #drawing-canvas-container::before {width: 5px; height: 5px; bottom:-14px; left: -5px;}
    #drawing-canvas-container::after {width: 5px; height: 5px; bottom:-14px; right: -5px;}
    
    #editor-ui {
        flex: 1;
        min-width: 0;
        width: 100%;
    }

    #editor-ui #toolbar.mode-regular {
        display: flex;
        flex: 1;
        min-width: 0;
    }

    #editor-ui #toolbar.mode-regular::-webkit-scrollbar {
        display: none;
    }
    
    #html-mode-toolbar {padding-left: 15px; padding-right: 15px;}
    
    #editor-container #ov-menu-wrap .ov-menu-wrap-inner {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;

        -ms-overflow-style: none;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    #editor-container #ov-menu-wrap .ov-menu-wrap-inner::-webkit-scrollbar {
        display: none;
    }


    #editor-container #ov-menu-wrap .ov-menu-wrap-inner > * {
        flex: 0 0 auto;
        flex-shrink: 0;
        white-space: nowrap;
    }
    
    #editor-ui #toolbar.mode-regular {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;

        -ms-overflow-style: none;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    #editor-ui #toolbar.mode-regular::-webkit-scrollbar {
        display: none;
    }

    #editor-ui #toolbar.mode-regular > * {
        flex: 0 0 auto;
        flex-shrink: 0;
        white-space: nowrap;
    }
    
    #editor-container .drawing-toolbar-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;

        -ms-overflow-style: none;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    #editor-container .drawing-toolbar-container::-webkit-scrollbar {
        display: none;
    }

    #editor-container .drawing-toolbar-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;

        -ms-overflow-style: none;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    #editor-container .drawing-toolbar-container::-webkit-scrollbar {
        display: none;
    }

    #editor-container .drawing-toolbar-container > * {
        flex: 0 0 auto;
        flex-shrink: 0;
        white-space: nowrap;
    }
    
    /* 부모 요소들의 overflow 제거 */
    #editor-container #editor-header,
    #editor-ui {
        overflow: visible !important;
    }
    
    /* 툴바는 x축만 스크롤 */
    #editor-ui #toolbar.mode-regular {
        overflow-x: auto !important;
        overflow-y: visible !important;
    }
    
    /* 서브메뉴를 fixed로 변경 + 초기에는 투명하게 */
    .sub-menus,
    #table-grid,
    #table-font {
        position: fixed !important;
        z-index: 99999 !important;
        opacity: 0 !important;
        transition: opacity 0.1s !important;
    }
    
    /* JavaScript로 위치가 설정되면 보이게 */
    .sub-menus.positioned,
    #table-grid.positioned,
    #table-font.positioned {
        opacity: 1 !important;
    }
    
    /* 모바일에서만 화살표 숨김 */
    .sub-menus .sub-menus-wrap:before,
    #table-grid #grid-container:before,
    #table-font #font-container:before {
        display: none !important;
    }

}


* {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, .35) rgba(0, 0, 0, .00);
}


* ::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

* ::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, .00);
}

* ::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .00);
    border-radius: 999px;
}

* ::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, .5);
}

.rb-has-admin-url .rb-board-only {
    display: none !important;
}