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

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

.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-wrap {
    max-width: 920px;
}

.dc-search-box {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 2rem 2rem 1.75rem;
    text-align: center;
    margin-bottom: 1.75rem;
    background: var(--bg-soft);
}

.dc-search-box h2 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--text);
}

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

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

.dc-search-row--code {
    max-width: 560px;
}

.dc-search-row--code input {
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dc-search-or {
    margin: 0.85rem 0 0.65rem;
    font-size: 13px;
    color: #bbb;
    text-align: center;
}

.dc-search-row--combo {
    flex-wrap: wrap;
    justify-content: center;
}

.dc-search-row--steps {
    max-width: 100%;
}

.dc-search-row--steps select {
    min-width: 0;
    flex: 1 1 220px;
    min-height: 52px;
}

.dc-search-row--steps #dc-model {
    flex: 2 1 280px;
}

.dc-suffix-select[hidden] {
    display: none !important;
}

.dc-search-row input,
.dc-search-row select {
    flex: 1;
    min-width: 200px;
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid #d0d0d0;
    border-radius: 10px;
    font-size: 17px;
    line-height: 1.35;
    outline: none;
    font-family: inherit;
    background: #fff;
    color: var(--text);
}

.dc-search-row select:disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.dc-search-row input:focus,
.dc-search-row select:focus {
    border-color: var(--primary);
}

.dc-search-row button {
    min-height: 52px;
    padding: 14px 24px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    border: none;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

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

.dc-hint {
    font-size: 15px;
    line-height: 1.5;
    color: #666;
    margin-top: 0.85rem;
    min-height: 22px;
}

.dc-selected-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 16px;
    margin-bottom: 1rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel);
    position: sticky;
    top: 72px;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.dc-selected-info {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 10px;
    min-width: 0;
}

.dc-selected-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #999;
}

.dc-selected-info strong {
    font-size: 15px;
    color: var(--text);
}

.dc-selected-summary {
    font-size: 13px;
    color: var(--muted);
}

.dc-change-model-btn {
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--bg-soft);
    color: #444;
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
    flex-shrink: 0;
}

.dc-change-model-btn:hover {
    border-color: #999;
    color: var(--text);
}

.dc-selected-bar__info {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 10px;
    min-width: 0;
}

.dc-selected-bar__label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.dc-selected-bar__count {
    font-size: 13px;
    color: var(--muted);
}

.dc-selected-bar__change {
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--bg-soft);
    color: #444;
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
    flex-shrink: 0;
}

.dc-selected-bar__change:hover {
    border-color: #999;
    color: var(--text);
}

.dc-driver-group {
    margin-bottom: 1.25rem;
}

.dc-driver-group__title {
    margin: 0 0 0.5rem;
    font-size: 15px;
    font-weight: 700;
    color: #444;
}

.dc-install-guide {
    margin-bottom: 1rem;
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    background: #f8fafc;
    padding: 0.65rem 1rem;
    font-size: 14px;
    color: #555;
}

.dc-install-guide summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
    list-style: none;
}

.dc-install-guide summary::-webkit-details-marker {
    display: none;
}

.dc-install-guide ol {
    margin: 0.65rem 0 0.25rem 1.2rem;
    padding: 0;
    line-height: 1.65;
}

.dc-chips--os {
    margin-top: -0.35rem;
}

.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-pick {
    margin-top: 1rem;
    text-align: left;
}

.dc-model-pick-title {
    margin: 0 0 0.75rem;
    font-size: 17px;
    font-weight: 600;
    color: #333;
    line-height: 1.45;
}

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

.dc-model-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.1rem 1.15rem;
    cursor: pointer;
    background: var(--panel);
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
    text-align: left;
    width: 100%;
}

button.dc-model-card {
    appearance: none;
    -webkit-appearance: none;
}

.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: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5px;
    letter-spacing: 0.02em;
}

.dc-model-card .ms {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4;
}

.dc-model-card .mc {
    font-size: 14px;
    color: #444;
    font-weight: 500;
}

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

.dc-chip {
    font-size: 14px;
    padding: 7px 16px;
    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-group {
    margin-bottom: 1.25rem;
}

.dc-group-title {
    margin: 0 0 0.5rem;
    font-size: 15px;
    font-weight: 700;
    color: #444;
}

.dc-group-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dc-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.9rem 1rem;
    border: 1px solid #eee;
    border-radius: 10px;
    background: var(--panel);
    margin-bottom: 0;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.dc-row--link {
    cursor: pointer;
}

.dc-row--link:hover {
    border-color: #ccc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.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: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.dc-row-meta {
    font-size: 13px;
    color: #888;
}

.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: 9px 18px;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    border: none;
    font-size: 14px;
    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: 16px;
    line-height: 1.55;
    color: #888;
}

.dc-empty-sub {
    font-size: 15px;
    color: #999;
}

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

    .dc-search-row--code,
    .dc-search-row--steps select {
        min-width: 100%;
        flex: 1 1 100%;
    }

    .dc-search-row--code button {
        flex: 1 1 100%;
    }

    .dc-selected-bar {
        top: 64px;
    }

    .dc-row {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .dc-dl-btn {
        width: 100%;
        text-align: center;
        margin-top: 4px;
    }

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

    .dc-search-row input,
    .dc-search-row select,
    .dc-search-row button {
        font-size: 16px;
        min-height: 48px;
    }
}
