

/* ==========================================================================
LEFT MENU
==========================================================================*/
.cover { min-width: 280px; }
#mobile-only { width: max-content; gap: 0; min-height: 60px; display: none; margin: -1rem; padding: 8px 0px 20px 16px; max-width: 100vw; overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; }
#mobile-only .slide-item { position: relative; width: 135px; min-width: 135px; padding: 4px 14px 8px; text-align: center; box-sizing: border-box; }
#mobile-only .slide-item::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background-color: #2B7FFF; transform: scaleX(0); transform-origin: center; transition: transform 0.3s ease; }
#mobile-only .slide-item.active::after { transform: scaleX(1); }
#mobile-only .slide-item a { font-size: 14px; line-height: 20px; transition: color 0.3s ease; text-decoration: none; color: #333; display: block; }
#mobile-only .slide-item.active a { color: #2B7FFF; }


/* Chrome, Safari, Edge */
aside::-webkit-scrollbar ,.breadcrumb::-webkit-scrollbar { width: 5px; }
aside::-webkit-scrollbar-track ,.breadcrumb::-webkit-scrollbar-track { background: transparent; }
aside::-webkit-scrollbar-thumb ,.breadcrumb::-webkit-scrollbar-thumb { background-color: #E5E7EB; border-radius: 5px; padding:16px 0px; }
aside { margin:4px 0px; }
aside.left-side { background-color: #fff; min-height: calc( 100% - 68px); padding:20px 8px 60px 16px; position: fixed; left: 0; top: 60px; height: calc( 100% - 68px); width: 260px; overflow: auto; border-right:1px solid #F3F4F6; display: flex; flex-direction: column; scrollbar-gutter: stable; }
aside.left-side.open { padding-left:16px; padding-right:16px; width: 100%; z-index: 9; position: fixed; top: 0; height: 100%; left: 0; padding-top:84px; overflow-x: hidden; overflow-y: auto; }
aside.left-side .menu .depth1 { padding: 6px 8px; font-size: 13px; line-height: 18px; }
aside.left-side .menu .depth2 { margin-bottom: 4px; }
aside.left-side .menu .depth2 a { padding: 10px 14px; font-size: 14px; line-height: 20px; display: flex; align-items: center; justify-content: space-between; }
aside.left-side .menu .depth2.not-child a { font-family: Pretendard-Regular; }
aside.left-side .menu .depth2 > a { margin-bottom: 4px; }
aside.left-side .menu .depth2 > a:hover { background-color: rgba(0, 0, 0, 0.04) !important; border-radius: 8px; }
aside.left-side .menu .depth2 > a i.right-arrow { transition: all 0.2s ease; transform: rotate(0deg); }
aside.left-side .menu .depth2 > a i.right-arrow.open { transform: rotate(90deg); }
aside.left-side .menu .depth2 li { margin-bottom: 4px; }
aside.left-side .menu .depth2 li:hover { background-color: rgba(0, 0, 0, 0.04) !important; border-radius: 8px; }
aside.left-side .menu .depth2 a.active { color: #2B7FFF !important; background-color: rgba(0, 0, 0, 0.04); border-radius: 8px; font-family: Pretendard-Medium; }
aside.left-side .menu .depth2 ul { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.2s ease-in-out, opacity 0.2s linear; }
aside.left-side .menu .depth2 ul.open { display: flex; flex-direction: column; max-height: 10000px; opacity: 1; }
aside.left-side .menu .depth3 a { padding:12px 24px; font-size: 13px; line-height: 18px; }
aside.left-side .menu .depth3:hover { background-color: #F3F4F6 !important; border-radius: 8px; }

/* ==========================================================================
RIGHT MENU
==========================================================================*/
aside.right-side { position: fixed; top: 60px; left: calc(50% + 430px); width: 280px; height: auto; max-height: calc(100% - 70px); padding: 56px 24px 80px; overflow: auto; z-index: 0; background-color: #fff; scrollbar-gutter: stable; }
aside.right-side .menu { display: flex; flex-direction: column; gap:12px; }
aside.right-side .menu .depth2 { font-size: 15px; line-height: 22px; padding: 4px 0; }
aside.right-side .menu .depth3 > a { font-size: 13px; line-height: 18px; margin-bottom: 4px; display: block; padding:4px 0; }
aside.right-side .menu .depth3 > ul { margin-bottom: 12px; }
aside.right-side .menu .depth3 a:hover, aside.right-side .menu .depth3.active > a { color: #2B7FFF !important; }
aside.right-side .menu .depth3 > ul li:hover,aside.right-side .menu .depth4.active { color: #2B7FFF !important; cursor: pointer; border-left: 2px solid #2B7FFF; }
aside.right-side .menu .depth4 { font-size: 12px; line-height: 18px; border-left: 2px solid #F3F4F6; padding: 8px 16px; }

/* ==========================================================================
BODY MENU
==========================================================================*/
.container .content { display: flex; min-height: calc(100vh - 54px); width: 100%; }
.container .content .page { padding: 60px 40px 80px; width: 100%; height: 100%; margin: 0 auto; }
.container .content .page .inner { width: 92%; height: 100%; }
.scrollTop { display: none; }

/* ==========================================================================
TEMPLATE
==========================================================================*/
/* section { margin-bottom: 120px; } */
section img { cursor:zoom-in; border-radius: 12px; }
article { font-size: 16px; line-height: 24px; font-family: Pretendard-Regular; }

.image-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); justify-content: center; align-items: center; z-index: 9999; display: flex; visibility: hidden; opacity: 0; transition: opacity 0.3s ease; }
.image-modal-overlay.show { visibility: visible; opacity: 1; }
.image-modal-overlay img { max-width: 90%; max-height: 90%; cursor: zoom-out; display: block; object-fit: contain; }

.video-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); justify-content: center; align-items: center; z-index: 9999; display: flex; visibility: hidden; opacity: 0; transition: opacity 0.3s ease; }
.video-modal-overlay.show { visibility: visible; opacity: 1; }
.video-modal-overlay video { position: relative; width: 100%; height: calc(100vh - 150px); object-fit: contain; max-height:929px; max-width: 437px; padding:.5rem; }


.code-block { background: #101828; color: #e2e8f0; padding: 20px 20px; border-radius: 12px; overflow-x: auto; }
.code-block .code-header { display: flex; justify-content: space-between; margin-bottom: 16px; }
.code-block .code-header .label { border-radius: 8px; background: #1E2939; color: #D1D5DC; padding: 7px 8px; font-size: 12px; line-height: 18px; height: 32px; display: inline-flex; align-items: center; border: 1px solid #4A5565; }
.code-block .code-header button.label:hover { background: #101828; }
.code-block .code-body { max-height: 400px; overflow: auto; }
.code-block .code-body::-webkit-scrollbar { width: 5px; height: 5px; }
.code-block .code-body::-webkit-scrollbar-track { background: transparent; }
.code-block .code-body::-webkit-scrollbar-thumb { background-color: #6A7282; border-radius: 5px; }
.code-block .code-body * { font-size: 14px; line-height: 20px; font-family: Pretendard-Light; }
.code-block .code-body .line { display: flex; gap:6px; }
.code-block .code-body .line * { flex-shrink: 0; }
.code-block .code-body .line .code-line { color: #fff; }
.code-block .code-body .line-number { color: #64748b; width: 20px; text-align: left; }

.code-block .tab-1 { margin-left:1rem; }
.code-block .tab-2 { margin-left:2rem; }
.code-block .tab-3 { margin-left:3rem; }
.code-block .tab-4 { margin-left:4rem; }
.code-block .tab-5 { margin-left:5rem; }
.code-block .tab-6 { margin-left:6rem; }
.code-block .tab-7 { margin-left:7rem; }
.code-block .tab-8 { margin-left:8rem; }
.code-block .tab-9 { margin-left:9rem; }
.code-block .tab-10 { margin-left:10rem; }

.code-tag { color: #7dd3fc; } /* light blue */
.code-attr { color: #22d3ee; } /* cyan */
.code-value { color: #00D492; } /* pink */
.code-url { color: #FFB900; } /* yellow */
.code-gray { color: #6A7282; } /* gray */
.code-red { color: #FD959A; } /* red */
.table-scroll { width: 100%; overflow: auto; }
table { border-collapse: collapse; max-width: 100%; width: 100%; }
table thead { color: #6A7282; }
table th { background-color: #F3F4F6; padding: 12px 16px; text-align: left; font-size: 14px; color: #6A7282; line-height: 20px; white-space: nowrap; }
table td { padding: 12px 16px; border: 1px solid #E5E7EB; text-align: left; font-size: 13px; color: #1E2939; line-height: 18px; white-space: nowrap; }
table tr th:first-child, table tr td:first-child { border-left: none; }
table tr th:last-child, table tr td:last-child { border-right: none; }

.ribbon { gap:8px; min-height: 50px; border-radius: 12px; border: 1px solid; padding: 16px; font-size: 13px; line-height: 18px; display: inline-flex; align-items: center; white-space: normal; width: 100%; }
.ribbon i { vertical-align: middle; width: 18px; height: 18px; flex-shrink: 0; align-self: self-start; }

.ribbon.info { border-color: #CCEDFD !important; background-color: #F2FBFE !important; color: #4A5565 !important; }
.ribbon.warning { border-color: #FFCD80 !important; background-color: #FFFAF2 !important; color: #4A5565 !important; }
.ribbon.gray { border-color: #D1D5DC !important; background-color: #ffffff !important; color: #4A5565 !important; }
.ribbon.error { border-color: #FD959A !important; background-color: #FFF4F5 !important; color: #4A5565 !important; }
.ribbon.success { border-color: #80DDBE !important; background-color: #F2FCF8 !important; color: #4A5565 !important; }

.ribbon.warning i { background-color: #FE9A00 !important; }
.ribbon.gray i { background-color: #D1D5DC !important; }
.ribbon.error i { background-color: #FB2C36 !important; }
.ribbon.success i { background-color: #00BC7D !important; }
.ribbon.info i { background-color: #00A6F4 !important; }
.ribbon span, .ribbon a { font-family: Pretendard-SemiBold; }
.ribbon span { color: #101828; }
.ribbon a { color: #00A6F4; }

ul.template li { position: relative; padding-left: 12px; text-indent: 0; line-height: 20px; font-size: 14px; }
ul.template.disc li:before { content: '•'; position: absolute; left: 0; top: 0; color: #999; font-size: 14px; }

ol.template { list-style: decimal; list-style-position: outside; padding-left: 13px; margin: 0; }
ol.template li { position: relative; padding-left: 0; font-size: 14px; line-height: 20px; }

button.preview { border-radius: 100px; display: flex; align-self: center; gap: 4px; align-items: center; padding: 4px 8px 4px 5px !important; }
/* ==========================================================================
TEMPLATE1
==========================================================================*/
/* ==========================================================================
TEMPLATE2
==========================================================================*/
.wrapper { position: relative; padding-left: 64px; padding-top: .55rem; }
.num { display: flex; justify-content: center; align-items: center; width: 40px; height: 40px; background-color: #F9FAFB; border: 1px solid #E5E7EB; border-radius: 8px; color: #99A1AF; position: absolute; left: 0; top: 0; z-index: 1; font-family: Pretendard-Medium; }
.wrapper::before { content: ""; position: absolute; left: 19px; top: 30px; bottom: 0; width: 2px; background-image: repeating-linear-gradient(
 to bottom,
 #E5E7EB,
 #E5E7EB 4px,
 transparent 4px,
 transparent 8px
); z-index: 0; }
.codeside { padding: 24px; background-color: #F3F4F6; align-items: center; border-radius: 12px; }
.wrapper.active::before { display: block; position: absolute; left: 19px; top: -24px; height: 24px; border-left: 2px solid #2B7FFF; z-index: 0; }
.wrapper.active .num { color: white; background-color: #2B7FFF; border: 1px solid #2B7FFF; }
.wrapper.completed::after { content: ""; position: absolute; left: 19px; top: 24px; bottom: 0; border-left: 3px solid #2B7FFF; }
section:first-child .wrapper.active::before { display: none; }

.wrapper:last-child::before { display: none; }
.wrapper:last-child::after { display: none; }
.wrapper.active .title5 { color: #2B7FFF; }
/* ==========================================================================
TEMPLATE3
==========================================================================*/
/* ==========================================================================
TEMPLATE4
==========================================================================*/
/* ==========================================================================
TEMPLATE5
==========================================================================*/
/* .mobile-box { flex-direction: unset !important; } */
.template-box { padding: 24px; border: 1px solid #E5E7EB; border-radius: 8px; width: 100%; }
.template-box article { font-size: 13px; line-height: 18px; }
.template-box button { padding: 12px 16px; font-size: 14px; line-height: 20px; color: #4A5565; border: 1px solid #E5E7EB; display: flex; align-items: center; justify-content: center; gap:6px; }
.template-box button i { background-color: #99A1AF; }
.template-box button:hover { border: 1px solid #2B7FFF; }
.template-box button.gray:hover { background-color: #6A7282; border: 1px solid #6A7282!important; }
.template-box button:hover i { background-color: #2B7FFF; }

/* ==========================================================================
TEMPLATE8
==========================================================================*/
.segment-text { display: inline-block; height:22px; padding: 2px 4px; background-color: #F3F4F6; border-radius: 4px; font-size: 13px; line-height: 18px; color: #6A7282; }
.text { font-size: 13px; line-height: 18px; color: #6A7282; }
.text-box { padding: 1rem; border: 1px solid #E5E7EB; border-radius: 8px; }

/* ==========================================================================
BREADCRUMB
==========================================================================*/
/* .breadcrumb { width: 100%; height: 100%; display: none; align-items: center; margin-bottom: 24px; overflow: auto; position: sticky; top: 60px; padding: 16px 24px 16px; background-color: #fff; z-index: 8; }
.breadcrumb div { font-size:14px; line-height: 20px; color:#99A1AF }
.breadcrumb div:last-child { font-family: 'Pretendard-Medium'; color:#4A5565; } */


/*media*/
@media screen and (min-width: 1440px){
 .container .content .page { max-width: 1179px; padding-right: 292px; }
 }

@media screen and (min-width: 768px){
 .container .content .page { margin-left: auto; margin-right: auto; }
 }

@media screen and (max-width: 1439px){
 .right-side { display: none; }
 .container .content .page { padding: 60px 30px 80px 24px !important; }
 .container .content .page .inner { width: 100% !important; }
 }

@media screen and (max-width: 767px) { aside.left-side { left: -100%; }
 .cover { display: none; }
 .container .content .page .inner section .mobile-box { flex-direction: column !important; }
 .code-block .code-header .label.copy { font-size: 0; }
 .scrollTop { position: fixed !important; display: flex; bottom: 24px; right: 24px; width: 48px; height: 48px; padding: 4px; border-radius: 100px; border: 1px solid #E5E7EB; align-items: center; justify-content: center; }
 }

@media (max-width: 760px) { header nav { padding: 16px 24px !important; }

.flex { flex-wrap: wrap; }
 header nav .pc { display: none !important; }
 header nav i.hamburger { display: flex !important; align-self: center; }
 #mobile-only { display: flex; }

 .container .content .page { padding:48px 24px 80px !important; }
 .container .content .page .inner { width: 100% !important; }
 /* .breadcrumb { display: flex !important; } */ }
