/* 다운로드 센터 — site.css 토큰만 사용, HTML 구조는 support_drivers.asp 그대로 */

.support-page {
    background: var(--bg-soft);
    min-height: calc(100vh - 120px);
    padding-top: 8px;
    padding-bottom: 56px;
    overflow-x: visible;
}

.support-breadcrumb {
    font-size: 12px;
    color: var(--muted);
    padding: 14px 0 6px;
}

.support-breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}

.support-breadcrumb a:hover {
    text-decoration: underline;
    color: var(--text);
}

.support-breadcrumb span.sep,
.support-breadcrumb .sep {
    margin: 0 8px;
    color: #bbb;
}

.support-page-title {
    margin: 0 0 8px;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.support-page-lead {
    margin: 0 0 28px;
    font-size: 15px;
    color: var(--muted);
    max-width: 720px;
    line-height: 1.55;
}

.support-page-lead code {
    font-size: 13px;
    background: #eee;
    padding: 2px 6px;
    border-radius: 2px;
}

.support-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.support-sidebar {
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 0;
    position: sticky;
    top: 80px;
}

.support-sidebar-title {
    margin: 0;
    padding: 14px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #999;
    border-bottom: 1px solid var(--line);
    background: var(--bg-soft);
}

.support-sidebar a {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
}

.support-sidebar a:last-child {
    border-bottom: none;
}

.support-sidebar a:hover {
    background: var(--bg-soft);
    color: var(--text);
}

.support-sidebar a.is-current {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
}

.support-main {
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 24px 22px 28px;
}

.support-search-wrap {
    margin-bottom: 20px;
}

.support-search-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 8px;
}

.support-search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: stretch;
}

.support-search-row input[type="text"] {
    flex: 1;
    min-width: 200px;
    padding: 11px 14px;
    border: 1px solid #ccc;
    font-size: 15px;
    font-family: inherit;
    border-radius: 2px;
    background: #fff;
    color: var(--text);
}

.support-search-row input[type="text"]:focus {
    outline: none;
    border-color: #999;
}

.support-search-row button {
    padding: 0 22px;
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    font-family: inherit;
}

.support-search-row button:hover {
    background: #333;
    border-color: #333;
}

.support-type-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.support-type-tabs a {
    display: inline-block;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: #444;
    border: 1px solid #ddd;
    background: var(--bg-soft);
    border-radius: 2px;
}

.support-type-tabs a:hover {
    border-color: #999;
    color: var(--text);
}

.support-type-tabs a.is-on {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.support-result-meta {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 10px;
}

.support-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
}

.support-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 720px;
}

.support-table th {
    text-align: left;
    padding: 12px 14px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    font-weight: 700;
    font-size: 12px;
    color: #555;
    white-space: nowrap;
}

.support-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
    color: var(--text);
}

.support-table tbody tr:hover {
    background: #fafafa;
}

.support-table .col-narrow {
    white-space: nowrap;
}

.support-file-name {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.support-file-sub {
    font-size: 12px;
    color: var(--muted);
    word-break: break-all;
}

.support-badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 2px;
    background: #eef0f3;
    color: #445;
}

.support-badge--fw {
    background: #e8f4ff;
    color: #0b5cab;
}

.support-badge--drv {
    background: #f0f0f0;
    color: #333;
}

.support-dl-btn {
    display: inline-block;
    padding: 8px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
    border-radius: 2px;
}

.support-dl-btn:hover {
    background: #333;
    border-color: #333;
}

.support-dl-muted {
    display: inline-block;
    padding: 8px 14px;
    font-size: 11px;
    font-weight: 600;
    color: #999;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 2px;
}

.support-empty {
    text-align: center;
    padding: 48px 20px;
    color: var(--muted);
    font-size: 15px;
}

.support-empty--error {
    text-align: left;
    padding: 16px 18px;
    border: 1px solid #f0c4c4;
    background: #fff5f5;
    color: #8a1f1f;
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 20px;
}

.support-empty--error code {
    font-size: 13px;
}

@media (max-width: 960px) {
    .support-layout {
        grid-template-columns: 1fr;
    }

    .support-sidebar {
        position: static;
    }
}

