@charset "utf-8";

html {
    scroll-behavior: smooth;
}

/* 컬러 및 SVG 변수 설정 */
:root {
    /* 실선 설정 */
    --solid-color: #9cc4ff;
    --solid-width: 1px;

    /* 점선 설정 */
    --dot-color: #555;
    --dot-width: 0.8px;
    --dot-length: 2;
    --dot-gap: 3;

    /* 박스 색상 */
    --normal-bg: #f8f8f8;
    --normal-border: #d5d5d5;
    --green-bg: #f0f5d7;
    --green-border: #c7d49a;
    --blue-bg: #dff2f2;
    --blue-border: #9dd8d9;
    --dark-blue-bg: #dce8f7;
    --dark-blue-border: #b6cce9;
}

.edu-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", sans-serif;
    font-size: 16px;
    color: #1e293b;
    line-height: 1.75;
    text-align: left;
    box-sizing: border-box;
}
.edu-wrap * {
    box-sizing: border-box;
}

.edu-section {
    margin-bottom: 45px;
}
.edu-sec-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    border-left: 4px solid #0f3ba2;
    padding-left: 12px;
}
.highlight-text {
    color: #0f3ba2;
    font-weight: 800;
}

.navi-common-tab {
    display: flex !important;
    gap: 4px !important;
    width: 100% !important;
    margin: 20px 0 25px 0 !important;
    padding: 0 0 2px 0 !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid #0f3ba2 !important;
    height: auto !important;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.navi-common-tab::-webkit-scrollbar {
    display: none;
}
.navi-common-tab a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    padding: 10px 22px !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border: 1px solid #cbd5e1 !important;
    border-bottom: none !important;
    border-radius: 6px 6px 0 0 !important;
    margin-bottom: -2px !important;
    transition: all 0.15s ease !important;
    flex-shrink: 0;
}
.navi-common-tab a:hover {
    background: #e2e8f0 !important;
    color: #0f3ba2 !important;
}
.navi-common-tab a.focus {
    background: #0f3ba2 !important;
    color: #ffffff !important;
    border-color: #0f3ba2 !important;
}

.sub-nav-tabs {
    display: flex;
    gap: 6px;
    margin: 0 0 35px 0;
    padding: 6px;
    background: #f1f5f9;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.sub-nav-tabs::-webkit-scrollbar {
    display: none;
}
.sub-nav-tabs a {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    letter-spacing: -0.3px;
    flex-shrink: 0;
}
.sub-nav-tabs a:hover {
    color: #0f3ba2;
    background: rgba(255, 255, 255, 0.6);
}
.sub-nav-tabs a.active {
    background: #ffffff;
    color: #0f3ba2;
    font-weight: 800;
    border-color: #cbd5e1;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
}

/* 경매란 */
.meaning-card {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 26px 30px;
    display: flex;
    gap: 22px;
    align-items: flex-start;
}
.meaning-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.meaning-icon-wrap svg {
    width: 24px;
    height: 24px;
    fill: #0f3ba2;
}
.meaning-content p {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #334155;
}
.grid-2col {
    display: flex;
    gap: 24px;
}
.card-item, .target-box, .classify-card {
    flex: 1;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 24px 26px;
}
.card-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.card-title svg {
    width: 20px;
    height: 20px;
    fill: #0f3ba2;
}
.card-body-text {
    font-size: 15.5px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 18px;
}
.tag-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.tag-badge {
    font-size: 13px;
    font-weight: 600;
    padding: 4px 10px;
    background: #f1f5f9;
    color: #334155;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}
.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.chip {
    background: #f8fafc;
    color: #1e293b;
    border: 1px solid #cbd5e1;
    font-size: 14px;
    padding: 5px 14px;
    border-radius: 4px;
    font-weight: 600;
}
.badge-type {
    display: inline-block;
    font-size: 14px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 14px;
}
.badge-gangje {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
}
.badge-imui {
    background: #eff6ff;
    color: #0f3ba2;
    border: 1px solid #bfdbfe;
}
.point-box {
    margin-top: 14px;
    background: #f8fafc;
    border-left: 3px solid #64748b;
    padding: 10px 14px;
    font-size: 14px;
    color: #334155;
}
.timeline-wrap {
    position: relative;
    padding-left: 28px;
    border-left: 2px solid #cbd5e1;
    margin-left: 12px;
}
.tl-node {
    position: relative;
    margin-bottom: 24px;
}
.tl-node:last-child {
    margin-bottom: 0;
}
.tl-dot {
    position: absolute;
    left: -35px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0f3ba2;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px #cbd5e1;
}
.tl-date {
    font-size: 15px;
    font-weight: 800;
    color: #0f3ba2;
    margin-bottom: 6px;
}
.tl-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 16px 20px;
    font-size: 15.5px;
    color: #334155;
    line-height: 1.7;
}

