/* Log Reader - Neo-Brutalist Styles */

/* ============================================
   Unified Header with Expandable Search
   ============================================ */

.unified-header {
    border-bottom: var(--border-medium);
}

.unified-header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    height: auto;
    min-height: 64px;
    padding: 12px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.logo-icon img {
    width: 30px;
    height: 30px;
}

/* Search expandable section */
.search-expandable {
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

.search-expandable.expanded {
    opacity: 1;
    max-height: 80px;
}

.search-row {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 100%;
}

.search-spacer {
    flex: 1;
    min-width: 24px;
}

.search-input-wrapper {
    flex: 2;
    display: flex;
    align-items: center;
    flex: 0 1 500px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 2px;
    padding: 0 8px;
    transition: border-color var(--transition-fast);
}

.search-input-wrapper:hover {
    border-color: var(--accent);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 14px;
    padding: 8px 4px;
}

.search-input:focus {
    outline: none;
    box-shadow: none;
}

.clear-search-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.clear-search-btn:hover {
    color: var(--text-primary);
}

.clear-search-btn svg {
    width: 16px;
    height: 16px;
}

/* Search options */
.search-option.input-suffix {
    cursor: pointer;
    padding: 4px;
    border-radius: 2px;
    transition: background 0.2s ease;
}

.search-option.input-suffix:hover {
    background: var(--accent-glow);
}

.search-option.input-suffix input[type="checkbox"] {
    display: none;
}

.search-option.input-suffix .checkbox-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    background: var(--bg-primary);
    transition: all 0.2s ease;
}

.search-option.input-suffix .checkbox-custom svg {
    width: 14px;
    height: 14px;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.search-option.input-suffix input[type="checkbox"]:checked + .checkbox-custom {
    border-color: var(--accent);
    background: rgba(202, 200, 244, 0.2);
}

.search-option.input-suffix input[type="checkbox"]:checked + .checkbox-custom svg {
    color: var(--accent);
}

/* Progress bar in header */
.search-expandable .progress-bar {
    width: 100%;
    max-width: 700px;
    margin: 8px auto 0;
    height: 3px;
}

.search-expandable .progress-fill {
    height: 100%;
    background: var(--accent);
    transition: width 0.2s ease;
}

/* Side panel toggle button */
.toggle-panel-btn {
    flex-shrink: 0;
}

.toggle-panel-btn.active {
    background: rgba(202, 200, 244, 0.2);
    border-color: var(--accent);
}

/* Match Navigation in Header */
.match-navigation {
    display: flex;
    align-items: center;
    gap: 8px;
}

.match-navigation.hidden {
    display: none;
}

.match-navigation-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.match-navigation.no-results .search-nav-buttons {
    display: none;
}

.match-counter {
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--text-secondary);
}

.match-counter {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 1024px) {
    .unified-header-inner {
        grid-template-columns: 1fr auto;
        gap: 12px;
    }
    
    .search-expandable {
        order: 3;
        grid-column: 1 / -1;
    }
    
    .search-row {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .unified-header-inner {
        padding: 12px 16px;
    }
    
    .logo {
        font-size: 16px;
    }
    
    .logo-icon img {
        width: 26px;
        height: 26px;
    }
    
    .search-row {
        flex-wrap: wrap;
    }
    
    .search-input-wrapper {
        order: 1;
        flex: 1 1 100%;
    }
    
    .toggle-panel-btn {
        order: 3;
    }
}

@media (max-width: 480px) {
    .unified-header-inner {
        padding: 10px 12px;
    }
    
    .logo {
        font-size: 14px;
    }
    
    .logo-icon img {
        width: 24px;
        height: 24px;
    }
}

/* Layout */
.log-reader-layout {
    display: grid;
    gap: 24px;
}

/* Disable card-brutal hover transform effect */
.card-brutal {
    transition: border-color var(--transition-fast);
}

.card-brutal:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--accent);
}

/* Upload Section */
.upload-section {
    padding: 24px;
}