/* ── 다운로드 센터 (모델 검색 UI) ── */
.dc-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    width: 100%;
    max-width: none;
}

.dc-sidebar {
    background: #fff;
    border: 1px solid #e4e6eb;
    border-radius: 14px;
    padding: 18px 16px 20px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    position: sticky;
    top: 84px;
}

.dc-sidebar-title {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.dc-picker-cascade {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 4px;
}

.dc-picker-field {
    margin-bottom: 12px;
    min-width: 0;
}

.dc-picker-field--cat,
.dc-picker-field--line {
    margin-bottom: 0;
}

.dc-picker-cascade + .dc-picker-field {
    margin-top: 10px;
}

.dc-picker-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7280;
}

.dc-picker-field select {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #cfd5df;
    border-radius: 10px;
    background: #fff;
    font-size: 13px;
    line-height: 1.4;
    font-family: inherit;
    color: var(--text);
}

.dc-picker-field--line select {
    min-height: 42px;
    font-size: 13px;
}

.dc-picker-field--product select {
    min-height: 42px;
}

.dc-picker-field select:focus {
    outline: none;
    border-color: #0f4c9c;
    box-shadow: 0 0 0 3px rgba(15, 76, 156, 0.12);
}

.dc-picker-field select:disabled {
    background: #f4f6f9;
    color: #9ca3af;
}

.dc-picker-field--line[hidden] {
    display: none !important;
}

.dc-main {
    min-width: 0;
    max-width: 100%;
}

.dc-search-box {
    border: 1px solid #e4e6eb;
    border-radius: 16px;
    padding: 1.25rem 1.25rem 1.4rem;
    text-align: left;
    margin-bottom: 1.75rem;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.dc-filter-top {
    border: 1px solid #edf0f5;
    border-radius: 12px;
    padding: 0.9rem 0.9rem 0.75rem;
    background: #fafbff;
    margin-bottom: 1rem;
}

.dc-search-box h2 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 0.3rem;
    color: var(--text);
}

.dc-search-box p {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 1rem;
}

.dc-filter-label {
    margin: 0 0 0.55rem;
    font-size: 12px;
    color: #4b5565;
    font-weight: 700;
}

.dc-cat-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 7px;
    margin: 0;
}

.dc-cat-chip {
    border: 1px solid #d9deea;
    border-radius: 8px;
    background: #fff;
    color: #445067;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 10px;
    cursor: pointer;
}

.dc-cat-chip:hover {
    border-color: #b8c1d2;
    color: #1f2937;
    background: #f7f9fc;
}

.dc-cat-chip.is-on {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.dc-search-row {
    display: flex;
    gap: 10px;
    max-width: 700px;
    margin: 0;
}

.dc-search-row input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid #cfd5df;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}

.dc-search-row input:focus {
    border-color: #0f4c9c;
    box-shadow: 0 0 0 3px rgba(15, 76, 156, 0.15);
}

.dc-search-row button {
    padding: 12px 22px;
    border-radius: 10px;
    background: #111827;
    color: #fff;
    border: none;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.dc-search-row button:hover {
    background: #000;
}

.dc-hint {
    font-size: 12px;
    color: #999;
    margin-top: 0.55rem;
    min-height: 18px;
}

.dc-hint-link {
    color: #1a6fbf;
    cursor: pointer;
    text-decoration: underline;
    margin-left: 4px;
}

.dc-screen {
    display: none;
}

.dc-screen.on {
    display: block;
}

.dc-result-label {
    font-size: 13px;
    color: #555;
    margin-bottom: 0.75rem;
}

.dc-result-label strong {
    color: var(--text);
}

.dc-model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 1rem;
}

.dc-model-card {
    border: 1px solid #e4e6eb;
    border-radius: 10px;
    padding: 0.9rem 1rem;
    cursor: pointer;
    background: var(--panel);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.dc-model-card:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.dc-model-card .mn {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 3px;
}

.dc-model-card .ms {
    font-size: 11px;
    color: #999;
    margin-bottom: 6px;
}

.dc-model-card .mc {
    font-size: 11px;
    color: #555;
}

.dc-driver-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.dc-back-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--panel);
}

