.archive-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.archive-container h1 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text);
}

.archive-empty {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    gap: 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 15px;
}

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

.archive-section-heading {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 8px 0;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.archive-list {
    display: flex;
    flex-direction: column;
}

.archive-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.archive-row:last-child {
    border-bottom: none;
}

.archive-row-info {
    flex: 1;
    min-width: 0;
}

.archive-row-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.archive-row-parent {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

.archive-row-date {
    font-size: 12px;
    color: var(--text-muted);
    opacity: 0.7;
    margin-top: 2px;
}

.archive-restore-btn {
    flex-shrink: 0;
    font-size: 13px;
    padding: 6px 14px;
}

@media (max-width: 640px) {
    .archive-container {
        max-width: 100%;
    }
}