/* 경매절차도 */
.diagram-view-box {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 30px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.diagram-legend-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    flex-wrap: wrap;
}
.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}
.legend-chip {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    display: inline-block;
}
.chip-normal { background: var(--normal-bg); stroke: var(--normal-border); border: 1px solid #d5d5d5; }
.chip-green  { background: var(--green-bg); stroke: var(--green-border); border: 1px solid #c7d49a; }
.chip-blue   { background: var(--blue-bg); stroke: var(--blue-border); border: 1px solid #9dd8d9; }
.chip-dark   { background: var(--dark-blue-bg); stroke: var(--dark-blue-border); border: 1px solid #b6cce9; }

.auction-wrap {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow-x: auto;
}
.auction-svg {
    display: block;
    width: 100%;
    min-width: 626px;
    height: auto;
}
.auction-svg text {
    font-size: 11px;
    fill: #444;
    text-anchor: middle;
    dominant-baseline: middle;
}
.auction-svg .box { fill: var(--normal-bg); stroke: var(--normal-border); stroke-width: .8; }
.auction-svg .green { fill: var(--green-bg); stroke: var(--green-border); stroke-width: .8; }
.auction-svg .blue { fill: var(--blue-bg); stroke: var(--blue-border); stroke-width: .8; }
.auction-svg .blue-dark { fill: var(--dark-blue-bg); stroke: var(--dark-blue-border); stroke-width: .8; }
.auction-svg .line { fill: none; stroke: var(--solid-color); stroke-width: var(--solid-width); stroke-linecap: round; stroke-linejoin: round; }
.auction-svg .dotline { fill: none; stroke: var(--dot-color); stroke-width: var(--dot-width); stroke-dasharray: var(--dot-length) var(--dot-gap); stroke-linecap: round; stroke-linejoin: round; }
.auction-svg .arrow-line { fill: none; stroke: var(--solid-color); stroke-width: var(--solid-width); marker-end: url(#arrowBlue); }
.auction-svg .arrow-dotline { fill: none; stroke: var(--dot-color); stroke-width: var(--dot-width); stroke-dasharray: var(--dot-length) var(--dot-gap); marker-end: url(#arrowGray); }
.auction-svg .note { font-size: 12px; text-anchor: start; }
.auction-svg .small { font-size: 10px; }
.auction-svg .footnote { font-size: 11px; fill: #888; text-anchor: start; }
.auction-svg .bullet { fill: #ff914d; }

.timeline-process-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
}
.process-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 24px 28px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.process-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 4px 12px rgba(15, 59, 162, 0.06);
}
.process-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}
.process-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}
.process-step-badge {
    background: #eff6ff;
    color: #0f3ba2;
    font-size: 13px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #bfdbfe;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}
.process-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}
.process-body-text {
    font-size: 15.5px;
    color: #334155;
    line-height: 1.75;
    margin: 0;
}
.process-body-text p {
    margin: 10px 0 0 0;
}
.process-note-box {
    margin-top: 14px;
    background: #f8fafc;
    border-left: 3px solid #0f3ba2;
    padding: 14px 18px;
    font-size: 14.5px;
    color: #334155;
    border-radius: 0 6px 6px 0;
    line-height: 1.65;
    overflow-x: auto;
}
.doc-btn-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.btn-doc-down {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}
.btn-doc-down:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #0f3ba2;
}
.btn-doc-down svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .edu-wrap {
        padding: 0 14px;
    }
    .grid-2col {
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .edu-wrap {
        font-size: 15px;
        padding: 0 12px;
    }

    .edu-wrap .navi-common-tab {
        margin: 15px 0 20px 0 !important;
    }
    .edu-wrap .navi-common-tab a {
        padding: 8px 16px !important;
        font-size: 14px !important;
    }

    .sub-nav-tabs {
        margin-bottom: 24px;
        padding: 4px;
        gap: 4px;
    }
    .sub-nav-tabs a {
        padding: 9px 12px;
        font-size: 13.5px;
    }

    .grid-2col {
        flex-direction: column;
        gap: 16px;
    }

    .meaning-card {
        flex-direction: column;
        gap: 14px;
        padding: 20px;
    }

    .process-card {
        padding: 18px 16px;
    }
    .process-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .process-title {
        font-size: 16.5px;
    }
    .doc-btn-group {
        width: 100%;
    }
    .btn-doc-down {
        flex: 1;
        justify-content: center;
        font-size: 12.5px;
        padding: 7px 10px;
    }

    .diagram-legend-bar {
        justify-content: flex-start;
        gap: 8px 14px;
    }
    .legend-item {
        font-size: 12px;
    }

    .process-body-text {
        font-size: 14.5px;
        line-height: 1.7;
    }
    .process-note-box {
        padding: 12px 14px;
        font-size: 13.5px;
    }
}

.quick-anchor-bar {
    display: flex;
    gap: 8px;
    margin: 0 0 35px 0;
    padding: 8px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.quick-anchor-bar::-webkit-scrollbar {
    display: none;
}
.quick-anchor-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    font-size: 14.5px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    transition: all 0.15s ease;
    flex-shrink: 0;
}
.quick-anchor-bar a:hover {
    color: #0f3ba2;
    border-color: #0f3ba2;
    background: #eff6ff;
}

/* 성공전략 */
.strategy-card-wrap {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 50px;
}
.strategy-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 28px 32px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.02);
    scroll-margin-top: 20px;
}
.strategy-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}
.strategy-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}
.strategy-badge {
    background: #eff6ff;
    color: #0f3ba2;
    font-size: 13px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #bfdbfe;
    flex-shrink: 0;
}
.strategy-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}
.btn-top-anchor {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.15s ease;
}
.btn-top-anchor:hover {
    color: #0f3ba2;
    background: #f1f5f9;
}