.dc-back-btn:hover {
    border-color: #999;
}

.dc-back-btn svg {
    width: 14px;
    height: 14px;
}

.dc-model-pill {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    padding: 4px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg-soft);
}

.dc-chips {
    display: flex;
    gap: 6px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.dc-chip {
    font-size: 12px;
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: #555;
    cursor: pointer;
    background: var(--panel);
}

.dc-chip:hover {
    border-color: #999;
}

.dc-chip.on {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.dc-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem 1rem;
    border: 1px solid #e7e9ee;
    border-radius: 10px;
    background: var(--panel);
    margin-bottom: 10px;
    box-shadow: 0 1px 4px rgba(10, 20, 40, 0.04);
}

.dc-row-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dc-row-icon svg {
    width: 18px;
    height: 18px;
    color: #888;
}

.dc-row-body {
    flex: 1;
    min-width: 0;
}

.dc-row-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 3px;
}

.dc-row-meta {
    font-size: 11px;
    color: #999;
}

.dc-badge {
    display: inline-block;
    font-size: 10px;
    padding: 1px 7px;
    border-radius: 999px;
    background: #e8f0fb;
    color: #1a5bb5;
    margin-right: 5px;
}

.dc-badge.fw {
    background: #fff3e0;
    color: #b35e00;
}

.dc-badge.manual {
    background: #e6f4ea;
    color: #1e7e34;
}

.dc-badge.utility {
    background: #f3eeff;
    color: #5a3dbf;
}

.dc-dl-btn {
    padding: 7px 16px;
    border-radius: 7px;
    background: var(--primary);
    color: #fff;
    border: none;
    font-size: 12px;
    cursor: pointer;
    flex-shrink: 0;
    text-decoration: none;
    display: inline-block;
}

.dc-dl-btn:hover {
    background: #333;
}

.dc-dl-off {
    font-size: 12px;
    color: #bbb;
    flex-shrink: 0;
}

.dc-empty {
    text-align: center;
    padding: 3rem 1rem;
    font-size: 13px;
    color: #aaa;
}

.dc-empty-sub {
    font-size: 12px;
    color: #bbb;
}

.dc-board-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 0.75rem;
}

.dc-board-toolbar .dc-chips {
    margin-bottom: 0;
}

.dc-board-meta {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    white-space: nowrap;
}

.dc-board-table-wrap {
    border: 1px solid var(--line);
    border-radius: 12px;
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.dc-board-table-wrap[hidden],
.dc-board-empty[hidden] {
    display: none !important;
}

.dc-board-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 680px;
    table-layout: auto;
}

.dc-board-table thead th {
    text-align: left;
    padding: 12px 14px;
    background: #f8fafc;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    font-weight: 700;
    color: #4b5563;
    white-space: nowrap;
}

.dc-board-table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid #eef1f5;
    vertical-align: middle;
    color: var(--text);
}

.dc-board-table tbody tr:last-child td {
    border-bottom: none;
}

.dc-board-table tbody tr:hover {
    background: #fafbfc;
}

.dc-board-table .col-no {
    width: 52px;
    text-align: center;
    color: #9ca3af;
    font-weight: 600;
}

.dc-board-table .col-type {
    width: 88px;
    white-space: nowrap;
}

.dc-board-table .col-cat {
    display: none;
}

