/* NVIDIA memory straps parser — main panel only. Sidebars stay empty. */

.nv-straps-tool .viewer-panel {
    padding: 20px;
    overflow: auto;
}

.nv-straps-tool .main-placeholder--nv-straps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
    background: transparent;
    border: 0;
    overflow: visible;
    color: var(--text-primary);
}

.nv-straps-lead {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95em;
    line-height: 1.5;
}

.nv-straps-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.nv-straps-form input[type="file"] {
    flex: 1 1 220px;
    min-width: 0;
    max-width: 100%;
    padding: 8px;
    background: var(--control-bg);
    border: 1px solid var(--control-border);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95em;
}

@media (max-width: 600px) {
    .nv-straps-form {
        flex-direction: column;
        align-items: stretch;
    }

    .nv-straps-form input[type="file"],
    .nv-straps-form .btn {
        width: 100%;
    }
}

.nv-straps-form .btn {
    flex-shrink: 0;
}

.nv-straps-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: nv-straps-spin 0.6s linear infinite;
    vertical-align: -2px;
    margin-right: 6px;
}

@keyframes nv-straps-spin {
    to { transform: rotate(360deg); }
}

.nv-straps-error {
    background: var(--danger-bg);
    border: 1px solid var(--danger-color);
    color: var(--danger-color);
    padding: 12px 14px;
    border-radius: 6px;
    line-height: 1.45;
}

.nv-straps-result {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nv-straps-meta {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    font-size: 0.9em;
    color: var(--text-secondary);
}

.nv-straps-meta strong {
    color: var(--text-heading);
    font-weight: 600;
}

.nv-straps-empty {
    margin: 0;
    color: var(--text-secondary);
}

.nv-straps-table-wrap {
    overflow-x: auto;
}

.nv-straps-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
}

.nv-straps-table th,
.nv-straps-table td {
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid var(--panel-border);
}

.nv-straps-table th {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.nv-straps-table tbody tr:hover td {
    background: rgba(74, 158, 255, 0.14);
}

body.light-theme .nv-straps-table tbody tr:hover td {
    background: rgba(37, 99, 235, 0.12);
}

.nv-straps-tag {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    font-size: 0.85em;
    background: var(--control-bg);
    color: var(--text-primary);
}

.nv-straps-tag.tag-single {
    background: #14532d;
    color: #86efac;
}

.nv-straps-tag.tag-clam {
    background: #7c2d12;
    color: #fdba74;
}

.nv-straps-foot {
    margin: 4px 0 0;
    color: var(--text-secondary);
    font-size: 0.8em;
}

.info-section h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
    font-size: 1.05em;
    border-bottom: 2px solid var(--accent-color-dim);
    padding-bottom: 6px;
    font-weight: 600;
}

.sidebar-nav a {
    font-size: 1em;
}

.sidebar-nav a img {
    vertical-align: text-bottom;
}

