/* N-gram Automation Tool - Dashboard Theme */

:root {
    --primary-green: #22c55e;
    --primary-green-light: #dcfce7;
    --primary-orange: #f97316;
    --primary-orange-light: #ffedd5;
    --primary-blue: #3b82f6;
    --primary-blue-light: #dbeafe;
    --primary-purple: #8b5cf6;
    --primary-purple-light: #ede9fe;
    --primary-red: #ef4444;
    --primary-red-light: #fee2e2;
    --primary-yellow: #eab308;
    --primary-yellow-light: #fef9c3;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-sidebar: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --sidebar-width: 260px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #c084fc 0%, #818cf8 50%, #60a5fa 100%);
    min-height: 100vh;
    color: var(--text-primary);
}

/* App Container */
.app-container {
    display: flex;
    min-height: 100vh;
    padding: 16px;
    gap: 16px;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-sidebar);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
}

.sidebar-header {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

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

.logo-img {
    max-width: 100%;
    width: 180px;
    height: auto;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.logo-svg {
    flex-shrink: 0;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.logo-text-full {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    letter-spacing: -0.5px;
}

.logo-prefix {
    color: #a855f7;
    font-weight: 700;
}

.logo-main {
    color: var(--text-primary);
    font-weight: 700;
}

.logo-suffix {
    color: var(--text-secondary);
    font-weight: 500;
}

.sidebar-nav {
    flex: 1;
}

.nav-section {
    margin-bottom: 24px;
}

.nav-section-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    padding: 0 12px;
    margin-bottom: 8px;
    display: block;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-bottom: 2px;
    cursor: pointer;
}

.nav-item:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.nav-item.active {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.nav-item svg {
    flex-shrink: 0;
}

.sidebar-footer {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.cta-card {
    background: linear-gradient(135deg, #ecfccb 0%, #d9f99d 100%);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.cta-card:hover {
    transform: translateY(-2px);
}

.cta-icon {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: var(--primary-green);
}

.cta-title {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

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

/* Main Content */
.main-content {
    flex: 1;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

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

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.breadcrumb-separator {
    color: var(--text-muted);
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 500;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
}

.search-box svg {
    color: var(--text-muted);
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    width: 200px;
    color: var(--text-primary);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

/* Dashboard Content */
.dashboard-content {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

.section-content {
    display: block;
}

.page-title-section {
    margin-bottom: 32px;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

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

/* Section Title */
.section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

/* Upload Section */
.upload-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.upload-box {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 48px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-box:hover,
.upload-box.dragover {
    border-color: var(--primary-green);
    background: var(--primary-green-light);
}

.upload-icon {
    color: var(--primary-green);
    margin-bottom: 16px;
}

.upload-box h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.upload-box p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.file-info {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
}

.file-info.success {
    color: var(--primary-green);
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-primary {
    background: var(--text-primary);
    color: white;
}

.btn-primary:hover {
    background: #374151;
}

.btn-success {
    background: var(--primary-green);
    color: white;
}

.btn-success:hover {
    background: #16a34a;
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
}

.btn-download {
    background: linear-gradient(135deg, var(--primary-green) 0%, #059669 100%);
    color: white;
    padding: 14px 28px;
    font-size: 15px;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-archive {
    background: linear-gradient(135deg, var(--primary-purple) 0%, #7c3aed 100%);
    color: white;
    padding: 14px 28px;
    font-size: 15px;
}

.btn-archive:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.btn-asin-download {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ea580c 100%);
    color: white;
    padding: 14px 28px;
    font-size: 15px;
}

.btn-asin-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.btn-danger {
    background: var(--primary-red);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

/* Process Section */
.process-section {
    text-align: center;
    margin-top: 24px;
}

/* Progress Section */
.progress-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
}

.progress-card {
    text-align: center;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.progress-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.progress-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Results Section */
.results-header {
    margin-bottom: 24px;
}

.results-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-green);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.stats-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.stat-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

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

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-chart {
    width: 80px;
    height: 40px;
}

.stat-chart.green {
    color: var(--primary-green);
}

.stat-chart.orange {
    color: var(--primary-orange);
}

.stat-chart.blue {
    color: var(--primary-blue);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon.green {
    background: var(--primary-green-light);
    color: var(--primary-green);
}

.stat-icon.blue {
    background: var(--primary-blue-light);
    color: var(--primary-blue);
}

.stat-icon.purple {
    background: var(--primary-purple-light);
    color: var(--primary-purple);
}

.stat-icon.orange {
    background: var(--primary-orange-light);
    color: var(--primary-orange);
}

/* Metrics Row */
.metrics-row {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.metric-card {
    flex: 1;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.metric-card.large {
    padding: 24px;
}

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

.metric-value {
    font-size: 24px;
    font-weight: 700;
}

.metric-value.green {
    color: var(--primary-green);
}

.metric-value.red {
    color: var(--primary-red);
}

.metric-value.blue {
    color: var(--primary-blue);
}

.metric-value.purple {
    color: var(--primary-purple);
}

.metric-subtext {
    font-size: 12px;
    color: var(--text-muted);
}

/* Campaigns Section */
.campaigns-section {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.section-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.section-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.campaigns-list {
    max-height: 200px;
    overflow-y: auto;
}

.campaigns-list ul {
    list-style: none;
}

.campaigns-list li {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-secondary);
}

.campaigns-list li:last-child {
    border-bottom: none;
}

/* Download Section */
.download-section {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding-top: 16px;
    flex-wrap: wrap;
}

/* Error Section */
.error-card {
    text-align: center;
    padding: 48px;
}

.error-icon {
    color: #ef4444;
    margin-bottom: 16px;
}

.error-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #ef4444;
    margin-bottom: 8px;
}

.error-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

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

.empty-state svg {
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Analytics Section */
.analytics-overview,
.analytics-financial,
.analytics-campaigns,
.analytics-distribution {
    margin-bottom: 32px;
}

.table-container {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.analytics-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.analytics-table th,
.analytics-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.analytics-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
}

.analytics-table tr:last-child td {
    border-bottom: none;
}

.analytics-table tr:hover td {
    background: var(--bg-secondary);
}

/* Distribution Grid */
.distribution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.distribution-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
}

.distribution-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.distribution-bar {
    display: flex;
    height: 24px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-secondary);
    margin-bottom: 12px;
}

.distribution-bar .bar-segment {
    height: 100%;
    transition: width 0.3s ease;
}

.distribution-bar .bar-mono {
    background: var(--primary-green);
}

.distribution-bar .bar-bi {
    background: var(--primary-purple);
}

.distribution-bar .bar-tri {
    background: var(--primary-orange);
}

.distribution-legend {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.legend-dot.green {
    background: var(--primary-green);
}

.legend-dot.purple {
    background: var(--primary-purple);
}

.legend-dot.orange {
    background: var(--primary-orange);
}

/* Archive Section */
.archive-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.archive-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.archive-item:hover {
    border-color: var(--primary-purple);
    box-shadow: var(--shadow-md);
}

.archive-item-info {
    flex: 1;
}

.archive-item-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.archive-item-meta {
    font-size: 13px;
    color: var(--text-secondary);
}

.archive-item-stats {
    display: flex;
    gap: 24px;
    margin-right: 24px;
}

.archive-stat {
    text-align: center;
}

.archive-stat-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.archive-stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.archive-item-actions {
    display: flex;
    gap: 8px;
}

/* Documentation Section */
.documentation-content {
    max-width: 900px;
}

.doc-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.doc-section:last-child {
    border-bottom: none;
}

.doc-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.doc-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 12px;
}

.doc-section p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.doc-section ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.doc-section li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* Doc Cards */
.doc-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.doc-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.doc-card-header {
    padding: 16px;
    color: white;
}

.doc-card-header.green {
    background: linear-gradient(135deg, var(--primary-green) 0%, #059669 100%);
}

.doc-card-header.purple {
    background: linear-gradient(135deg, var(--primary-purple) 0%, #7c3aed 100%);
}

.doc-card-header.orange {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ea580c 100%);
}

.doc-card-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: white;
}

.doc-card-body {
    padding: 16px;
}

.doc-card-body p {
    font-size: 14px;
    margin-bottom: 12px;
}

.doc-card-body ul {
    margin-left: 16px;
    margin-bottom: 12px;
}

.doc-card-body li {
    font-size: 13px;
    font-family: monospace;
    color: var(--text-primary);
    background: var(--bg-secondary);
    padding: 2px 6px;
    margin-bottom: 4px;
    border-radius: 3px;
    display: inline-block;
}

.doc-tip {
    font-size: 13px !important;
    color: var(--primary-green) !important;
    font-style: italic;
}

/* Doc Steps */
.doc-steps {
    margin-top: 20px;
}

.doc-step {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.step-number {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-blue) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step-content p {
    margin-bottom: 8px;
}

.step-content ul {
    margin-left: 20px;
}

/* Doc Tables */
.doc-table-container {
    overflow-x: auto;
    margin: 16px 0;
}

.doc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.doc-table th,
.doc-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.doc-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
}

.doc-table tr:last-child td {
    border-bottom: none;
}

/* Doc Warning Cards */
.doc-warning-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.doc-warning-card {
    padding: 16px;
    border-radius: var(--radius-md);
}

.doc-warning-card.red {
    background: var(--primary-red-light);
    border-left: 4px solid var(--primary-red);
}

.doc-warning-card.orange {
    background: var(--primary-orange-light);
    border-left: 4px solid var(--primary-orange);
}

.doc-warning-card.yellow {
    background: var(--primary-yellow-light);
    border-left: 4px solid var(--primary-yellow);
}

.doc-warning-card.blue {
    background: var(--primary-blue-light);
    border-left: 4px solid var(--primary-blue);
}

.doc-warning-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.doc-warning-card p {
    font-size: 13px;
    margin: 0;
}

/* Doc List */
.doc-list {
    list-style: none;
    margin-left: 0 !important;
}

.doc-list li {
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.doc-list li strong {
    color: var(--text-primary);
}

/* Doc FAQ */
.doc-faq {
    margin-top: 16px;
}

.faq-item {
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

.faq-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.faq-item p {
    font-size: 14px;
    margin: 0;
}

/* Responsive */
@media (max-width: 1200px) {
    .stats-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .doc-card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .sidebar {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .doc-warning-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .app-container {
        padding: 8px;
    }
    
    .dashboard-content {
        padding: 16px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .metrics-row {
        flex-direction: column;
    }
    
    .upload-box {
        padding: 32px 16px;
    }
    
    .download-section {
        flex-direction: column;
    }
    
    .archive-item {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .archive-item-stats {
        margin-right: 0;
    }
    
    .archive-item-actions {
        width: 100%;
    }
    
    .archive-item-actions .btn {
        flex: 1;
    }
}