.strategy-body-text {
    font-size: 15.5px;
    color: #334155;
    line-height: 1.8;
}
.strategy-body-text p {
    margin: 14px 0 0 0;
    line-height: 1.8;
}

.strategy-sub-head {
    font-weight: 800;
    color: #0f3ba2;
    margin-top: 18px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .strategy-card {
        padding: 20px 18px;
    }
    .strategy-title {
        font-size: 17.5px;
    }
    .strategy-body-text {
        font-size: 14.5px;
        line-height: 1.7;
    }
}

/* 경매용어사전 */
.dict-header-box {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 24px 28px;
    margin-bottom: 25px;
}
.dict-guide-text {
    font-size: 15px;
    color: #475569;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.dict-guide-text strong {
    color: #0f3ba2;
}

.dict-control-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 검색 입력 폼 */
.dict-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
}
.dict-input-text {
    width: 280px;
    height: 42px;
    padding: 0 14px;
    font-size: 15px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.15s ease;
}
.dict-input-text:focus {
    border-color: #0f3ba2;
    box-shadow: 0 0 0 3px rgba(15, 59, 162, 0.1);
}
.btn-dict-search {
    height: 42px;
    padding: 0 20px;
    background: #0f3ba2;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.15s ease;
}
.btn-dict-search:hover {
    background: #0b2d7d;
}
.btn-dict-search svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* 초성(가~하) 칩 버튼 바 */
.dict-chosung-bar {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
}
.btn-chosung {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #ffffff;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    transition: all 0.15s ease;
}
.btn-chosung:hover {
    background: #eff6ff;
    border-color: #0f3ba2;
    color: #0f3ba2;
    transform: translateY(-1px);
}

/* iframe 사전 뷰어 */
.dict-viewer-wrap {
    display: flex;
    gap: 20px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.02);
    min-height: 520px;
    margin-bottom: 50px;
}
.dict-list-col {
    width: 280px;
    flex-shrink: 0;
    border-right: 1px solid #e2e8f0;
    padding-right: 16px;
}
.dict-list-col iframe {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
}
.dict-content-col {
    flex: 1;
    padding-left: 10px;
}
.dict-content-col iframe {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .dict-header-box {
        padding: 16px;
    }
    .dict-search-form {
        flex-direction: column;
        align-items: stretch;
    }
    .dict-input-text {
        width: 100%;
    }
    .btn-dict-search {
        width: 100%;
    }
    .dict-chosung-bar {
        justify-content: center;
        gap: 5px;
    }
    .btn-chosung {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .dict-viewer-wrap {
        flex-direction: column;
        padding: 14px;
    }
    .dict-list-col {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding-right: 0;
        padding-bottom: 16px;
    }
    .dict-list-col iframe {
        height: 250px;
    }
    .dict-content-col {
        padding-left: 0;
        padding-top: 14px;
    }
    .dict-content-col iframe {
        height: 350px;
    }
}


.doc-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 0px;
	box-sizing: border-box;
	text-align: left;
	font-family: -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", sans-serif;
}