.upload-title {
    font-size: 18px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Drop Zone - Matching frame-grabber/gif-frame-grabber style */
.drop-zone {
    border: 2px dashed var(--border-color);
    border-radius: 2px;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
}

.drop-zone:hover {
    border-color: var(--accent);
    background: var(--accent-glow);
}

.drop-zone.drag-over {
    border-color: var(--accent);
    background: var(--accent-glow);
}

.drop-zone input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.drop-zone-text {
    text-align: center;
    pointer-events: none;
}

.drop-zone-text svg {
    width: 32px;
    height: 32px;
    margin: 0 auto 16px;
    color: var(--text-muted);
}

.drop-zone-text p {
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.drop-zone-text span {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-muted);
    opacity: 0.6;
}

.drop-zone-text small {
    color: var(--text-secondary);
    margin-top: 8px;
    display: block;
    font-family: var(--font-mono);
    font-size: 12px;
    opacity: 0.6;
}

/* Viewer Section */
.viewer-section {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 80px;
}

.hidden {
    display: none !important;
}

/* ============================================
   Viewer Container & Grid Layout (Container Queries)
   ============================================ */

.viewer-container {
    container-type: inline-size;
    container-name: viewer;
    overflow: visible;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
}

.viewer-grid {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.viewer-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

/* Search Side Panel - Default Hidden State */
.search-side-panel {
    position: sticky;
    top: 140px;
    width: 0;
    flex-shrink: 0;
    height: calc(100vh - 220px);
    max-height: calc(100vh - 220px);
    display: flex;
    flex-direction: column;
    border: 2px solid var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    transition: width 0.3s ease, opacity 0.3s ease;
}

/* Panel Visible State */
.search-side-panel:not(.hidden) {
    width: 320px;
    opacity: 1;
    border-color: var(--accent);
}

/* Panel Hidden State */
.search-side-panel.hidden {
    pointer-events: none;
}

.side-panel-header {
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--border-color);
}

.side-panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-primary);
}

.side-panel-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.side-panel-nav.hidden {
    display: none;
}

.match-counter {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
}

.search-nav-buttons {
    display: flex;
    gap: 4px;
}

.search-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
}

.search-nav-btn svg {
    width: 12px;
    height: 12px;
}

/* File Stats Bar */
.file-stats-bar {
    padding: 24px;
}