.dc-board-table .col-title {
    min-width: 120px;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.dc-board-table .col-model {
    min-width: 100px;
    max-width: 160px;
}

.dc-board-table .col-meta {
    min-width: 90px;
    font-size: 12px;
    color: #6b7280;
}

.dc-board-table .col-date {
    width: 88px;
    white-space: nowrap;
    font-size: 12px;
    color: #6b7280;
}

.dc-board-table .col-dl {
    width: 88px;
    min-width: 88px;
    text-align: center;
    white-space: nowrap;
    position: sticky;
    right: 0;
    background: #fff;
    box-shadow: -6px 0 8px rgba(15, 23, 42, 0.04);
}

.dc-board-table thead .col-dl {
    background: #f8fafc;
    z-index: 2;
}

.dc-board-table tbody tr:hover .col-dl {
    background: #fafbfc;
}

.dc-board-title {
    font-weight: 600;
    color: var(--text);
}

.dc-board-sub {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: #9ca3af;
    font-weight: 400;
}

.dc-board-dl {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 6px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.04em;
}

.dc-board-dl:hover {
    background: #333;
    color: #fff;
}

.dc-board-dl-off {
    font-size: 11px;
    color: #bbb;
}

.dc-board-empty {
    margin-top: 0;
}

@media (max-width: 900px) {
    .dc-layout {
        grid-template-columns: 1fr;
    }

    .dc-sidebar {
        position: static;
    }

    .dc-picker-cascade {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .dc-search-box {
        padding: 1.25rem 1rem;
    }

    .dc-picker-cascade {
        grid-template-columns: 1fr;
    }

    .dc-board-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* FAQ (support_faq.asp) */
.support-page--faq .faq-list {
    max-width: 820px;
}

.faq-item {
    margin: 0 0 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel);
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.1rem 1.25rem;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    color: var(--text);
    line-height: 1.45;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    align-self: flex-end;
    margin-top: -1.5rem;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--muted);
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e63946;
}

.faq-item-q {
    font-size: 1.05rem;
    padding-right: 2rem;
}

.faq-item-a {
    padding: 0 1.25rem 1.15rem;
    border-top: 1px solid var(--line);
    background: var(--bg-soft);
}

.faq-item-a p {
    margin: 1rem 0 0;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.65;
}

.faq-more-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 2rem;
    max-width: 820px;
}

/* 공지사항 */
.notice-board {
    margin-top: 28px;
    border-top: 2px solid #111;
    background: #fff;
}

.notice-table {
    width: 100%;
    border-collapse: collapse;
}

.notice-table th,
.notice-table td {
    padding: 16px 14px;
    border-bottom: 1px solid #e7e7e7;
    font-size: 14px;
}

.notice-table th {
    background: #fafafa;
    color: #555;
    font-weight: 700;
}

.notice-title-cell a {
    color: #111;
    font-weight: 700;
    text-decoration: none;
}

.notice-title-cell a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.notice-col-no,
.notice-col-date,
.notice-col-views {
    width: 110px;
    text-align: center;
    color: #666;
    white-space: nowrap;
}

.notice-pin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 8px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.notice-view {
    margin-top: 28px;
    background: #fff;
    border-top: 2px solid #111;
    border-bottom: 1px solid #ddd;
}

.notice-view-header {
    padding: 28px 26px 24px;
    border-bottom: 1px solid #e7e7e7;
}

.notice-view-header h1 {
    margin: 10px 0;
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -0.04em;
}

.notice-view-header p {
    margin: 0;
    color: #777;
    font-size: 14px;
}

.notice-view-body {
    min-height: 220px;
    padding: 34px 26px 44px;
    color: #333;
    font-size: 15px;
    line-height: 1.8;
}

.notice-attachment {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 26px 24px;
    padding: 14px 16px;
    border: 1px solid #e4e6eb;
    border-radius: 10px;
    background: #fafbfc;
    font-size: 14px;
}

.notice-attachment strong {
    color: #111;
}

.notice-attachment a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    word-break: break-all;
}

.notice-attachment a:hover {
    text-decoration: underline;
}

.notice-attachment span {
    margin-left: auto;
    color: #777;
    font-size: 12px;
}

.notice-view-actions {
    display: flex;
    justify-content: flex-end;
    padding: 18px 0 0;
}

.b2c-product-hub-icon--text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #fff;
    border-radius: 18px;
    font-size: 34px;
    font-weight: 800;
}

@media (max-width: 720px) {
    .notice-table thead {
        display: none;
    }

    .notice-table tr {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid #e7e7e7;
    }

    .notice-table td {
        display: block;
        width: auto;
        padding: 4px 12px;
        border: 0;
        text-align: left;
    }

    .notice-col-no,
    .notice-col-date,
    .notice-col-views {
        width: auto;
    }
}