.doc-main-title {
	font-size: 22px;
	font-weight: 800;
	color: #0f172a;
	margin: 15px 0 20px 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.doc-search-box {
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 20px;
	margin-top: 25px;
	margin-bottom: 25px;
	display: flex;
	justify-content: center;
	position: relative;
}
.doc-search-form {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	max-width: 650px;
	position: relative;
}
.doc-select-cate {
	height: 42px;
	padding: 0 12px;
	font-size: 14.5px;
	color: #1e293b;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	background: #ffffff;
	outline: none;
	cursor: pointer;
}
.doc-search-input-wrap {
	flex: 1;
	position: relative;
}
.doc-search-input {
	width: 100%;
	height: 42px;
	padding: 0 14px;
	font-size: 14.5px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	outline: none;
	box-sizing: border-box;
	transition: border-color 0.15s ease;
}
.doc-search-input:focus {
	border-color: #0f3ba2;
	box-shadow: 0 0 0 3px rgba(15, 59, 162, 0.1);
}
.btn-search-submit {
	height: 42px;
	padding: 0 22px;
	background: #0f3ba2;
	color: #ffffff;
	font-size: 14.5px;
	font-weight: 700;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	transition: background 0.15s ease;
	white-space: nowrap;
}
.btn-search-submit:hover {
	background: #0b2d7d;
}

#fAutoComplete {
	position: absolute;
	top: 44px;
	left: 0;
	right: 0;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	z-index: 1000;
	max-height: 250px;
	overflow-y: auto;
}
#fAutoComplete p {
	margin: 0;
	padding: 10px 14px;
	font-size: 14px;
	color: #334155;
	cursor: pointer;
	border-bottom: 1px solid #f1f5f9;
}
#fAutoComplete p:last-child {
	border-bottom: none;
}
#fAutoComplete p:hover, #fAutoComplete p.autoSelected {
	background: #eff6ff;
	color: #0f3ba2;
	font-weight: 600;
}

.doc-cate-nav {
	display: flex;
	gap: 6px;
	margin-bottom: 25px;
	padding-bottom: 4px;
	overflow-x: auto;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
}
.doc-cate-nav::-webkit-scrollbar {
	height: 4px;
}
.doc-cate-nav::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 4px;
}
.doc-cate-chip {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	background: #f8fafc;
	color: #475569;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	transition: all 0.15s ease;
	flex-shrink: 0;
}
.doc-cate-chip:hover {
	border-color: #0f3ba2;
	color: #0f3ba2;
	background: #eff6ff;
}
.doc-cate-chip.active {
	background: #0f3ba2;
	color: #ffffff;
	border-color: #0f3ba2;
	font-weight: 700;
}

.doc-meta-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	font-size: 14.5px;
	color: #475569;
}
.doc-meta-total strong {
	color: #0f3ba2;
}
.btn-write {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 14px;
	background: #0f3ba2;
	color: #ffffff !important;
	font-size: 13.5px;
	font-weight: 700;
	border-radius: 5px;
	text-decoration: none;
	transition: background 0.15s ease;
}
.btn-write:hover {
	background: #0b2d7d;
}

.doc-table {
	width: 100%;
	border-collapse: collapse;
	border-top: 2px solid #0f3ba2;
	background: #ffffff;
	margin-bottom: 30px;
}
.doc-table th {
	background: #f8fafc;
	color: #1e293b;
	font-weight: 700;
	font-size: 14px;
	padding: 13px 10px;
	border-bottom: 1px solid #cbd5e1;
	text-align: center;
}
.doc-table td {
	padding: 13px 10px;
	font-size: 14.5px;
	color: #334155;
	border-bottom: 1px solid #e2e8f0;
	vertical-align: middle;
}
.doc-table tr:hover td {
	background: #f8fafc;
}
.doc-cate-badge {
	display: inline-block;
	padding: 3px 8px;
	background: #f1f5f9;
	color: #475569;
	font-size: 12.5px;
	font-weight: 600;
	border-radius: 4px;
	border: 1px solid #e2e8f0;
}
.doc-title-link {
	color: #0f172a;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.15s ease;
}
.doc-title-link:hover {
	color: #0f3ba2;
	text-decoration: underline;
}