.file-stats-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.file-stats {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

.file-stat {
    display: flex;
    align-items: center;
    gap: 6px;
}

.file-stat-value {
    color: var(--text-primary);
    font-weight: 500;
}

.settings-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.settings-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.lines-per-page-select {
    width: auto;
    padding: 8px 12px;
}

/* Search Navigation */
.search-nav {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.search-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.match-counter {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.search-nav-buttons {
    display: flex;
    gap: 8px;
}

.search-nav-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
}

/* Search Results Panel */
.search-results-panel {
    padding: 0;
    overflow: hidden;
}

.search-results-header {
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-results-header:hover {
    background: var(--accent-glow);
}

.search-results-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-primary);
}

.search-results-list {
    border-top: 1px solid var(--border-color);
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.search-results-items {
    overflow-y: auto;
    height: 100%;
    will-change: scroll-position;
}

.loading-more-indicator {
    text-align: center;
    padding: 12px;
    color: var(--text-secondary);
    font-size: 12px;
    font-family: var(--font-mono);
}

.loading-more-indicator.hidden {
    display: none;
}

.search-result-item {
    padding: 12px 24px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-result-item:hover {
    background: var(--accent-glow);
}

.search-result-item.active {
    background: rgba(202, 200, 244, 0.15);
    border-left: 3px solid var(--accent);
}

.search-result-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-result-line-num {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    background: rgba(202, 200, 244, 0.2);
    padding: 2px 8px;
    border-radius: 2px;
}

.search-result-content {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.6;
    word-break: break-all;
}

.search-result-content .line-text {
    white-space: pre-wrap;
}

.search-result-content .search-highlight {
    background: rgba(202, 200, 244, 0.4);
    padding: 1px 4px;
    border-radius: 2px;
    font-weight: 500;
}

.expand-indicator {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
    cursor: pointer;
    margin-top: 4px;
    padding: 2px 0;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.expand-indicator:hover {
    opacity: 1;
    text-decoration: underline;
}

.search-result-item.truncated .expand-indicator {
    display: inline-block;
}

.search-result-item.expanded .expand-indicator {
    display: inline-block;
}

.btn-load-more {
    width: 100%;
    padding: 12px;
    border-top: 1px solid var(--border-color);
    border-radius: 0;
}

/* Current Match Highlight in Log */
.log-line.current-match {
    background: rgba(202, 200, 244, 0.2);
    border-left: 3px solid var(--accent);
}

.log-line.current-match .line-number {
    color: var(--accent);
    font-weight: 600;
}

/* Log Container */
.log-card {
    padding: 0;
    margin-bottom: 70px;
}

.log-container {
    background: var(--bg-primary);
    border: 2px solid var(--accent);
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.5;
    min-height: 60px;
    max-height: 60px;
    position: relative;
    transition: max-height 0.4s ease;
    overflow: auto;
}

.log-container.expanded {
    max-height: none;
}

.log-content {
    padding: 8px 0;
}

/* Log Lines */
.log-line {
    display: flex;
    padding: 2px 8px;
    border-bottom: 1px solid rgba(202, 200, 244, 0.1);
}

.log-line:nth-child(even) {
    background: rgba(202, 200, 244, 0.03);
}

.log-line:hover {
    background: rgba(202, 200, 244, 0.08);
}

.line-number {
    color: var(--text-secondary);
    min-width: 70px;
    text-align: right;
    padding-right: 12px;
    user-select: none;
    flex-shrink: 0;
}

.line-content {
    color: var(--text-primary);
    white-space: pre-wrap;
    word-break: break-all;
    flex: 1;
}

/* Search Highlight */
.search-highlight {
    background: rgba(202, 200, 244, 0.3);
    padding: 1px 2px;
    border-radius: 2px;
}

/* Loading Overlay */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 5, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.loading-content {
    text-align: center;
}

.loading-title {
    font-size: 16px;
    margin-bottom: 8px;
}

.loading-text {
    color: var(--text-secondary);
}

/* Pagination */
.pagination-card {
    padding: 16px 24px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-top: 1px solid var(--border-color);
    background: var(--bg-primary);
}

.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.pagination-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    font-size: 12px;
}

.pagination-btn svg {
    width: 12px;
    height: 12px;
}

.page-input-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.page-input {
    width: 60px;
    padding: 6px 8px;
    text-align: center;
    font-size: 12px;
    -moz-appearance: textfield;
}

.page-input::-webkit-outer-spin-button,
.page-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.page-total {
    color: var(--text-secondary);
    font-size: 12px;
}

.page-info {
    color: var(--text-secondary);
    font-size: 12px;
    white-space: nowrap;
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 48px;
    color: var(--text-secondary);
}

.empty-state-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* Download Button */
.download-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
}

.download-btn svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   Responsive - Container Queries
   ============================================ */

/* Large screens (> 1024px): Standard sticky panel */
@container viewer (min-width: 1025px) {
    .viewer-container {
        flex-direction: row;
        gap: 24px;
    }

    .search-side-panel {
        position: sticky;
        top: 140px;
        width: 0;
        height: calc(100vh - 220px);
        max-height: calc(100vh - 220px);
    }

    .search-side-panel:not(.hidden) {
        width: 320px;
    }
}

/* Medium screens (900px - 1024px): Smaller sticky panel */
@container viewer (min-width: 900px) and (max-width: 1024px) {
    .viewer-container {
        flex-direction: row;
        gap: 20px;
    }

    .search-side-panel {
        position: sticky;
        top: 140px;
        width: 0;
        height: calc(100vh - 220px);
        max-height: calc(100vh - 220px);
    }

    .search-side-panel:not(.hidden) {
        width: 280px;
    }
}

/* Small screens (< 900px): Fixed overlay panel */
@container viewer (max-width: 899px) {
    .viewer-container {
        flex-direction: column;
    }

    .viewer-grid {
        width: 100%;
    }

    .search-side-panel {
        position: fixed;
        top: auto;
        bottom: 70px;
        right: 16px;
        left: 16px;
        width: 0;
        max-width: 400px;
        height: auto;
        max-height: 300px;
        z-index: 100;
        border: 2px solid var(--accent);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
        opacity: 0;
    }

    .search-side-panel:not(.hidden) {
        width: auto;
        left: 16px;
        right: 16px;
        max-width: none;
        opacity: 1;
    }

    .pagination-card {
        left: 0;
        right: 0;
    }
}

@media (max-width: 768px) {
    .drop-zone {
        min-height: 200px;
    }

    .file-stats-bar-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .file-stats {
        flex-wrap: wrap;
    }

    .pagination-controls {
        justify-content: center;
    }

    .page-info {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    .log-container.expanded {
        max-height: none;
    }

    .search-header {
        padding: 12px 16px;
    }

    .search-input-row {
        flex-wrap: wrap;
    }

    .viewer-main {
        padding: 12px 0;
    }
}

@media (max-width: 480px) {
    .drop-zone {
        min-height: 180px;
    }

    .drop-zone-text svg {
        width: 28px;
        height: 28px;
        margin-bottom: 12px;
    }

    .drop-zone-text p {
        font-size: 14px;
    }

    .drop-zone-text span,
    .drop-zone-text small {
        font-size: 12px;
    }

    .search-side-panel {
        right: 8px;
        left: 8px;
        bottom: 60px;
        max-height: 250px;
    }
}

/* ============================================
    One Dark Syntax Highlighting
    ============================================ */

/* Token Colors - One Dark Theme */
.token-error { 
    color: #E06C75; 
    font-weight: 600; 
}

/* ============================================
   Syntax Highlighting Toggle
   ============================================ */

.highlight-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.highlight-toggle:hover {
    border-color: var(--accent);
    background: var(--accent-glow);
}

.highlight-toggle.active {
    background: rgba(202, 200, 244, 0.2);
    border-color: var(--accent);
    color: var(--text-primary);
}

.highlight-toggle.active svg {
    color: var(--accent);
}

.highlight-toggle svg {
    width: 14px;
    height: 14px;
    transition: color 0.2s ease;
}

/* Smooth transitions for highlighting toggle */
.log-line, 
.line-content {
    transition: background 0.2s ease, color 0.15s ease;
}

/* When highlighting is disabled */
.syntax-highlighting-disabled .log-line {
    background: none !important;
}

.syntax-highlighting-disabled .log-line:hover {
    background: rgba(202, 200, 244, 0.08) !important;
}

.syntax-highlighting-disabled .token-error,
.syntax-highlighting-disabled .token-warning,
.syntax-highlighting-disabled .token-info,
.syntax-highlighting-disabled .token-debug,
.syntax-highlighting-disabled .token-trace,
.syntax-highlighting-disabled .token-date,
.syntax-highlighting-disabled .token-string,
.syntax-highlighting-disabled .token-constant,
.syntax-highlighting-disabled .token-url,
.syntax-highlighting-disabled .token-exception,
.syntax-highlighting-disabled .token-json-key,
.syntax-highlighting-disabled .token-json-string,
.syntax-highlighting-disabled .token-json-number,
.syntax-highlighting-disabled .token-json-boolean {
    color: inherit;
    font-weight: inherit;
    text-decoration: inherit;
}

/* Download Modal */
.download-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.download-modal.hidden {
    display: none;
}

.download-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.85);
}

.download-content {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: var(--bg-surface);
    border: 2px solid var(--accent);
    box-shadow: 8px 8px 0 var(--border-color);
}

.download-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.download-header .section-title {
    font-size: 18px;
    margin: 0;
}

.download-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.15s ease;
}

.download-close:hover {
    background: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
}

.download-body {
    padding: 20px;
}

.download-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.download-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.download-input-group .label-brutal {
    margin-bottom: 0;
    font-size: 12px;
}

.download-input-group .input-brutal {
    font-family: var(--font-mono);
}

.download-preview {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 16px 0;
}

.download-progress {
    margin-bottom: 16px;
}

.download-progress.hidden {
    display: none;
}

.download-progress-bar {
    height: 4px;
    background: var(--bg-primary);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.download-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--accent);
    transition: width 0.2s ease;
}

.download-progress-text {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
}

.download-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(152, 195, 121, 0.1);
    border: 1px solid #98C379;
    color: #98C379;
    font-family: var(--font-mono);
    font-size: 13px;
}

.download-success.hidden {
    display: none;
}

.download-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-primary);
}

.download-footer .btn-primary {
    width: 100%;
    justify-content: center;
}

@media (max-width: 440px) {
    .download-inputs {
        grid-template-columns: 1fr;
    }
}