.btn-download-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 8px;
	margin-right: 4px;
	font-size: 11.5px;
	font-weight: 800;
	border-radius: 4px;
	text-decoration: none;
	transition: opacity 0.15s ease;
}
.btn-download-chip:hover {
	opacity: 0.85;
}
.chip-hwp  { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.chip-doc  { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.chip-pdf  { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.chip-zip  { background: #faf5ff; color: #9333ea; border: 1px solid #e9d5ff; }

@media (max-width: 768px) {
	.doc-search-form {
		flex-direction: column;
		gap: 8px;
	}
	.doc-select-cate, .doc-search-input, .btn-search-submit {
		width: 100%;
	}
	.col-hit {
		display: none;
	}
	.doc-table th, .doc-table td {
		padding: 10px 6px;
		font-size: 13.5px;
	}
}


.doc-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 16px;
	box-sizing: border-box;
	text-align: left;
	font-family: -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", sans-serif;
}

.doc-main-title {
	font-size: 22px;
	font-weight: 800;
	color: #0f172a;
	margin: 15px 0 20px 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.doc-search-box {
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 25px;
	display: flex;
	justify-content: center;
	position: relative;
}
.doc-search-form {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	max-width: 650px;
	position: relative;
}
.doc-select-cate {
	height: 42px;
	padding: 0 12px;
	font-size: 14.5px;
	color: #1e293b;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	background: #ffffff;
	outline: none;
	cursor: pointer;
}
.doc-search-input-wrap {
	flex: 1;
	position: relative;
}
.doc-search-input {
	width: 100%;
	height: 42px;
	padding: 0 14px;
	font-size: 14.5px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	outline: none;
	box-sizing: border-box;
	transition: border-color 0.15s ease;
}
.doc-search-input:focus {
	border-color: #0f3ba2;
	box-shadow: 0 0 0 3px rgba(15, 59, 162, 0.1);
}
.btn-search-submit {
	height: 42px;
	padding: 0 22px;
	background: #0f3ba2;
	color: #ffffff;
	font-size: 14.5px;
	font-weight: 700;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	transition: background 0.15s ease;
	white-space: nowrap;
}
.btn-search-submit:hover {
	background: #0b2d7d;
}

#fAutoComplete {
	position: absolute;
	top: 44px;
	left: 0;
	right: 0;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	z-index: 1000;
	max-height: 250px;
	overflow-y: auto;
}
#fAutoComplete p {
	margin: 0;
	padding: 10px 14px;
	font-size: 14px;
	color: #334155;
	cursor: pointer;
	border-bottom: 1px solid #f1f5f9;
}
#fAutoComplete p:last-child {
	border-bottom: none;
}
#fAutoComplete p:hover, #fAutoComplete p.autoSelected {
	background: #eff6ff;
	color: #0f3ba2;
	font-weight: 600;
}

.doc-cate-nav {
	display: flex;
	gap: 6px;
	margin-bottom: 25px;
	padding-bottom: 4px;
	overflow-x: auto;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
}
.doc-cate-nav::-webkit-scrollbar {
	height: 4px;
}
.doc-cate-nav::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 4px;
}
.doc-cate-chip {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	background: #f8fafc;
	color: #475569;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	transition: all 0.15s ease;
	flex-shrink: 0;
}
.doc-cate-chip:hover {
	border-color: #0f3ba2;
	color: #0f3ba2;
	background: #eff6ff;
}
.doc-cate-chip.active {
	background: #0f3ba2;
	color: #ffffff;
	border-color: #0f3ba2;
	font-weight: 700;
}

.sub-filter-bar {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 15px;
	flex-wrap: wrap;
}
.filter-btn {
	padding: 6px 14px;
	font-size: 13.5px;
	font-weight: 600;
	color: #475569;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.15s ease;
}
.filter-btn:hover {
	background: #f1f5f9;
	color: #0f3ba2;
}
.filter-btn.active {
	background: #eff6ff;
	color: #0f3ba2;
	border-color: #0f3ba2;
	font-weight: 700;
}

.doc-meta-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	font-size: 14.5px;
	color: #475569;
}
.doc-meta-total strong {
	color: #0f3ba2;
}

.doc-table {
	width: 100%;
	border-collapse: collapse;
	border-top: 2px solid #0f3ba2;
	background: #ffffff;
	margin-bottom: 50px;
}
.doc-table th {
	background: #f8fafc;
	color: #1e293b;
	font-weight: 700;
	font-size: 14px;
	padding: 13px 10px;
	border-bottom: 1px solid #cbd5e1;
	text-align: center;
}
.doc-table td {
	padding: 13px 10px;
	font-size: 14.5px;
	color: #334155;
	border-bottom: 1px solid #e2e8f0;
	vertical-align: middle;
}
.doc-table tr:hover td {
	background: #f8fafc;
}
.doc-cate-badge {
	display: inline-block;
	padding: 3px 8px;
	background: #f1f5f9;
	color: #475569;
	font-size: 12.5px;
	font-weight: 600;
	border-radius: 4px;
	border: 1px solid #e2e8f0;
}
.doc-item-title {
	color: #0f172a;
	font-weight: 600;
}

.btn-download-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 8px;
	margin-right: 4px;
	font-size: 11.5px;
	font-weight: 800;
	border-radius: 4px;
	text-decoration: none;
	transition: opacity 0.15s ease;
}
.btn-download-chip:hover {
	opacity: 0.85;
}
.chip-hwp  { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.chip-doc  { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.chip-pdf  { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

@media (max-width: 768px) {
	.doc-search-form {
		flex-direction: column;
		gap: 8px;
	}
	.doc-select-cate, .doc-search-input, .btn-search-submit {
		width: 100%;
	}
	.doc-table th, .doc-table td {
		padding: 10px 6px;
		font-size: 13.5px;
	}
	.btn-download-chip {
		padding: 3px 6px;
		font-size: 11px;
	}
}

.doc-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 16px;
	box-sizing: border-box;
	text-align: left;
	font-family: -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", sans-serif;
}

.doc-main-title {
	font-size: 22px;
	font-weight: 800;
	color: #0f172a;
	margin: 15px 0 20px 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.doc-view-card {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.03);
	overflow: hidden;
	margin-bottom: 25px;
}

.doc-view-header {
	padding: 26px 30px;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
}
.doc-view-cate {
	display: inline-block;
	padding: 4px 10px;
	background: #eff6ff;
	color: #0f3ba2;
	font-size: 13px;
	font-weight: 700;
	border-radius: 4px;
	border: 1px solid #bfdbfe;
	margin-bottom: 10px;
}
.doc-view-title {
	font-size: 22px;
	font-weight: 800;
	color: #0f172a;
	line-height: 1.4;
	margin: 0 0 8px 0;
}
.doc-view-explain {
	font-size: 14.5px;
	color: #64748b;
	margin: 0;
}

.doc-view-meta-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 30px;
	background: #ffffff;
	border-bottom: 1px solid #f1f5f9;
	flex-wrap: wrap;
	gap: 12px;
}
.doc-meta-info-group {
	display: flex;
	align-items: center;
	gap: 18px;
	font-size: 13.5px;
	color: #64748b;
}
.doc-meta-info-group span strong {
	color: #334155;
}

.doc-download-area {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}
.btn-download-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 12px;
	font-size: 13px;
	font-weight: 700;
	border-radius: 5px;
	text-decoration: none;
	transition: all 0.15s ease;
}
.btn-download-chip:hover {
	opacity: 0.85;
	transform: translateY(-1px);
}
.chip-hwp  { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.chip-doc  { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.chip-pdf  { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.chip-zip  { background: #faf5ff; color: #9333ea; border: 1px solid #e9d5ff; }

.btn-source-link {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 4px 9px;
	font-size: 12.5px;
	font-weight: 600;
	color: #0f3ba2;
	background: #f1f5f9;
	border: 1px solid #cbd5e1;
	border-radius: 4px;
	text-decoration: none;
}
.btn-source-link:hover {
	background: #e2e8f0;
}

.doc-view-body {
	padding: 35px 30px;
}
.doc-sample-wrap {
	text-align: center;
	margin-bottom: 30px;
	padding-bottom: 25px;
	border-bottom: 1px solid #f1f5f9;
}
.doc-sample-img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.doc-content-text {
	font-size: 15.5px;
	line-height: 1.8;
	color: #334155;
	word-break: keep-all;
}

.doc-view-bottom-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 60px;
}
.btn-back-list {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 22px;
	background: #0f3ba2;
	color: #ffffff !important;
	font-size: 14.5px;
	font-weight: 700;
	border-radius: 6px;
	text-decoration: none;
	transition: background 0.15s ease;
}
.btn-back-list:hover {
	background: #0b2d7d;
}
.admin-btn-group {
	display: flex;
	gap: 6px;
}
.btn-sub-action {
	display: inline-flex;
	align-items: center;
	padding: 9px 16px;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	color: #475569;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.15s ease;
}
.btn-sub-action:hover {
	background: #f1f5f9;
	color: #0f172a;
}
.btn-delete:hover {
	background: #fef2f2;
	border-color: #fecaca;
	color: #dc2626;
}

@media (max-width: 768px) {
	.doc-view-header {
		padding: 20px 18px;
	}
	.doc-view-title {
		font-size: 18.5px;
	}
	.doc-view-meta-bar {
		padding: 14px 18px;
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
	.doc-download-area {
		width: 100%;
	}
	.btn-download-chip {
		flex: 1;
		justify-content: center;
	}
	.doc-view-body {
		padding: 24px 18px;
	}
	.doc-content-text {
		font-size: 14.5px;
	}
}


/*정보-부동산세금*/
        /* Modern Layout & Reset */
        body { margin: 0; padding: 0; background-color: #f8f9fa; color: #333; font-family: -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", helvetica, sans-serif; line-height: 1.6; }
        .content-container { max-width: 1000px; margin: 0 auto; padding: 20px 15px; box-sizing: border-box; }

        /* 페이지 타이틀 */
        .page-title { display: flex; align-items: center; font-size: 20px; font-weight: bold; margin-bottom: 20px; color: #222; }
        .page-title img { margin-right: 8px; }

        /* 상단 탭 메뉴 (CSS 현대화) */
        .sub-nav { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 25px 0; border-bottom: 2px solid #333; }
        .sub-nav li { margin-right: 4px; }
        .sub-nav a { display: block; padding: 10px 20px; text-decoration: none; font-size: 14px; font-weight: bold; color: #666; background: #e9ecef; border-radius: 6px 6px 0 0; transition: all 0.2s; }
        .sub-nav li.active a, .sub-nav a:hover { background: #333; color: #fff; }

        /* 메인 콘텐츠 카드 */
        .info-card { background: #fff; border: 1px solid #e1e4e8; border-radius: 8px; padding: 25px 30px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }

        /* 세법 설명 목록 */
        .tax-list { list-style: none; padding: 0; margin: 0; }
        .tax-list > li { position: relative; padding-left: 28px; margin-bottom: 20px; font-size: 14px; word-break: keep-all; }
        .tax-list > li::before { content: counter(item) "."; counter-increment: item; position: absolute; left: 0; top: 0; font-weight: bold; color: #1a73e8; }
        .tax-list { counter-reset: item; }
        .highlight { color: #d93025; font-weight: bold; }

        /* 중과세 박스 */
        .section-subtitle { font-size: 15px; font-weight: bold; margin: 20px 0 10px; text-align: center; color: #222; }

        /* 반응형 테이블 */
        .table-responsive { width: 100%; overflow-x: auto; margin-top: 10px; margin-bottom: 20px; -webkit-overflow-scrolling: touch; }
        .custom-table { width: 100%; border-collapse: collapse; text-align: center; font-size: 13px; }
        .custom-table th, .custom-table td { border: 1px solid #ddd; padding: 10px 8px; }
        .custom-table th { background-color: #f1f3f5; color: #495057; font-weight: 600; }
        .custom-table td.highlight-cell { background-color: #fef8f0; font-weight: bold; color: #d93025; }
        .custom-table .bg-gray { background-color: #f8f9fa; }

        /* 안내 문구 리스트 */
        .sub-bullets { margin: 8px 0 15px 0; padding-left: 18px; color: #555; font-size: 13px; }
        .sub-bullets li { margin-bottom: 4px; }
